Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.5.11 : Pass - 4425 ms @ 2024-06-08T14:58:59.728Z

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=384&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: r5HnzI/dY8KsyMSwcrnJ0A==
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: +IXrQbYWa2/AE7RYGO9DLBb5kPc=
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
212
326
4728
5210
6636
7642
813104
919
10440
11333
12224
13113
14228
16464
17468
18354
196114
206120
216126
22244
235115
24496
25250
26252
27381
28256
294116
30260
31262
324128
336198
34268
354140
363108
38138
394156
405200
418328
424168
43286
444176
45145
464184
47294
483144
49298
503150
514204
523156
533159
542108
552110
565280
573171
584232
594236
60160
614244
626372
633189
644256
65165
672134
685340
697483
703210
715355
727504
734292
745370
755375
765380
773231
783234
793237
803240
81181
826492
832166
843252
852170
863258
877609
883264
894356
905450
915455
925460
932186
946564
969864
975485
984392
994396
1002200
1017707
1023306
1035515
1044416
1055525
1066636
1078856
1083324
1097763
1102220
1114444
1125560
1137791
1144456
1153345
1165580
1173351
1185590
1194476
1205600
1213363
1223366
1237861
1245620
1254500
1264504
1275635
1305650
13191179
1325660
1333399
1343402
1356810
1363408
1376822
1382276
1392278
1406840
1415705
1425710
1434572
1443432
1456870
1463438
1474588
1481148
1494596
1506900
15171057
15281216
1534612
1541154
1552310
1565780
1576942
158111738
1594636
1606960
16171127
1624648
1635815
16471148
1654660
1664664
1674668
16871176
16981352
1704680
1713513
17261032
17361038
1745870
1753525
1762352
17761062
1784712
1795895
1802360
18181448
1822364
1833549
1844736
1853555
1865930
1875935
1884752
1893567
1904760
1911191
19261152
1934772
1944776
1955975
1962392
19781576
19871386
1992398
20051000
2012402
20271414
2033609
2043612
20581640
20651030
2073621
20881664
20971463
2102420
2114844
2124848
2132426
2141214
2153645
21651080
2172434
2181218
2191219
2214884
2223666
2232446
2243672
2253675
2264904
2272454
2281228
22981832
2301230
2314924
23251160
2334932
2342468
2353705
2364944
2374948
2384952
23981912
2401240
2412482
2423726
2431243
2444976
2454980
2463738
24751235
2483744
2503750
2511251
25251260
2531253
2542508
25671792
2572514
2582516
25951295
260240656256900
Total250676387540

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
024065
21000
81
Total25066


Wire Log

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