WebSockets Protocol Test Report
Autobahn WebSockets

wslay - Case 2.11 : Pass - 10 ms @ 2012-01-09T14:51:44Z

Case Description

Send 10 Pings with payload. Send out octets in octet-wise chops.

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 /runCase?case=27&agent=wslay HTTP/1.1
Host: localhost:9001
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: BALU7nThzUBvELyjnWXnaA==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Server: AutobahnWebSocketsTestSuite/0.4.10
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: jIND9quInGTAzLmm58jPnm9T61I=


Closing Behavior

KeyValueDescription
isServerTrueTrue, 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.
droppedByMeTrueTrue, 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
818
158120
30130
1801180
Total11338

Octets Transmitted by Chop Size

Chop SizeCountOctets
1110110
414
1731173
Total112287

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d3237266167656e743d77736c617920485454502f312e310d0a486f73743a206c
               6f63616c686f73743a393030310d0a557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067
               726164650d0a5365632d576562536f636b65742d4b65793a2042414c55376e54687a554276454c796a6e57586e61413d3d0d
               0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               576562536f636b6574735465737453756974652f302e342e31300d0a557067726164653a20776562736f636b65740d0a436f
               6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a206a494e44397175496e
               4754417a4c6d6d35386a506e6d39543631493d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 09
015 TX OCTETS: 70
016 TX OCTETS: 61
017 TX OCTETS: 79
018 TX OCTETS: 6c
019 TX OCTETS: 6f
020 TX OCTETS: 61
021 TX OCTETS: 64
022 TX OCTETS: 2d
023 TX OCTETS: 30
024 TX OCTETS: 89
025 TX OCTETS: 09
026 TX OCTETS: 70
027 TX OCTETS: 61
028 TX OCTETS: 79
029 TX OCTETS: 6c
030 TX OCTETS: 6f
031 TX OCTETS: 61
032 TX OCTETS: 64
033 TX OCTETS: 2d
034 TX OCTETS: 31
035 TX OCTETS: 89
036 TX OCTETS: 09
037 TX OCTETS: 70
038 TX OCTETS: 61
039 TX OCTETS: 79
040 TX OCTETS: 6c
041 TX OCTETS: 6f
042 RX OCTETS: 8a89fb23bc8e8b42c5e29442d8a3cb8a89c8368aabb857f3c7a757ee86f9
043 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=fb23bc8e
               payload-0
044 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=c8368aab
               payload-1
045 TX OCTETS: 61
046 TX OCTETS: 64
047 TX OCTETS: 2d
048 TX OCTETS: 32
049 TX OCTETS: 89
050 RX OCTETS: 8a89c500794ab5610026aa611d67f7
051 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=c500794a
               payload-2
052 TX OCTETS: 09
053 TX OCTETS: 70
054 TX OCTETS: 61
055 TX OCTETS: 79
056 TX OCTETS: 6c
057 TX OCTETS: 6f
058 TX OCTETS: 61
059 TX OCTETS: 64
060 TX OCTETS: 2d
061 TX OCTETS: 33
062 TX OCTETS: 89
063 RX OCTETS: 8a892d3145825d503cee425021af1e
064 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=2d314582
               payload-3
065 TX OCTETS: 09
066 TX OCTETS: 70
067 TX OCTETS: 61
068 TX OCTETS: 79
069 TX OCTETS: 6c
070 TX OCTETS: 6f
071 TX OCTETS: 61
072 TX OCTETS: 64
073 TX OCTETS: 2d
074 TX OCTETS: 34
075 TX OCTETS: 89
076 RX OCTETS: 8a89c7107388b7710ae4a87117a5f3
077 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=c7107388
               payload-4
078 TX OCTETS: 09
079 TX OCTETS: 70
080 TX OCTETS: 61
081 TX OCTETS: 79
082 TX OCTETS: 6c
083 TX OCTETS: 6f
084 TX OCTETS: 61
085 TX OCTETS: 64
086 TX OCTETS: 2d
087 TX OCTETS: 35
088 TX OCTETS: 89
089 RX OCTETS: 8a89d14a3be3a12b428fbe2b5fcee4
090 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=d14a3be3
               payload-5
091 TX OCTETS: 09
092 TX OCTETS: 70
093 TX OCTETS: 61
094 TX OCTETS: 79
095 TX OCTETS: 6c
096 TX OCTETS: 6f
097 TX OCTETS: 61
098 TX OCTETS: 64
099 TX OCTETS: 2d
100 TX OCTETS: 36
101 TX OCTETS: 89
102 RX OCTETS: 8a89a5e299a1d583e0cdca83fd8c93
103 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=a5e299a1
               payload-6
104 TX OCTETS: 09
105 TX OCTETS: 70
106 TX OCTETS: 61
107 TX OCTETS: 79
108 TX OCTETS: 6c
109 TX OCTETS: 6f
110 TX OCTETS: 61
111 TX OCTETS: 64
112 TX OCTETS: 2d
113 TX OCTETS: 37
114 TX OCTETS: 89
115 RX OCTETS: 8a890a3407cb7a557ea7655563e63d
116 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=0a3407cb
               payload-7
117 TX OCTETS: 09
118 TX OCTETS: 70
119 TX OCTETS: 61
120 TX OCTETS: 79
121 TX OCTETS: 6c
122 TX OCTETS: 6f
123 TX OCTETS: 61
124 TX OCTETS: 64
125 TX OCTETS: 2d
126 TX OCTETS: 38
127 TX OCTETS: 89
128 RX OCTETS: 8a89507ba585201adce93f1ac1a868
129 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=507ba585
               payload-8
130 TX OCTETS: 09
131 TX OCTETS: 70
132 TX OCTETS: 61
133 TX OCTETS: 79
134 TX OCTETS: 6c
135 TX OCTETS: 6f
136 TX OCTETS: 61
137 TX OCTETS: 64
138 TX OCTETS: 2d
139 TX OCTETS: 39
140 RX OCTETS: 8a89aded5edadd8c27b6c28c3af794
141 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=aded5eda
               payload-9
142 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
143 TX OCTETS: 880203e8
144 RX OCTETS: 88829854a7609bbc
145 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=True, MASK=9854a760
146 TCP DROPPED BY ME