Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.5.14 : Pass - 74236 ms @ 2024-06-08T15:01:01.551Z

Case Description

Send 1000 compressed messages each of payload size 65536, 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=387&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: 9+K309chHqIGV3WqBp5koQ==
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: Sbr+MsUVWmtDl1HxLpNLES124Ck=
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
818
14114
4071407
14480114480
1638499816351232
22110122110
28960128960
4916699849067668
65536165536
Total200365550415

Octets Transmitted by Chop Size

Chop SizeCountOctets
236
313
4624
5420
6424
7321
8324
919
10550
12672
13339
14684
15690
16580
17351
18590
19357
205100
21484
229198
23123
24124
258200
264104
279243
28128
298232
30390
31393
32264
337231
348272
353105
365180
384152
39278
40140
415205
42284
43286
444176
454180
46146
47147
483144
494196
503150
515255
523156
535265
545270
5512660
56156
578456
583174
593177
605300
612122
625310
634252
64164
656390
668528
675335
685340
69169
706420
714284
726432
732146
744296
752150
764304
776462
783234
79179
804320
814324
822164
833249
843252
85185
863258
878696
886528
895445
903270
915455
926552
934372
943282
959855
96196
972194
98198
992198
1005500
1014404
1024408
1034412
1043312
1055525
1065530
1073321
1094436
1103330
1113333
1121112
1132226
1141114
1151115
1164464
1178936
1186708
1197833
1201120
1213363
1223366
1231123
1242248
1253375
1262252
1271127
1302260
1313393
1325660
13381064
1346804
1356810
1364544
137111507
1386828
1395695
1406840
14191269
1425710
14371001
1444576
1452290
1465730
1473441
1484592
1495745
1505750
1511151
1524608
1531153
1541154
1552310
1561156
1572314
1584632
1596954
1602320
1613483
1621162
1635815
1642328
1651165
1672334
1683504
1695845
1702340
17161026
17261032
1733519
17481392
1753525
1763528
1773531
1782356
1805900
1814724
1824728
1842368
18571295
1863558
1874748
1882376
1891189
19091710
19181528
1923576
193101930
1945970
19561170
1963588
197101970
1984792
1993597
2002400
2013603
2024808
2034812
2042408
2063618
2073621
2083624
20961254
2103630
21151055
21261272
2132426
2141214
21551075
21661296
21781736
2183654
2193657
22051100
2214884
22251110
2233669
2244896
2254900
2264904
2273681
22851140
22951145
23071610
2314924
23281856
23351165
23451170
23551175
23661416
2373711
23851190
2391239
240122880
24151205
2424968
24361458
2454980
2462492
24751235
2481248
2493747
25061500
25141004
25241008
25341012
2542508
2552510
25671792
2573771
25841032
2592518
26019389750413220
Total19489950545270

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
0193897
21000
81
Total194898


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d333837266167656e743d756e6469636920485454502f312e310d0a686f73743a
               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