Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.3.12 : Pass - 50512 ms @ 2024-06-08T14:46:24.564Z

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=349&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: XJaCbxyw8cuqiafwvH8RvQ==
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: EpRsDC2BuWUhvgHCOznY306q+2E=
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
236
313
4624
5315
6318
7535
8216
9327
10330
11222
12112
13452
14342
15460
16348
17468
18118
19119
20480
215105
22244
235115
24496
25375
264104
27381
284112
29129
30260
32264
334132
34134
357245
363108
375185
385190
39278
406240
413123
42284
44288
453135
464184
476282
486288
493147
505250
513153
526312
536318
547378
552110
567392
573171
587406
59159
60160
616366
629558
635315
644256
652130
665330
675335
685340
694276
705350
717497
727504
7310730
748592
757525
766456
773231
784312
7911869
803240
813243
823246
836498
846504
855425
864344
87187
884352
896534
905450
917637
923276
934372
946564
956570
963288
977679
984392
997693
1003300
1012202
1027714
1034412
1045520
1054420
1065530
1075535
1084432
1096654
1103330
1112222
1123336
1132226
1145570
1153345
1164464
1173351
1182236
1193357
1207840
1215605
1223366
1234492
1243372
1253375
1265630
1273381
1307910
1315655
1324528
1334532
1346804
1356810
1363408
1375685
1385690
139111529
1404560
1417987
1425710
1436858
1443432
14571015
1463438
14781176
1483444
1495745
1503450
1515755
1523456
1533459
1543462
1555775
1562312
15781256
1585790
1592318
1603480
1615805
1623486
1634652
16471148
1652330
1661166
1672334
1682336
1693507
1702340
1713513
17271204
1732346
1742348
17561050
1761176
1772354
1781178
1794716
1802360
18171267
18271274
1831183
1844736
1853555
1862372
1873561
1885940
1894756
1901190
1914764
1921192
1943582
1955975
1964784
1974788
1982396
19971393
20051000
2013603
2022404
2044816
20551025
2064824
2073621
20871456
2092418
2103630
21151055
21261272
2133639
2143642
2152430
2162432
2182436
21981752
22071540
22151105
2221222
2233669
22451120
22571575
22661356
22751135
2282456
2293687
2302460
23171617
2324928
2334932
2342468
23551175
23651180
2373711
2384952
23951195
2402480
24161446
2421242
24361458
2444976
2452490
24651230
2473741
2481248
2493747
2503750
2513753
2523756
2532506
2541254
2552510
25641024
2571257
2582516
2592518
260242806312800
Total252826440341

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
024280
21000
81
Total25281


Wire Log

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