Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.3.5 : Pass - 1079 ms @ 2024-06-08T14:43:37.468Z

Case Description

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

Octets Transmitted by Chop Size

Chop SizeCountOctets
414
2521252
128211282
128411284
128822576
128911289
129011290
129122582
129222584
129422588
129711297
129922598
130022600
130111301
130511305
130711307
130911309
131511315
139411394
140011400
140411404
140611406
141511415
142511425
143222864
143311433
144611446
145311453
146111461
146411464
146522930
147411474
148011480
148311483
148611486
148811488
149122982
149311493
149711497
149811498
149922998
150011500
150511505
150711507
150934527
151057550
151123022
151311513
151423028
151511515
151611516
151757585
151834554
152011520
152123042
152223044
152311523
152623052
152711527
152823056
152923058
153023060
153123062
153234596
153334599
153446136
153534605
153611536
153746148
153811538
153957695
154023080
154123082
154234626
154334629
154423088
154511545
154657730
154757735
154846192
155034650
155134653
155269312
1553812424
155434662
1555710885
155657780
1557812456
1558914022
1559710913
1560812480
156123122
15621117182
156357815
156411564
156523130
156657830
156746268
156811568
156969414
157069420
157157855
1572711004
157357865
157457870
157523150
157623152
157746308
157811578
157923158
1580711060
158169486
158269492
158357915
158434752
158523170
1586711102
158746348
158823176
158946356
159057950
159157955
15921117512
159369558
1594711158
159534785
159646384
1597711179
159846392
1599812792
160058000
160123202
160223204
1603711221
160434812
160523210
160611606
160758035
160858040
160911609
161046440
161146444
1612914508
161334839
161534845
161658080
161746468
161846472
161969714
162046480
162123242
162258110
162369738
162469744
162546500
162646504
162746508
162858140
162969774
163023260
163134893
163234896
163311633
1634711438
163534905
163646544
163711637
163823276
163923278
1640711480
164134923
164234926
164346572
164469864
16451118095
164646584
1647813176
164869888
164946596
1650813200
1651914859
165246608
165346612
165411654
165523310
165634968
165746628
165823316
165958295
166023320
166146644
166246648
166323326
166434992
166511665
166669996
166723334
16681016680
166958345
1670610020
1671813368
1672915048
167358365
167423348
167546700
1676813408
167758385
167858390
1679610074
1680610080
168135043
16821118502
16831016830
1684915156
168558425
168635058
168746748
168923378
169046760
169158455
1692915228
169358465
1694711858
1695711865
169646784
16971016970
169823396
169911699
1700711900
170123402
170246808
170323406
170435112
170558525
170635118
170723414
170823416
170911709
171011710
171146844
171346852
171446856
171523430
171623432
171735151
171835154
171911719
172011720
172135163
1722712054
172311723
172435172
172535175
172635178
172811728
172923458
173011730
173123462
173211732
173323466
173823476
174011740
174535235
174611746
174723494
174823496
175123502
175311753
175423508
175523510
175611756
175711757
175911759
176011760
176211762
176511765
176711767
177035310
177123542
177235316
177511775
177611776
178411784
178711787
178911789
179011790
179111791
179211792
179411794
179611796
179723594
180011800
180411804
181011810
181411814
181611816
182023640
182123642
182211822
182511825
182711827
182823656
182911829
183111831
183611836
184011840
184423688
184511845
184711847
184811848
185011850
185411854
186111861
213812138
Total10021624398

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
21000
81
Total1001


Wire Log

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