Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 13.3.16 : Pass - 4606 ms @ 2024-06-08T15:20:25.312Z

Case Description

Send 1000 compressed messages each of payload size 131072, auto-fragment to 1024 octets. Use permessage-deflate client offers (requestNoContextTakeover, requestMaxWindowBits): [(False, 9)]

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=443&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: VtlI6B7ZHVHASAzM+UsqlA==
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: 54Wvu/7cLnoMRPgo0OtXimmv8gA=
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits=9


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
1499113874
4071407
14480114480
163848131072
22110122110
28960128960
491668393328
655361991130482176
Total3003131086415

Octets Transmitted by Chop Size

Chop SizeCountOctets
414
2781278
4552910
4561456
4571457
4581458
4592918
46052300
46173227
46252310
46341852
4641464
46562790
46683728
46762802
46841872
469115159
47083760
47173297
47262832
47362838
47441896
47541900
47652380
47752385
47873346
479178143
480167680
481146734
482136266
48362898
48462904
485104850
486167776
487136331
48894392
48962934
49062940
49162946
4922984
49341972
49452470
49541980
49662976
49731491
4992998
50021000
50221004
5041504
5051505
50731521
50931527
51021020
5121512
51421028
5151515
51721034
51831554
5191519
52021040
52121042
5221522
52321046
5241524
52531575
5261526
52731581
52863168
52921058
53021060
53121062
5371537
5441544
54521090
5471547
5481548
5501550
55121102
55331659
5541554
5551555
55621112
55731671
55895022
55952795
56031680
561105610
562105620
563158445
5642011280
565147910
566169056
567147938
5682111928
5692614794
570179690
571116281
5722514300
5732112033
5742413776
575169200
5762514400
5772413848
5782413872
579126948
580179860
5811911039
582137566
58395247
5842514600
5852514625
586169376
587127044
588116468
58984712
590105900
591137683
59242368
59363558
59431782
5951595
59621192
59721194
59852990
59931797
60031800
60153005
60242408
603127236
604106040
60574235
606116666
60795463
60821216
60931827
61121222
61231836
6131613
6261626
6271627
6281628
63031890
63121262
6331633
6411641
64221284
102850005140000
Total60025688380

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
05000
11000
81
Total6001


Wire Log

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