Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.3.11 : Pass - 3014 ms @ 2024-06-08T14:46:21.547Z

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=348&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: GbbT1s70VvAkQ6ZWv++9Dw==
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: UI7umpZ7dOarqJCwlnJh0zdskgQ=
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
820010008200000
Total10028200415

Octets Transmitted by Chop Size

Chop SizeCountOctets
2612
339
4312
5840
6636
7428
8216
9654
10770
11999
12448
13452
14342
15115
16580
17351
18354
196114
207140
218168
226132
235115
247168
25375
26378
275135
284112
299261
309270
317217
325160
33266
345170
354140
363108
374148
3810380
394156
407280
418328
428336
435215
446264
457315
464184
476282
487336
496294
5011550
517357
527364
537371
545270
553165
568448
573171
585290
593177
605300
614244
626372
632126
64164
662132
683204
693207
70170
713213
724288
743222
754300
766456
77177
783234
792158
802160
816486
82182
833249
844336
854340
86186
873261
883264
893267
904360
915455
92192
934372
953285
972194
98198
992198
1001100
1012202
1027714
1031103
1043312
1055525
1071107
1083324
1091109
1104440
1116666
1122224
1142228
1154460
1162232
1174468
1183354
1192238
1201120
1212242
1224488
1243372
1253375
1266756
1274508
1315655
1323396
1335665
1341134
1356810
1361136
1385690
1393417
1417987
1422284
1434572
1443432
1452290
1462292
1475735
1482296
1493447
1501150
1512302
1525760
1533459
1541154
1555775
1563468
1572314
1581158
1594636
1606960
1612322
1623486
1632326
1643492
1656990
1662332
1672334
1683504
1695845
1701170
1714684
1721172
1732346
17461044
1753525
1772354
1782356
17961074
1801180
1811181
1824728
1833549
1844736
1851185
1861186
1874748
1881188
1901190
1915955
1923576
19361158
1945970
1953585
1961196
1973591
1984792
1994796
2014804
2021202
20351015
2043612
20561230
20661236
20761242
2082416
20951045
21051050
2114844
2121212
21381704
2141214
2154860
2161216
21761302
2181218
21991971
2204880
2213663
22291998
22361338
224143136
22571575
22692034
22781816
22892052
2292458
23071610
23161386
23292088
23351165
23451170
23571645
2364944
23792133
23861428
2394956
240102400
2412482
2423726
24361458
2444976
2454980
2463738
24751235
24881984
2494996
25041000
2513753
25261512
2531253
25461524
25561530
25641024
25741028
2582516
25971813
260119803114800
Total129823244763

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
011980
21000
81
Total12981


Wire Log

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