Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.4.11 : Pass - 1348 ms @ 2024-06-08T14:53:18.273Z

Case Description

Send 1000 compressed messages each of payload size 8192, 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=366&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: 3nKxkbVOApxQ2ZRkQvec2w==
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: 5vqlIdSkRCdk2uEt1bC0zs1hlWY=
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
4071407
82009647904800
8213541065
8214541070
822726213902
Total10028201252

Octets Transmitted by Chop Size

Chop SizeCountOctets
224
326
4520
6212
7214
8216
9436
10550
11555
12112
13339
14456
16116
17234
186108
19238
20480
21484
22122
2311253
24372
258200
266156
274108
285140
294116
305150
317217
325160
337231
34268
353105
366216
37137
38276
393117
40140
415205
42142
435215
443132
455225
464184
47294
494196
504200
512102
525260
536318
545270
556330
563168
57157
58158
594236
603180
616366
624248
637441
649576
652130
667462
672134
683204
694276
70170
71171
72172
732146
743222
752150
76176
77177
783234
792158
804320
81181
822164
833249
84184
854340
864344
874348
884352
892178
905450
913273
923276
938744
942188
957665
964384
976582
985490
993297
1004400
1012202
1026612
1034412
1043312
1059945
1065530
1078856
108121296
1095545
1108880
111101110
112131456
1133339
1146684
1155575
1164464
1177819
118131534
1195595
1203360
1212242
1221122
1233369
1248992
1254500
1263378
12781016
1306780
1323396
1341134
1356810
1363408
1384552
1393417
1402280
1444576
1451145
1471147
1483444
1491149
1504600
1512302
1525760
1541154
1552310
1566936
15791413
1584632
1594636
1603480
1615805
1624648
1632326
1645820
1653495
1664664
1672334
16871176
16971183
1702340
1722344
1732346
1744696
17591575
1762352
1773531
1781178
1794716
1804720
18161086
182101820
18371281
18471288
1852370
1863558
1874748
18861128
18971323
1905950
1912382
19271344
19371351
19461164
1952390
19671372
1972394
1983594
1995995
2004800
2014804
2021202
20351015
20451020
2051205
2062412
2071207
2084832
20951045
2112422
2133639
2143642
2151215
2161216
2173651
2182436
2191219
2203660
2214884
22291998
22361338
22471568
22571575
2263678
22761362
2281228
2291229
23051150
23171617
2323696
2332466
23461404
23551175
23681888
23761422
2384952
23951195
240102400
2414964
24261452
24351215
24492196
24561470
24671722
24792223
248102480
24961494
25061500
25141004
2523756
2533759
2542508
25541020
2573771
2592518
2601278332280
Total2280467550

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
01278
11000
81
Total2279


Wire Log

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