Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.2.11 : Pass - 3899 ms @ 2024-06-08T14:38:33.095Z

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=330&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: pt88PJtyuDRtnI5n8g0m/A==
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: +McSCBLH8Eo6i97+zaoTeNFJ+kE=
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
21122
3824
41768
51050
6318
7535
8972
9545
10660
11666
12560
13791
14684
15345
16580
176102
189162
19357
205100
218168
22366
235115
24372
25250
26252
27127
28256
29129
304120
31131
325160
34268
355175
363108
37274
38138
394156
40140
414164
42284
43143
444176
454180
463138
476282
483144
496294
503150
518408
523156
534212
54154
556330
566336
577399
582116
594236
605300
616366
62162
639567
643192
653195
665330
677469
684272
692138
706420
716426
725360
73151095
745370
757525
766456
772154
789702
793237
808640
817567
824328
835415
843252
853255
864344
875435
882176
892178
903270
914364
925460
934372
943282
954380
962192
973291
986588
99199
1012202
1023306
1033309
1045520
1056630
1065530
1074428
1087756
1095545
1105550
1112222
1125560
1133339
1142228
1156690
1163348
1173351
1183354
1193357
1201120
1213363
1232246
1241124
1265630
1274508
1314524
1324528
1332266
1342268
1352270
1361136
1371137
1381138
1393417
1404560
1412282
1432286
1442288
1452290
1466876
1472294
1483444
1502300
1514604
1521152
1532306
1541154
1555775
1563468
1571157
1581158
1592318
1601160
1613483
1621162
1634652
1653495
1662332
1673501
1684672
1693507
1701170
1712342
1724688
1734692
1745870
17561050
1763528
1771177
1782356
1793537
1804720
1813543
1822364
18371281
1841184
18661116
1872374
1881188
1893567
1901190
1912382
1922384
1931193
1942388
1953585
1962392
19781576
1985990
19991791
20071400
2014804
2022404
2034812
20451020
2052410
20661236
2073621
2081208
21061260
2112422
2121212
2133639
2142428
2151215
2162432
2173651
2181218
2192438
2203660
2211221
2222444
22351115
22451120
2252450
2261226
2274908
228112508
22951145
2301230
2313693
2323696
2334932
2344936
2353705
2364944
23761422
23861428
239102390
240122880
24181928
24261452
24361458
24461464
24561470
24751235
24881984
249133237
25092250
25141004
25292268
25382024
2543762
25571785
25671792
25741028
25892322
25992331
260267516955260
Total277537083403

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
026751
21000
81
Total27752


Wire Log

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