WebSockets Protocol Test Report
Autobahn WebSockets

wslay - Case 2.10 : Pass - 3 ms @ 2012-01-09T14:45:54Z

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)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnWebSocketsTestSuite/0.4.10
Host: localhost:9090
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: KgHwqoZsxIqEoPvDp7lt7Q==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: YNFkcUas4VMhcg5fNRZxtlQsjNc=


Closing Behavior

KeyValueDescription
isServerFalseTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeTrueTrue, iff I have initiated closing handshake (that is, did send close first).
failedByMeFalseTrue, 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.
droppedByMeFalseTrue, iff I dropped the TCP connection.
wasCleanTrueTrue, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonNoneWhen wasClean == False, the reason what happened.
wasServerConnectionDropTimeoutFalseWhen we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.
wasCloseHandshakeTimeoutFalseWhen we initiated a closing handshake, but the peer did not respond in time, this gets True.
localCloseCode1000The close code I sent in close frame (if any).
localCloseReasonNoneThe close reason I sent in close frame (if any).
remoteCloseCode1000The close code the peer sent me in close frame (if any).
remoteCloseReasonNoneThe close reason the peer sent me in close frame (if any).


Wire Statistics

Octets Received by Chop Size

Chop SizeCountOctets
414
11111
35135
64164
1291129
Total5243

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
1510150
2011201
Total12359

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e31300d0a486f73743a206c6f63616c686f73743a393039300d0a557067726164653a20776562736f
               636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a204b674877
               716f5a73784971456f50764470376c7437513d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d
               0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20594e46
               6b6355617334564d68636735664e525a78746c51736a4e633d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=ad11e0ff, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-0
003 TX OCTETS: 8989ad11e0ffdd709993c27084d29d
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=2e7d375c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-1
005 TX OCTETS: 89892e7d375c5e1c4e30411c53711f
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=82948c27, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-2
007 TX OCTETS: 898982948c27f2f5f54bedf5e80ab0
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=be231c3e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-3
009 TX OCTETS: 8989be231c3ece426552d14278138d
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=8aaa3914, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-4
011 TX OCTETS: 89898aaa3914facb4078e5cb5d39be
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=1673c8b5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-5
013 TX OCTETS: 89891673c8b56612b1d97912ac9823
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=0f604118, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-6
015 TX OCTETS: 89890f6041187f0138746001253539
016 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=0031df8d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-7
017 TX OCTETS: 89890031df8d7050a6e16f50bba037
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=5464b9f5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-8
019 TX OCTETS: 89895464b9f52405c0993b05ddd86c
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=12e87ca4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-9
021 TX OCTETS: 898912e87ca4628905c87d8918892b
022 CLOSE CONNECTION AFTER 3.000000 sec
023 RX OCTETS: 8a097061796c6f61642d308a097061796c6f61642d318a097061796c6f61642d328a09
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 OCTETS: 7061796c6f61642d338a097061796c6f61642d348a097061796c6f61642d358a097061796c6f61642d368a097061796c6f61
               642d378a097061796c6f61642d38
028 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-3
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-4
030 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-5
031 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-6
032 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-7
033 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-8
034 RX OCTETS: 8a097061796c6f61642d39
035 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-9
036 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=d901fefc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
037 TX OCTETS: 8882d901fefcdae9
038 RX OCTETS: 880203e8
039 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
040 TCP DROPPED BY PEER