AutobahnServer - Case 2.10 : Pass - 5 ms @ 2012-10-12T12:09:25Z
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: AutobahnTestSuite/0.5.2-0.5.8 Host: localhost:9001 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Key: 8zQOyeuy3X4pQwxh/G+QOw== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Server: AutobahnPython/0.5.8 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: PUTowyYezV/GzmZEJofZ+HYlknw=
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 |
110 | 1 | 110 |
159 | 1 | 159 |
Total | 3 | 273 |
Chop Size | Count | Octets |
8 | 1 | 8 |
15 | 10 | 150 |
196 | 1 | 196 |
Total | 12 | 354 |
Opcode | Count |
8 | 1 |
10 | 10 |
Total | 11 |
Opcode | Count |
8 | 1 |
9 | 10 |
Total | 11 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
322d302e352e380d0a486f73743a206c6f63616c686f73743a393030310d0a557067726164653a20576562536f636b65740d
0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a20387a514f7965757933
583470517778682f472b514f773d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
507974686f6e2f302e352e380d0a557067726164653a20576562536f636b65740d0a436f6e6e656374696f6e3a2055706772
6164650d0a5365632d576562536f636b65742d4163636570743a205055546f777959657a562f477a6d5a454a6f665a2b4859
6c6b6e773d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=94b966b7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-0
003 TX OCTETS: 898994b966b7e4d81fdbfbd8029aa4
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=5ced2d77, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-1
005 TX OCTETS: 89895ced2d772c8c541b338c495a6d
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=561c4729, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-2
007 TX OCTETS: 8989561c4729267d3e45397d230464
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=18f56c80, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-3
009 TX OCTETS: 898918f56c80689415ec779408ad2b
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=78ce0a5a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-4
011 TX OCTETS: 898978ce0a5a08af733617af6e774c
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=b28fb51f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-5
013 TX OCTETS: 8989b28fb51fc2eecc73ddeed13287
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=88a945b4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-6
015 TX OCTETS: 898988a945b4f8c83cd8e7c82199be
016 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=e19e7aac, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-7
017 TX OCTETS: 8989e19e7aac91ff03c08eff1e81d6
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=a905e039, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-8
019 TX OCTETS: 8989a905e039d9649955c664841491
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=2a8cf767, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
payload-9
021 TX OCTETS: 89892a8cf7675aed8e0b45ed934a13
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=70765684, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
è
035 TX OCTETS: 888270765684739e
036 RX OCTETS: 880203e8
037 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
è
038 TCP DROPPED BY PEER