Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.4.15 : Pass - 8874 ms @ 2024-06-08T14:55:50.681Z

Case Description

Send 1000 compressed messages each of payload size 131072, 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=370&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: 0IEaKH1pG0kpn0bNU4ITJw==
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: RSfIWpV45zGDoOg9P8agteJiog0=
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
144916874
20480
21242
27127
28128
34268
354140
4148619926
4071407
14480114480
163848131072
22110122110
28960128960
491664196664
491934196772
655361991130482176
Total3003131099834

Octets Transmitted by Chop Size

Chop SizeCountOctets
236
3721
4624
5420
6212
7321
8432
9545
10330
11222
12560
13565
14684
15115
16580
17468
18472
19238
20360
21363
22366
23246
24372
259225
284112
29258
30390
315155
326192
33266
344136
357245
365180
374148
384152
393117
404160
41141
42142
433129
446264
454180
46146
47147
483144
49298
504200
516306
523156
532106
54154
55155
564224
577399
583174
59159
603180
614244
636378
646384
654260
664264
6712804
685340
692138
702140
712142
724288
734292
757525
76176
77177
783234
79179
807560
814324
823246
838664
844336
857595
864344
875435
883264
893267
904360
918728
923276
93193
942188
952190
968768
976582
98198
993297
1003300
1017707
1021102
1037721
1043312
1064424
1076642
1087756
1091109
1105550
1111111
1122224
1133339
1141114
1152230
1162232
1181118
1193357
1201120
1215605
1221122
1238984
1248992
125101250
1263378
1271127
1304520
131101310
1321132
1334532
1341134
1354540
1366816
1373411
138111518
1394556
1403420
1414564
1424568
1433429
1444576
1452290
1461146
1474588
1481148
1492298
1502300
1515755
15271064
15391377
1545770
1553465
1564624
1573471
1581158
1594636
1604640
1616966
1622324
1631163
1642328
1654660
1662332
1672334
16861008
16961014
17061020
1715855
17281376
1734692
1741174
17561050
17661056
1775885
1782356
1793537
18071260
1812362
1823546
18371281
18461104
18571295
1863558
18771309
1882376
1891189
1905950
1911191
1924768
193101930
1944776
1954780
1964784
1974788
1981198
1993597
2002400
20151005
2024808
2034812
20451020
20581640
20651030
2073621
20861248
2092418
21081680
2113633
2124848
2131213
21461284
2151215
2163648
2174868
21891962
21981752
2202440
2211221
2223666
2233669
224102240
2251225
2263678
2273681
2284912
22971603
23081840
2314924
23251160
2334932
2343702
2354940
2364944
2373711
2381238
23971673
2403720
24171687
24261452
24361458
2443732
2451245
24651230
24761482
2481248
2492498
25092250
25141004
25282016
25341012
2543762
25571785
25641024
2572514
25851290
25961554
260276607191600
Total286627328163

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
027660
11000
81
Total28661


Wire Log

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