Autobahn WebSockets Testsuite Report
Autobahn WebSockets

AutobahnPython - Case 2.11 : Pass - 16 ms @ 2014-05-15T05:05:08Z

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', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]}

Observed:
[('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.6.1-0.8.8
Host: 127.0.0.1:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: wnAUYCpw4v2Za6eCXdleuA==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: eTzFQ3DYewJCjtHwGZfhuY5nAy0=


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.
wasOpenHandshakeTimeoutFalseWhen performing the opening handshake, but the peer did not finish 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
11777
33133
1291129
Total10243

Octets Transmitted by Chop Size

Chop SizeCountOctets
1150150
818
2391239
Total152397

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e362e
               312d302e382e380d0a486f73743a ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=63408039, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=13be99a6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=5eb5ae5b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=44159c99, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=0d5faa4b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=39dc969e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=4293b6f1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=420940d5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=b2c472d8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=8e75c25c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 89
015 TX OCTETS: 63
016 TX OCTETS: 40
017 TX OCTETS: 80
018 TX OCTETS: 39
019 TX OCTETS: 13
020 TX OCTETS: 21
021 TX OCTETS: f9
022 TX OCTETS: 55
023 TX OCTETS: 0c
024 TX OCTETS: 21
025 TX OCTETS: e4
026 TX OCTETS: 14
027 TX OCTETS: 53
028 TX OCTETS: 89
029 TX OCTETS: 89
030 RX OCTETS: 8a097061796c6f61642d30
031 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-0
032 TX OCTETS: 13
033 TX OCTETS: be
034 TX OCTETS: 99
035 TX OCTETS: a6
036 TX OCTETS: 63
037 TX OCTETS: df
038 TX OCTETS: e0
039 TX OCTETS: ca
040 TX OCTETS: 7c
041 TX OCTETS: df
042 TX OCTETS: fd
043 TX OCTETS: 8b
044 TX OCTETS: 22
045 TX OCTETS: 89
046 TX OCTETS: 89
047 RX OCTETS: 8a097061796c6f61642d31
048 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-1
049 TX OCTETS: 5e
050 TX OCTETS: b5
051 TX OCTETS: ae
052 TX OCTETS: 5b
053 TX OCTETS: 2e
054 TX OCTETS: d4
055 TX OCTETS: d7
056 TX OCTETS: 37
057 TX OCTETS: 31
058 TX OCTETS: d4
059 TX OCTETS: ca
060 TX OCTETS: 76
061 TX OCTETS: 6c
062 TX OCTETS: 89
063 TX OCTETS: 89
064 RX OCTETS: 8a097061796c6f61642d32
065 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-2
066 TX OCTETS: 44
067 TX OCTETS: 15
068 TX OCTETS: 9c
069 TX OCTETS: 99
070 TX OCTETS: 34
071 TX OCTETS: 74
072 TX OCTETS: e5
073 TX OCTETS: f5
074 TX OCTETS: 2b
075 TX OCTETS: 74
076 TX OCTETS: f8
077 TX OCTETS: b4
078 TX OCTETS: 77
079 TX OCTETS: 89
080 TX OCTETS: 89
081 RX OCTETS: 8a097061796c6f61642d33
082 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-3
083 TX OCTETS: 0d
084 TX OCTETS: 5f
085 TX OCTETS: aa
086 TX OCTETS: 4b
087 TX OCTETS: 7d
088 TX OCTETS: 3e
089 TX OCTETS: d3
090 TX OCTETS: 27
091 TX OCTETS: 62
092 TX OCTETS: 3e
093 TX OCTETS: ce
094 TX OCTETS: 66
095 TX OCTETS: 39
096 TX OCTETS: 89
097 TX OCTETS: 89
098 TX OCTETS: 39
099 TX OCTETS: dc
100 TX OCTETS: 96
101 TX OCTETS: 9e
102 TX OCTETS: 49
103 TX OCTETS: bd
104 TX OCTETS: ef
105 TX OCTETS: f2
106 TX OCTETS: 56
107 TX OCTETS: bd
108 TX OCTETS: f2
109 TX OCTETS: b3
110 TX OCTETS: 0c
111 TX OCTETS: 89
112 TX OCTETS: 89
113 TX OCTETS: 42
114 TX OCTETS: 93
115 TX OCTETS: b6
116 TX OCTETS: f1
117 TX OCTETS: 32
118 TX OCTETS: f2
119 TX OCTETS: cf
120 TX OCTETS: 9d
121 TX OCTETS: 2d
122 TX OCTETS: f2
123 TX OCTETS: d2
124 TX OCTETS: dc
125 TX OCTETS: 74
126 TX OCTETS: 89
127 TX OCTETS: 89
128 TX OCTETS: 42
129 TX OCTETS: 09
130 TX OCTETS: 40
131 TX OCTETS: d5
132 RX OCTETS: 8a097061796c6f61642d348a097061796c6f61642d358a097061796c6f61642d36
133 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-4
134 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-5
135 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-6
136 TX OCTETS: 32
137 TX OCTETS: 68
138 TX OCTETS: 39
139 TX OCTETS: b9
140 TX OCTETS: 2d
141 TX OCTETS: 68
142 TX OCTETS: 24
143 TX OCTETS: f8
144 TX OCTETS: 75
145 TX OCTETS: 89
146 RX OCTETS: 8a097061796c6f61642d37
147 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-7
148 TX OCTETS: 89
149 TX OCTETS: b2
150 TX OCTETS: c4
151 TX OCTETS: 72
152 TX OCTETS: d8
153 TX OCTETS: c2
154 TX OCTETS: a5
155 TX OCTETS: 0b
156 TX OCTETS: b4
157 TX OCTETS: dd
158 TX OCTETS: a5
159 TX OCTETS: 16
160 TX OCTETS: f5
161 TX OCTETS: 8a
162 TX OCTETS: 89
163 RX OCTETS: 8a097061796c6f61642d38
164 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-8
165 TX OCTETS: 89
166 TX OCTETS: 8e
167 TX OCTETS: 75
168 TX OCTETS: c2
169 TX OCTETS: 5c
170 TX OCTETS: fe
171 TX OCTETS: 14
172 TX OCTETS: bb
173 TX OCTETS: 30
174 TX OCTETS: e1
175 TX OCTETS: 14
176 TX OCTETS: a6
177 TX OCTETS: 71
178 TX OCTETS: b7
179 RX OCTETS: 8a097061796c6f61642d39
180 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-9
181 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=76d50e3c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
182 TX OCTETS: 888276d50e3c753d
183 RX OCTETS: 880203e8
184 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
185 TCP DROPPED BY PEER