Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.2.12 : Pass - 50639 ms @ 2024-06-08T14:38:36.997Z

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=331&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: VPkKGTMSrMTHolavFnjWHg==
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: MvYtpsT+E2QCa3y8WsKGiQ9k+NE=
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
810018008
4071407
190411904
14480114480
1638499916367616
Total200316392415

Octets Transmitted by Chop Size

Chop SizeCountOctets
212
326
4624
5630
6318
7321
8324
9327
10550
11444
12560
13339
14114
15460
16116
18472
20240
21363
22244
23369
24248
25250
26378
274108
28256
29129
30390
315155
326192
33266
34134
354140
36136
37274
38276
393117
40280
417287
423126
433129
44288
453135
46292
47294
48148
49149
504200
515255
523156
534212
543162
553165
566336
575285
585290
593177
603180
612122
625310
646384
65165
662132
676402
685340
693207
7011770
716426
726432
735365
744296
756450
763228
773231
782156
797553
806480
815405
824328
832166
843252
855425
864344
874348
882176
894356
90190
913273
924368
933279
944376
956570
967672
972194
987686
993297
1003300
1013303
1026612
1031103
1045520
1052210
1064424
1074428
1086648
1096654
1104440
1115555
1124448
1138904
1144456
1156690
1166696
1173351
1181118
1196714
1204480
1213363
1226732
1235615
1244496
1253375
1264504
1271127
1305650
1312262
1326792
1333399
1342268
1352270
1362272
1376822
1385690
1395695
1401140
1415705
1424568
1432286
14471008
1455725
1462292
1471147
1481148
1493447
1505750
1514604
1522304
1535765
1545770
1562312
1571157
1584632
1593477
1604640
1612322
1621162
1635815
1642328
1654660
1662332
16761002
1683504
1693507
1703510
1715855
1722344
17361038
1745870
1752350
1762352
1773531
1783534
1793537
1803540
1821182
1832366
1845920
1855925
18661116
18781496
18861128
1894756
1901190
1913573
1922384
19381544
1944776
19571365
19671372
1974788
1985990
1994796
20181608
20251010
203112233
2042408
20551025
2064824
20751035
2081208
20961254
2101210
2113633
2124848
213102130
2144856
21561290
216132808
2173651
21861308
21961314
2203660
221122652
2223666
22351115
2244896
22551125
22651130
22751135
2284912
22971603
23051150
2314924
2323696
23381864
23451170
2354940
23651180
237102370
23861428
23971673
24071680
24151205
2424968
24392187
24461464
2453735
2461246
2474988
2483744
24951245
25041000
2512502
25241008
2531253
2542508
25541020
2563768
25761542
2583774
25961554
2605385014001000
Total5485214141928

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
053850
21000
81
Total54851


Wire Log

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