Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.3.13 : Pass - 59766 ms @ 2024-06-08T14:47:15.080Z

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=350&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: IvHIkzkPRHSqGroxCgk7Jg==
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: FZc7F6ndVNWfxe6A98DFaP3rGYk=
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
248
326
4312
515
6318
7535
8432
9218
10440
11333
12448
13113
14342
16232
17117
18118
19476
205100
21242
225110
24124
254100
266156
27381
28256
294116
306180
31131
32132
33266
344136
353105
364144
374148
38276
39139
403120
413123
42284
433129
443132
45290
463138
474188
487336
493147
505250
516306
522104
532106
543162
552110
56156
574228
594236
603180
612122
624248
633189
644256
652130
665330
678536
687476
698552
704280
712142
723216
735365
744296
752150
764304
774308
784312
796474
807560
812162
823246
837581
844336
853255
864344
873261
885440
895445
904360
916546
925460
933279
943282
954380
968768
977679
988784
992198
1009900
1016606
1028816
1032206
1048832
1054420
1065530
1076642
1089972
1097763
1104440
111101110
1127784
11391017
1146684
1156690
1168928
1175585
11891062
1192238
1203360
1216726
1226732
1236738
1246744
1252250
1262252
1275635
1306780
1317917
132111452
1336798
1346804
1355675
1367952
1376822
1386828
1397973
1406840
1412282
142141988
14371001
1446864
14591305
1464584
1475735
1486888
1495745
1503450
15171057
1521152
1535765
1546924
1554620
1564624
1576942
1584632
15971113
1602320
1615805
1624648
1632326
1643492
16571155
1666996
1673501
1684672
1694676
1703510
17171197
1724688
1733519
1743522
1753525
1762352
1773531
1783534
1791179
1802360
1822364
1834732
1843552
1854740
1864744
1871187
1882376
1893567
1905950
1915955
1924768
1933579
1944776
1953585
1964784
1972394
1983594
19961194
20061200
2013603
20251010
20351015
20451020
2054820
2063618
2071207
2084832
2093627
2102420
21151055
2123636
2132426
2141214
2153645
2162432
2174868
2182436
2214884
2223666
2232446
2242448
22561350
2262452
22771589
2284912
2291229
2304920
2313693
2324928
23351165
2341234
2351235
2364944
2382476
2404960
2411241
2422484
2434972
2441244
2453735
2461246
24751235
2483744
2494996
2502500
25151255
2523756
2532506
25451270
25541020
25641024
2571257
2581258
2593777
2604888812710880
Total4989012839010

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
048888
21000
81
Total49889


Wire Log

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