Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.1.12 : Pass - 50297 ms @ 2024-06-08T14:32:55.049Z

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=313&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: Hi70O9iNyhcPA9XzyBFq4Q==
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: 0Q+OkOcrnxX5HcgN5I540mSYcYQ=
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
810008000
4071407
190411904
14480114480
1638499816351232
16392116392
Total200216392415

Octets Transmitted by Chop Size

Chop SizeCountOctets
212
326
428
5315
616
717
818
10110
13113
16232
17234
18354
19119
20480
21242
22244
24124
254100
275135
28256
30130
31262
32264
33133
34134
353105
367252
376222
38276
396234
404160
415205
423126
43286
44288
45290
464184
473141
484192
493147
502100
513153
535265
542108
556330
575285
584232
594236
604240
614244
622124
63163
648512
652130
662132
674268
684272
692138
705350
712142
727504
733219
746444
752150
76176
772154
782156
79179
805400
8110810
825410
834332
845420
855425
86186
877609
886528
894356
906540
915455
924368
938744
944376
955475
968768
979873
98141372
997693
1008800
101111111
1028816
1038824
1046624
105121260
1065530
1073321
1085540
1098872
1109990
111101110
112131456
11391017
114121368
115151725
116111276
117161872
11891062
1196714
12091080
1218968
1227854
1234492
1246744
1254500
1267882
1275635
1304520
1316786
1326792
1337931
1344536
1352270
1362272
1376822
1384552
1396834
1403420
1414564
1427994
1435715
14481152
1456870
14671022
1472294
14871036
14991341
150111650
151101510
152111672
15381224
15471078
15581240
15671092
1574628
15881264
1596954
1604640
1615805
1624648
1632326
1642328
1654660
1661166
1674668
1684672
1694676
1702340
1711171
1724688
1734692
1741174
1752350
1764704
1772354
1783534
1793537
1801180
1813543
1823546
1835915
1844736
1853555
1864744
1874748
1883564
1892378
1903570
1912382
19261152
1933579
19481552
1952390
1961196
1971197
1983594
1993597
2001200
2011201
2022404
2033609
2042408
2052410
2064824
2072414
2083624
2092418
21051050
2112422
2122424
21351065
2142428
2152430
2161216
2171217
2183654
2203660
2211221
2224888
2232446
22451120
2252450
2273681
2283684
22951145
2313693
2323696
2332466
2342468
2351235
2361236
23771659
2381238
2391239
2401240
2411241
2421242
2434972
2444976
2453735
24651230
2473741
2482496
2502500
2513753
25251260
2531253
2541254
2553765
2571257
2581258
2593777
2602331606060
Total3333733754

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
02331
11000
81
Total3332


Wire Log

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