Autobahn WebSocket Testsuite Report
Autobahn WebSocket

socket-flow - Case 2.11 : Pass - 69 ms @ 2024-10-24T16:58:22.480Z

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.8.2-0.10.9
Host: 127.0.0.1:9002
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: blJ6zxHaZs+sWfrYFHXNGA==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Connection: Upgrade
Upgrade: websocket
Sec-WebSocket-Accept: gh6WEcn74lbSasWkbUG1F58Qwfo=


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 WebSocket 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).
remoteCloseCodeNoneThe 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
11010
212
1010100
1291129
Total22241

Octets Transmitted by Chop Size

Chop SizeCountOctets
1150150
818
2401240
Total152398

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               322d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a436f6e6e656374696f6e3a2055706772
               6164650d0a557067726164653a20 ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=732e6e1d, 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=57411a28, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=beb8fb1e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=4911a8e4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=7d2ded4b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=62a63b72, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=9e9db191, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=80af5615, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=acf78d2d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=fcd794a3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 89
015 TX OCTETS: 73
016 TX OCTETS: 2e
017 TX OCTETS: 6e
018 TX OCTETS: 1d
019 TX OCTETS: 03
020 TX OCTETS: 4f
021 TX OCTETS: 17
022 TX OCTETS: 71
023 TX OCTETS: 1c
024 TX OCTETS: 4f
025 TX OCTETS: 0a
026 TX OCTETS: 30
027 TX OCTETS: 43
028 TX OCTETS: 89
029 RX OCTETS: 8a
030 TX OCTETS: 89
031 RX OCTETS: 097061796c6f61642d30
032 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-0
033 TX OCTETS: 57
034 TX OCTETS: 41
035 TX OCTETS: 1a
036 TX OCTETS: 28
037 TX OCTETS: 27
038 TX OCTETS: 20
039 TX OCTETS: 63
040 TX OCTETS: 44
041 TX OCTETS: 38
042 TX OCTETS: 20
043 TX OCTETS: 7e
044 TX OCTETS: 05
045 TX OCTETS: 66
046 TX OCTETS: 89
047 RX OCTETS: 8a
048 TX OCTETS: 89
049 RX OCTETS: 097061796c6f61642d31
050 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-1
051 TX OCTETS: be
052 TX OCTETS: b8
053 TX OCTETS: fb
054 TX OCTETS: 1e
055 TX OCTETS: ce
056 TX OCTETS: d9
057 TX OCTETS: 82
058 TX OCTETS: 72
059 TX OCTETS: d1
060 TX OCTETS: d9
061 TX OCTETS: 9f
062 TX OCTETS: 33
063 TX OCTETS: 8c
064 TX OCTETS: 89
065 RX OCTETS: 8a
066 TX OCTETS: 89
067 RX OCTETS: 097061796c6f61642d32
068 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-2
069 TX OCTETS: 49
070 TX OCTETS: 11
071 TX OCTETS: a8
072 TX OCTETS: e4
073 TX OCTETS: 39
074 TX OCTETS: 70
075 TX OCTETS: d1
076 TX OCTETS: 88
077 TX OCTETS: 26
078 TX OCTETS: 70
079 TX OCTETS: cc
080 TX OCTETS: c9
081 TX OCTETS: 7a
082 TX OCTETS: 89
083 RX OCTETS: 8a
084 TX OCTETS: 89
085 RX OCTETS: 097061796c6f61642d33
086 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-3
087 TX OCTETS: 7d
088 TX OCTETS: 2d
089 TX OCTETS: ed
090 TX OCTETS: 4b
091 TX OCTETS: 0d
092 TX OCTETS: 4c
093 TX OCTETS: 94
094 TX OCTETS: 27
095 TX OCTETS: 12
096 TX OCTETS: 4c
097 TX OCTETS: 89
098 TX OCTETS: 66
099 TX OCTETS: 49
100 TX OCTETS: 89
101 RX OCTETS: 8a
102 TX OCTETS: 89
103 RX OCTETS: 097061796c6f61642d34
104 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-4
105 TX OCTETS: 62
106 TX OCTETS: a6
107 TX OCTETS: 3b
108 TX OCTETS: 72
109 TX OCTETS: 12
110 TX OCTETS: c7
111 TX OCTETS: 42
112 TX OCTETS: 1e
113 TX OCTETS: 0d
114 TX OCTETS: c7
115 TX OCTETS: 5f
116 TX OCTETS: 5f
117 TX OCTETS: 57
118 TX OCTETS: 89
119 RX OCTETS: 8a
120 TX OCTETS: 89
121 RX OCTETS: 097061796c6f61642d35
122 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-5
123 TX OCTETS: 9e
124 TX OCTETS: 9d
125 TX OCTETS: b1
126 TX OCTETS: 91
127 TX OCTETS: ee
128 TX OCTETS: fc
129 TX OCTETS: c8
130 TX OCTETS: fd
131 TX OCTETS: f1
132 TX OCTETS: fc
133 TX OCTETS: d5
134 TX OCTETS: bc
135 TX OCTETS: a8
136 TX OCTETS: 89
137 RX OCTETS: 8a
138 TX OCTETS: 89
139 RX OCTETS: 097061796c6f61642d36
140 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-6
141 TX OCTETS: 80
142 TX OCTETS: af
143 TX OCTETS: 56
144 TX OCTETS: 15
145 TX OCTETS: f0
146 TX OCTETS: ce
147 TX OCTETS: 2f
148 TX OCTETS: 79
149 TX OCTETS: ef
150 TX OCTETS: ce
151 TX OCTETS: 32
152 TX OCTETS: 38
153 TX OCTETS: b7
154 TX OCTETS: 89
155 RX OCTETS: 8a
156 TX OCTETS: 89
157 RX OCTETS: 097061796c6f61642d37
158 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-7
159 TX OCTETS: ac
160 TX OCTETS: f7
161 TX OCTETS: 8d
162 TX OCTETS: 2d
163 TX OCTETS: dc
164 TX OCTETS: 96
165 TX OCTETS: f4
166 TX OCTETS: 41
167 TX OCTETS: c3
168 TX OCTETS: 96
169 TX OCTETS: e9
170 TX OCTETS: 00
171 TX OCTETS: 94
172 TX OCTETS: 89
173 RX OCTETS: 8a
174 TX OCTETS: 89
175 RX OCTETS: 097061796c6f61642d38
176 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-8
177 TX OCTETS: fc
178 TX OCTETS: d7
179 TX OCTETS: 94
180 TX OCTETS: a3
181 TX OCTETS: 8c
182 TX OCTETS: b6
183 TX OCTETS: ed
184 TX OCTETS: cf
185 TX OCTETS: 93
186 TX OCTETS: b6
187 TX OCTETS: f0
188 TX OCTETS: 8e
189 TX OCTETS: c5
190 RX OCTETS: 8a
191 RX OCTETS: 097061796c6f61642d39
192 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-9
193 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=472fbec3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
194 TX OCTETS: 8882472fbec344c7
195 RX OCTETS: 8800
196 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=False, MASK=None
197 TCP DROPPED BY PEER