|
1 | 1 | Feature: Client connects using Draft 17 |
2 | | - As an autobahn client |
3 | | - I want to connect to a websocket server using draft 17 |
4 | | - So that I can send and receive messages |
| 2 | + As an autobahn client |
| 3 | + I want to connect to a websocket server using draft 17 |
| 4 | + So that I can send and receive messages |
5 | 5 |
|
6 | | - Scenario Outline: Client connection parameters are valid |
7 | | - Given the Autobahn Server is running using Draft_<draft> on port <port> |
8 | | - And protocol is <protocol> |
9 | | - And the host is <host> |
10 | | - And the port is <port> |
11 | | - And the query string is <query> |
12 | | - And the draft is Draft_<draft> |
13 | | - When the client connects to the server |
14 | | - Then the server response should contain <method> |
15 | | - And the response's query should contain <query> |
16 | | - And the response's http version should contain <http_version> |
17 | | - And the response's handshake should contain <handshake> |
18 | | - And the response's host should contain <host> |
19 | | - And the response's websocket key should contain <websocket_key> |
20 | | - And the response's websocket version should contain <websocket_version> |
21 | | - And the response's upgraded protocol should contain <upgraded_protocol> |
| 6 | + Scenario Outline: Client connection parameters are valid |
| 7 | + Given the Autobahn Server is running using Draft_<draft> on port <port> |
| 8 | + And protocol is <protocol> |
| 9 | + And the host is <host> |
| 10 | + And the port is <port> |
| 11 | + And the path is <path> |
| 12 | + And the query string is <query> |
| 13 | + And the draft is Draft_<draft> |
| 14 | + When the client connects to the server |
| 15 | + Then the server response should contain <method> |
| 16 | + And the response's query should contain <query> |
| 17 | + And the response's http version should contain <http_version> |
| 18 | + And the response's handshake should contain <handshake> |
| 19 | + And the response's host should contain <host> |
| 20 | + And the response's websocket key should contain <websocket_key> |
| 21 | + And the response's websocket version should contain <websocket_version> |
| 22 | + And the response's upgraded protocol should contain <upgraded_protocol> |
22 | 23 |
|
23 | | - Examples: |
24 | | - | protocol | host | port | query | draft | method | http_version | handshake | websocket_key | websocket_version | upgraded_protocol | |
25 | | - | ws | localhost | 9003 | case=1&agent=tootallnate/websocket | 17 | GET | HTTP/1.1 | Upgrade | Sec-WebSocket-Key | Sec-WebSocket-Version | websocket | |
| 24 | + Examples: |
| 25 | + | protocol | host | port | path | query | draft | method | http_version | handshake | websocket_key | websocket_version | upgraded_protocol | |
| 26 | + | ws | localhost | 9003 | /websocket | case=1&agent=tootallnate/websocket | 17 | GET | HTTP/1.1 | Upgrade | Sec-WebSocket-Key | Sec-WebSocket-Version | websocket | |
0 commit comments