Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 13.2.13 : Pass - 50446 ms @ 2024-06-08T15:13:00.370Z

Case Description

Send 1000 compressed messages each of payload size 32768, auto-fragment to 256 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(True, 0)]

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=422&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: rvtVQQYK7htRXUN4hOKXfw==
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: D/pxaJzA2cF949y/lDmV9Xk4i2o=
Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover


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
21020
31133
41560
5840
61060
7642
8540
91199
10330
11555
12896
1310130
148112
1510150
168128
178136
189162
1911209
2014280
2111231
2215330
238184
248192
256150
268208
278216
287196
298232
306180
315155
326192
335165
345170
355175
36272
375185
38276
395195
40280
41141
425210
434172
443132
456270
46292
47294
483144
494196
504200
513153
524208
532106
544216
552110
572114
583174
593177
60160
612122
622124
634252
642128
656390
662132
67167
696414
706420
712142
737511
744296
75175
762152
773231
783234
793237
805400
812162
82182
83183
842168
856510
863258
875435
887616
893267
903270
914364
924368
942188
95195
963288
97197
983294
995495
1003300
1012202
1023306
1036618
1041104
1054420
1062212
1072214
1086648
1094436
1104440
1111111
1124448
1134452
1143342
1154460
1162232
1172234
1193357
1203360
1213363
1223366
1232246
1242248
1262252
1272254
1301130
1312262
1321132
1336798
1342268
1351135
1363408
1374548
1381138
1391139
1401140
1414564
1422284
1432286
1441144
1452290
1461146
1474588
1492298
1512302
1524608
1541154
1551155
1563468
1572314
1594636
1601160
1612322
1622324
1641164
1664664
1672334
1681168
1692338
1701170
1712342
1722344
1732346
1743522
1752350
1762352
1772354
1791179
1802360
1811181
1821182
1832366
1841184
1853555
1862372
1872374
1882376
1894756
1904760
19161146
1923576
1932386
1942388
1951195
1962392
1973591
1983594
1992398
2002400
2011201
2021202
2033609
2044816
20561230
2063618
2072414
2084832
2093627
2102420
2111211
2124848
2133639
2142428
21551075
21661296
2171217
2183654
2191219
2204880
22161326
2223666
2232446
2244896
2253675
2264904
2273681
2284912
2293687
2304920
2313693
2324928
23361398
23451170
2353705
2362472
23771659
23892142
23951195
24071680
2412482
242102420
2434972
2444976
24581960
24661476
24871736
249133237
25041000
251112761
25261512
253102530
254102540
255102550
256164096
257133341
258184644
259143626
26051161330160
2801280
Total61181454517

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
05116
11000
81
Total6117


Wire Log

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