ServerFrameworkServer/6.9 - Case 2.10 : Pass - 4 ms @ 2017-11-02T08:50:57Z
Case Description
Send 10 Pings with payload.
Case Expectation
Pongs for our Pings with all the payloads. Note: This is not required by the Spec .. but we check for this behaviour anyway. Clean close with normal code.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('pong', '0x7061796c6f61642d30'), ('pong', '0x7061796c6f61642d31'), ('pong', '0x7061796c6f61642d32'), ('pong', '0x7061796c6f61642d33'), ('pong', '0x7061796c6f61642d34'), ('pong', '0x7061796c6f61642d35'), ('pong', '0x7061796c6f61642d36'), ('pong', '0x7061796c6f61642d37'), ('pong', '0x7061796c6f61642d38'), ('pong', '0x7061796c6f61642d39')]}
Observed:
[('pong', '0x7061796c6f61642d30'), ('pong', '0x7061796c6f61642d31'), ('pong', '0x7061796c6f61642d32'), ('pong', '0x7061796c6f61642d33'), ('pong', '0x7061796c6f61642d34'), ('pong', '0x7061796c6f61642d35'), ('pong', '0x7061796c6f61642d36'), ('pong', '0x7061796c6f61642d37'), ('pong', '0x7061796c6f61642d38'), ('pong', '0x7061796c6f61642d39')]
Case Closing Behavior
Connection was properly closed (OK)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.5.5-0.5.14 Host: localhost:5050 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: O9eOZ7fLlUT77sOLcE1qyg== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: u2GehBT1O4CyPGTXcIiz4VqZ2OI=
Key | Value | Description |
isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | True | True, iff I have initiated closing handshake (that is, did send close first). |
failedByMe | False | True, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP. |
droppedByMe | False | True, iff I dropped the TCP connection. |
wasClean | True | True, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
wasNotCleanReason | None | When wasClean == False, the reason what happened. |
wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish in time, this gets True. |
wasCloseHandshakeTimeout | False | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
localCloseCode | 1000 | The close code I sent in close frame (if any). |
localCloseReason | None | The close reason I sent in close frame (if any). |
remoteCloseCode | 1000 | The close code the peer sent me in close frame (if any). |
remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
Chop Size | Count | Octets |
4 | 1 | 4 |
33 | 1 | 33 |
77 | 1 | 77 |
129 | 1 | 129 |
Total | 4 | 243 |
Chop Size | Count | Octets |
8 | 1 | 8 |
15 | 10 | 150 |
240 | 1 | 240 |
Total | 12 | 398 |
Opcode | Count |
8 | 1 |
10 | 10 |
Total | 11 |
Opcode | Count |
8 | 1 |
9 | 10 |
Total | 11 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
352d302e352e31340d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=95728afd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d30
003 TX OCTETS: 898995728afde513f391fa13eed0a5
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=5459d700, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d31
005 TX OCTETS: 89895459d7002438ae6c3b38b32d65
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=e8d0b78a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d32
007 TX OCTETS: 8989e8d0b78a98b1cee687b1d3a7da
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=dee64639, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d33
009 TX OCTETS: 8989dee64639ae873f55b1872214ed
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=84f1d38d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d34
011 TX OCTETS: 898984f1d38df490aae1eb90b7a0b0
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=7cc59562, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d35
013 TX OCTETS: 89897cc595620ca4ec0e13a4f14f49
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=bfbeee7a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d36
015 TX OCTETS: 8989bfbeee7acfdf9716d0df8a5789
016 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=fcde0b74, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d37
017 TX OCTETS: 8989fcde0b748cbf721893bf6f59cb
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=a04843cc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d38
019 TX OCTETS: 8989a04843ccd0293aa0cf2927e198
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=b30ce490, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x7061796c6f61642d39
021 TX OCTETS: 8989b30ce490c36d9dfcdc6d80bd8a
022 CLOSE CONNECTION AFTER 3.000000 sec
023 RX OCTETS: 8a097061796c6f61642d308a097061796c6f61642d318a097061796c6f61642d32
024 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d30
025 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d31
026 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d32
027 RX OCTETS: 8a097061796c6f61642d338a097061796c6f61642d348a097061796c6f61642d358a097061796c6f61642d368a097061796c
6f61642d378a097061796c6f6164 ...
028 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d33
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d34
030 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d35
031 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d36
032 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d37
033 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d38
034 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
0x7061796c6f61642d39
035 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=33690bd7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
036 TX OCTETS: 888233690bd73081
037 RX OCTETS: 880203e8
038 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
0x03e8
039 TCP DROPPED BY PEER