Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 13.2.5 : Pass - 911 ms @ 2024-06-08T15:09:30.423Z

Case Description

Send 1000 compressed messages each of payload size 4096, auto-fragment to 0 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=414&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: OQG0gRlPCMSLcDiuCbtfng==
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: p4ocKNn9Cn94q8fNLmd+W5q3pq8=
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
410410004104000
Total10024104415

Octets Transmitted by Chop Size

Chop SizeCountOctets
414
1481148
1492298
1502300
1514604
1533459
1542308
1552310
1563468
1571157
1582316
1591159
1606960
1615805
1621162
16371141
16471148
165101650
166132158
167101670
168132184
169142366
170193230
171203420
172162752
173284844
174203480
175244200
176234048
177234071
178234094
179285012
180203600
181193439
182173094
183122196
184224048
185264810
186122232
187132431
188152820
189112079
190112090
191163056
192112112
19391737
19471358
195101950
1963588
19791773
198112178
1995995
2004800
201102010
202102020
2034812
20471428
2051205
2063618
20751035
20851040
20951045
210102100
211112321
212102120
213122556
214102140
21571505
2164864
21791953
218112398
219102190
220173740
22161326
222122664
223143122
22471568
225132925
226112486
22792043
228112508
229153435
230122760
231163696
23271624
23361398
2343702
2352470
2361236
2402480
24251210
2432486
2444976
2452490
2464984
2471247
2484992
2491249
2512502
2523756
25341012
2541254
2551255
25641024
2572514
2583774
2591259
26061560
2613783
26261572
26351315
26451320
26592385
26651330
26741068
2681268
2693807
2701270
2721272
2801280
2811281
2851285
3061306
Total1002198941

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
11000
81
Total1001


Wire Log

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