Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.4.13 : Pass - 50495 ms @ 2024-06-08T14:54:10.051Z

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=368&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: WYiWh7LX37Lm1cDfL0DP0g==
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: NPbexKEKjFhXBVeqNYUK1xRJNhA=
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
1639286914244648
16398349194
16399349197
16405116405
16406116406
16412349236
16413349239
164191171921023
Total200332779763

Octets Transmitted by Chop Size

Chop SizeCountOctets
236
3412
41040
5420
616
7321
8324
9218
10550
11222
12224
13339
14114
15230
16232
17468
18236
205100
217147
227154
23492
24248
25125
266156
277189
284112
295145
30390
317217
324128
33399
347238
356210
36272
373111
383114
396234
405200
41141
428336
43286
444176
453135
464184
474188
48296
493147
504200
516306
526312
536318
544216
552110
563168
57157
587406
595295
602120
614244
627434
636378
645320
653195
665330
675335
68168
69169
703210
71171
725360
733219
746444
758600
762152
777539
788624
796474
803240
819729
828656
834332
845420
853255
865430
876522
892178
903270
914364
922184
936558
946564
956570
967672
975485
986588
995495
1006600
1013303
1027714
1033309
1044416
1053315
1064424
1072214
1087756
1096654
1104440
1116666
112111232
1133339
1146684
1158920
116151740
117101170
1185590
1192238
1204480
121121452
1225610
1235615
1247868
1253375
1264504
1273381
1304520
1314524
1327924
1335665
1345670
1355675
1363408
1372274
1386828
13981112
1406840
1413423
1422284
1436858
1443432
1454580
1462292
1472294
1483444
1496894
1502300
1513453
1522304
1533459
1541154
1555775
1565780
1573471
1583474
1595795
1605800
1622324
1636978
1645820
1654660
1664664
16771169
1682336
1693507
17161026
17261032
17361038
17461044
1751175
17681408
1772354
1782356
1793537
1802360
1811181
18271274
1833549
1843552
1853555
1863558
1874748
1882376
1893567
1901190
1912382
1925960
1933579
1941194
1952390
1962392
1974788
1984792
1995995
2003600
2012402
2024808
20351015
2042408
2053615
2061206
2071207
2084832
2093627
2101210
2112422
2121212
2133639
2142428
2151215
2161216
2172434
21861308
21951095
2203660
2213663
22251110
2234892
2243672
2254900
2264904
2274908
22861368
23061380
2312462
23271624
2331233
2344936
2352470
2364944
2371237
2382476
2392478
24051200
2414964
2422484
2432486
2443732
2452490
2463738
2474988
2481248
2493747
25041000
2512502
25261512
2532506
25441016
2551255
2563768
25741028
2583774
2593777
26065071691820
Total75091814594

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
06507
11000
81
Total7508


Wire Log

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