Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.4.12 : Pass - 50421 ms @ 2024-06-08T14:53:19.625Z

Case Description

Send 1000 compressed messages each of payload size 16384, auto-fragment to 256 octets. Use default permessage-deflate offer.

Case Expectation

Receive echo'ed messages (with payload as sent). Timeout case after 480 secs.

Case Outcome

Ok, received all echo'ed messages in time.

Expected:
{}

Observed:
[]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET /runCase?case=367&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: 3Yy/Al2a9DydgsWxIfEwAw==
sec-websocket-version: 13
sec-websocket-extensions: permessage-deflate; client_max_window_bits
accept: */*
accept-language: *
sec-fetch-mode: websocket
user-agent: undici
pragma: no-cache
cache-control: no-cache
accept-encoding: gzip, deflate
HTTP/1.1 101 Switching Protocols
Server: AutobahnTestSuite/0.8.2-0.10.9
X-Powered-By: AutobahnPython/0.10.9
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: YSA4Fwj6E0Ei91GwAyYpoPIZ1zA=
Sec-WebSocket-Extensions: permessage-deflate


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 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).
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
89337464
14228
21363
22366
29258
35571995
4071407
190411904
14480114480
1638499816351232
16392116392
Total200216394089

Octets Transmitted by Chop Size

Chop SizeCountOctets
2510
313
428
5315
6318
7214
8216
9436
10330
11444
12224
13339
14114
15115
16232
17468
18236
20240
21363
22366
236138
24372
25375
26252
274108
284112
294116
30390
314124
324128
33266
34134
35270
36136
374148
383114
395195
40280
414164
42142
43286
44288
455225
463138
474188
483144
49149
505250
512102
522104
532106
543162
552110
563168
574228
582116
594236
604240
615305
622124
634252
643192
65165
664264
67167
682136
695345
70170
712142
724288
732146
743222
753225
762152
78178
804320
81181
822164
84184
852170
88188
893267
904360
912182
923276
934372
945470
953285
962192
972194
983294
99199
1003300
1014404
1022204
1033309
1041104
1054420
1064424
1073321
1081108
1106660
1112222
1124448
1136678
1144456
1154460
1164464
1174468
1184472
1195595
1202240
1217847
1227854
1238984
12491116
1255625
1267882
127121524
1303390
1314524
1326792
1333399
1343402
1355675
13691224
1372274
1383414
139111529
14081120
1417987
1425710
1436858
1446864
1455725
1465730
1475735
1481148
1493447
1502300
1511151
1525760
1535765
1541154
15581240
1566936
1575785
1583474
159101590
1605800
1612322
16291458
16391467
16471148
16581320
1662332
16781336
16881344
1695845
170122040
171101710
1721172
1735865
17461044
17571225
17681408
17761062
17881424
17961074
1804720
1815905
18271274
18381464
18461104
1854740
186101860
187101870
188101880
189101890
19081520
19181528
19291728
193132509
194101940
19581560
19671372
19791773
1984792
1995995
2001200
2013603
2034812
20471428
20561230
20681648
2074828
2084832
20971463
21081680
2113633
2124848
21371491
2144856
2153645
2161216
2172434
2184872
2194876
22051100
2214884
2223666
22351115
2241224
2251225
22651130
2273681
22961374
2301230
2314924
2322464
2333699
2344936
2353705
2362472
2373711
2393717
2412482
2423726
2431243
2441244
2452490
2463738
24792223
2483744
2492498
2512502
2523756
2532506
2542508
2563768
2571257
25851290
2593777
2602964770640
Total3966913021

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
02964
11000
81
Total3965


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d333637266167656e743d756e6469636920485454502f312e310d0a686f73743a
               206c6f63616c686f73743a393030 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               5465737453756974652f302e382e ...
002 WIRELOG DISABLED
003 CLOSE CONNECTION AFTER 480.000000 sec
004 WIRELOG ENABLED
005 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
006 TX OCTETS: 880203e8
007 RX OCTETS: 88820000000003e8
008 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=3030303030303030
               0x03e8
009 TCP DROPPED BY ME