Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.5.13 : Pass - 60496 ms @ 2024-06-08T15:00:01.051Z

Case Description

Send 1000 compressed messages each of payload size 32768, 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=386&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: wKEOkdkkcJpgXVryN0Jn5w==
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: 76SAjzsduwVtPYwsWXI+4RkhFOY=
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
190411904
14480114480
1638499916367616
16392100016392000
Total200332776415

Octets Transmitted by Chop Size

Chop SizeCountOctets
236
3412
4520
5315
6318
7321
8540
919
10330
11333
12224
13678
14570
15460
16464
17117
18118
199171
20240
216126
22122
23123
246144
254100
266156
274108
284112
29387
30130
31131
324128
33399
346204
357245
363108
374148
386228
395195
40280
41282
426252
433129
44144
455225
46292
47294
485240
502100
515255
522104
534212
545270
552110
56156
576342
584232
593177
60160
617427
623186
632126
644256
652130
66166
673201
684272
695345
707490
713213
726432
733219
744296
754300
763228
772154
785390
795395
802160
81181
825410
832166
843252
855425
865430
875435
887616
894356
903270
916546
925460
935465
942188
953285
967672
973291
985490
998792
1006600
1011101
1025510
1039927
1041104
1053315
1065530
1074428
1086648
1095545
1107770
1113333
1125560
1137791
1144456
1152230
1163348
1175585
1184472
1193357
1206720
1214484
1224488
1234492
1244496
1252250
1267882
1275635
1305650
1316786
13281056
1334532
1343402
1357945
1366816
1372274
1384552
1395695
14081120
1414564
1421142
14371001
14491296
1452290
1463438
1476882
1482296
1495745
15081200
1513453
1522304
1533459
1542308
1555775
1562312
1573471
1585790
1594636
1605800
16171127
1621162
1632326
1641164
1653495
16691494
1675835
1681168
1694676
1705850
1713513
1724688
1734692
1745870
17561050
1763528
1775885
1782356
1792358
1803540
1812362
18261092
18381464
18471288
1851185
18671302
1874748
1882376
1894756
19071330
1914764
1923576
1931193
1944776
1954780
1965980
1971197
1982396
1995995
20071400
2013603
2024808
20351015
2044816
20571435
20661236
2072414
2083624
2094836
21081680
2113633
21251060
21361278
2141214
2162432
21761302
2184872
2193657
22061320
22151105
22251110
22361338
2243672
2254900
2263678
2271227
2284912
2294916
2301230
23151155
2324928
2343702
2354940
2372474
23861428
2393717
24051200
2414964
2423726
2431243
2443732
24561470
24651230
2472494
2484992
2494996
2502500
2511251
25271764
25341012
2541254
25561530
25641024
2572514
2582516
25951295
2609688925191140
Total9789125322410

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
096889
21000
81
Total97890


Wire Log

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