WebSockets Protocol Test Report
Autobahn WebSockets

wslay - Case 2.11 : Pass - 13 ms @ 2012-01-09T14:45:54Z

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 / HTTP/1.1
User-Agent: AutobahnWebSocketsTestSuite/0.4.10
Host: localhost:9090
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: nNZ9U1QSnFGs4FpJJ4KAVQ==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: Cy3xGvRj7aFEHrXJoPlr/RQfE4Y=


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
11888
22122
1291129
Total11243

Octets Transmitted by Chop Size

Chop SizeCountOctets
1150150
818
2011201
Total152359

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e31300d0a486f73743a206c6f63616c686f73743a393039300d0a557067726164653a20776562736f
               636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a206e4e5a39
               553151536e4647733446704a4a344b4156513d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d
               0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20437933
               784776526a376146454872584a6f506c722f5251664534593d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=a0c10248, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=ef2b58a7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=41267ebc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=321a9e80, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=d6a9f170, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=24ade042, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=a1cf1918, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=7bdec782, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=ffa5637d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=86e2cc91, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 89
015 TX OCTETS: a0
016 TX OCTETS: c1
017 TX OCTETS: 02
018 TX OCTETS: 48
019 TX OCTETS: d0
020 TX OCTETS: a0
021 TX OCTETS: 7b
022 TX OCTETS: 24
023 TX OCTETS: cf
024 TX OCTETS: a0
025 TX OCTETS: 66
026 TX OCTETS: 65
027 TX OCTETS: 90
028 TX OCTETS: 89
029 RX OCTETS: 8a097061796c6f61642d30
030 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-0
031 TX OCTETS: 89
032 TX OCTETS: ef
033 TX OCTETS: 2b
034 TX OCTETS: 58
035 TX OCTETS: a7
036 TX OCTETS: 9f
037 TX OCTETS: 4a
038 TX OCTETS: 21
039 TX OCTETS: cb
040 TX OCTETS: 80
041 TX OCTETS: 4a
042 TX OCTETS: 3c
043 TX OCTETS: 8a
044 TX OCTETS: de
045 TX OCTETS: 89
046 RX OCTETS: 8a097061796c6f61642d31
047 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-1
048 TX OCTETS: 89
049 TX OCTETS: 41
050 TX OCTETS: 26
051 TX OCTETS: 7e
052 TX OCTETS: bc
053 TX OCTETS: 31
054 TX OCTETS: 47
055 TX OCTETS: 07
056 TX OCTETS: d0
057 TX OCTETS: 2e
058 TX OCTETS: 47
059 TX OCTETS: 1a
060 TX OCTETS: 91
061 TX OCTETS: 73
062 TX OCTETS: 89
063 RX OCTETS: 8a097061796c6f61642d32
064 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-2
065 TX OCTETS: 89
066 TX OCTETS: 32
067 TX OCTETS: 1a
068 TX OCTETS: 9e
069 TX OCTETS: 80
070 TX OCTETS: 42
071 TX OCTETS: 7b
072 TX OCTETS: e7
073 TX OCTETS: ec
074 TX OCTETS: 5d
075 TX OCTETS: 7b
076 TX OCTETS: fa
077 TX OCTETS: ad
078 TX OCTETS: 01
079 TX OCTETS: 89
080 RX OCTETS: 8a097061796c6f61642d33
081 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-3
082 TX OCTETS: 89
083 TX OCTETS: d6
084 TX OCTETS: a9
085 TX OCTETS: f1
086 TX OCTETS: 70
087 TX OCTETS: a6
088 TX OCTETS: c8
089 TX OCTETS: 88
090 TX OCTETS: 1c
091 TX OCTETS: b9
092 TX OCTETS: c8
093 TX OCTETS: 95
094 TX OCTETS: 5d
095 TX OCTETS: e2
096 TX OCTETS: 89
097 TX OCTETS: 89
098 TX OCTETS: 24
099 TX OCTETS: ad
100 TX OCTETS: e0
101 TX OCTETS: 42
102 TX OCTETS: 54
103 TX OCTETS: cc
104 TX OCTETS: 99
105 TX OCTETS: 2e
106 TX OCTETS: 4b
107 TX OCTETS: cc
108 TX OCTETS: 84
109 TX OCTETS: 6f
110 TX OCTETS: 11
111 TX OCTETS: 89
112 TX OCTETS: 89
113 RX OCTETS: 8a097061796c6f61642d348a097061796c6f61642d35
114 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-4
115 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-5
116 TX OCTETS: a1
117 TX OCTETS: cf
118 TX OCTETS: 19
119 TX OCTETS: 18
120 TX OCTETS: d1
121 TX OCTETS: ae
122 TX OCTETS: 60
123 TX OCTETS: 74
124 TX OCTETS: ce
125 TX OCTETS: ae
126 TX OCTETS: 7d
127 TX OCTETS: 35
128 TX OCTETS: 97
129 TX OCTETS: 89
130 RX OCTETS: 8a097061796c6f61642d36
131 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-6
132 TX OCTETS: 89
133 TX OCTETS: 7b
134 TX OCTETS: de
135 TX OCTETS: c7
136 TX OCTETS: 82
137 TX OCTETS: 0b
138 TX OCTETS: bf
139 TX OCTETS: be
140 TX OCTETS: ee
141 TX OCTETS: 14
142 TX OCTETS: bf
143 TX OCTETS: a3
144 TX OCTETS: af
145 TX OCTETS: 4c
146 TX OCTETS: 89
147 RX OCTETS: 8a097061796c6f61642d37
148 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-7
149 TX OCTETS: 89
150 TX OCTETS: ff
151 TX OCTETS: a5
152 TX OCTETS: 63
153 TX OCTETS: 7d
154 TX OCTETS: 8f
155 TX OCTETS: c4
156 TX OCTETS: 1a
157 TX OCTETS: 11
158 TX OCTETS: 90
159 TX OCTETS: c4
160 TX OCTETS: 07
161 TX OCTETS: 50
162 TX OCTETS: c7
163 TX OCTETS: 89
164 RX OCTETS: 8a097061796c6f61642d38
165 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-8
166 TX OCTETS: 89
167 TX OCTETS: 86
168 TX OCTETS: e2
169 TX OCTETS: cc
170 TX OCTETS: 91
171 TX OCTETS: f6
172 TX OCTETS: 83
173 TX OCTETS: b5
174 TX OCTETS: fd
175 TX OCTETS: e9
176 TX OCTETS: 83
177 TX OCTETS: a8
178 TX OCTETS: bc
179 TX OCTETS: bf
180 RX OCTETS: 8a097061796c6f61642d39
181 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-9
182 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=062cd87d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
183 TX OCTETS: 8882062cd87d05c4
184 RX OCTETS: 880203e8
185 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
186 TCP DROPPED BY PEER