AutobahnServer/0.4.10 - Case 2.10 : Pass - 3 ms @ 2012-01-09T14:43:11Z
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', 'payload-0'), ('pong', 'payload-1'), ('pong', 'payload-2'), ('pong', 'payload-3'), ('pong', 'payload-4'), ('pong', 'payload-5'), ('pong', 'payload-6'), ('pong', 'payload-7'), ('pong', 'payload-8'), ('pong', 'payload-9')]}
Observed:
[('pong', 'payload-0'), ('pong', 'payload-1'), ('pong', 'payload-2'), ('pong', 'payload-3'), ('pong', 'payload-4'), ('pong', 'payload-5'), ('pong', 'payload-6'), ('pong', 'payload-7'), ('pong', 'payload-8'), ('pong', 'payload-9')]
Case Closing Behavior
Connection was properly closed (OK)
GET / HTTP/1.1 User-Agent: AutobahnWebSocketsTestSuite/0.4.10 Host: localhost:9000 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: s5Ek2p6lTOzarLauQArVIA== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Server: AutobahnWebSockets/0.4.10 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: P2ZHAsIoTNqboiS4s37ySOpu/sc=
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. |
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 |
110 | 1 | 110 |
164 | 1 | 164 |
Total | 3 | 278 |
Chop Size | Count | Octets |
8 | 1 | 8 |
15 | 10 | 150 |
201 | 1 | 201 |
Total | 12 | 359 |
Opcode | Count |
8 | 1 |
10 | 10 |
Total | 11 |
Opcode | Count |
8 | 1 |
9 | 10 |
Total | 11 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
53756974652f302e342e31300d0a486f73743a206c6f63616c686f73743a393030300d0a557067726164653a20776562736f
636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a207335456b
3270366c544f7a61724c61755141725649413d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d
0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
576562536f636b6574732f302e342e31300d0a557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a
20557067726164650d0a5365632d576562536f636b65742d4163636570743a2050325a484173496f544e71626f6953347333
3779534f70752f73633d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=15c0de7b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-0
003 TX OCTETS: 898915c0de7b65a1a7177aa1ba5625
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=d11cafb9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-1
005 TX OCTETS: 8989d11cafb9a17dd6d5be7dcb94e0
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=ef06d734, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-2
007 TX OCTETS: 8989ef06d7349f67ae588067b319dd
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=6831a4dd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-3
009 TX OCTETS: 89896831a4dd1850ddb10750c0f05b
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=d422a000, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-4
011 TX OCTETS: 8989d422a000a443d96cbb43c42de0
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=c20733ec, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-5
013 TX OCTETS: 8989c20733ecb2664a80ad6657c1f7
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=0dedbe06, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-6
015 TX OCTETS: 89890dedbe067d8cc76a628cda2b3b
016 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=cdc830a3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-7
017 TX OCTETS: 8989cdc830a3bda949cfa2a9548efa
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=c70b4120, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-8
019 TX OCTETS: 8989c70b4120b76a384ca86a250dff
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=9ad62eae, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-9
021 TX OCTETS: 89899ad62eaeeab757c2f5b74a83a3
022 CLOSE CONNECTION AFTER 3.000000 sec
023 RX OCTETS: 8a097061796c6f61642d308a097061796c6f61642d318a097061796c6f61642d328a097061796c6f61642d338a097061796c
6f61642d348a097061796c6f61642d358a097061796c6f61642d368a097061796c6f61642d378a097061796c6f61642d388a
097061796c6f61642d39
024 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-0
025 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-1
026 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-2
027 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-3
028 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-4
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-5
030 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-6
031 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-7
032 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-8
033 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-9
034 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=3449d62b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
è
035 TX OCTETS: 88823449d62b37a1
036 RX OCTETS: 880203e8
037 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
è
038 TCP DROPPED BY PEER