Autobahn WebSocket Testsuite Report
Autobahn WebSocket

undici - Case 12.3.4 : Pass - 863 ms @ 2024-06-08T14:43:36.601Z

Case Description

Send 1000 compressed messages each of payload size 1024, auto-fragment to 0 octets. Use default permessage-deflate offer.

Case Expectation

Receive echo'ed messages (with payload as sent). Timeout case after 240 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=341&agent=undici HTTP/1.1
host: localhost:9001
connection: upgrade
upgrade: websocket
sec-websocket-key: Ta+JrBg3Z+N0ibrAB2wBmA==
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: yJmfknNw4CUlq3lwFn+nwR9j5cw=
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
103210001032000
Total10021032415

Octets Transmitted by Chop Size

Chop SizeCountOctets
414
2521252
2991299
3011301
3072614
3262652
3271327
3281328
3312662
3321332
3341334
3351335
3381338
3401340
3411341
34331029
3452690
3461346
3472694
3511351
3531353
3561356
3582716
3601360
36431092
3671367
3692738
3701370
37231116
37331119
3751375
3811381
3832766
3842768
3852770
3862772
3872774
3882776
3891389
39241568
39383144
3941394
3951395
39631188
39772779
39883184
399103990
40072800
40141604
40241608
40372821
40493636
40562430
406114466
407114477
40852040
40983272
41072870
41131233
41262472
4132826
41462484
41583320
41683328
41762502
418145852
41972933
420104200
421156315
422135486
423145922
424104240
425135525
426114686
42772989
428187704
42962574
43073010
431177327
432146048
433166928
434156510
435135655
436146104
4372310051
438177446
439229658
4402912760
4412711907
442146188
443187974
444135772
445135785
446167136
447114917
44883584
449198531
450135850
451156765
452135876
453146342
4542410896
455125460
456125472
45794113
45862748
45941836
46052300
46194149
462125544
463156945
464177888
46583720
466104660
46783736
4682936
46962814
47031410
47173297
4722944
47341892
47441896
47531425
47652380
4772954
4781478
4792958
48041920
4812962
48262892
4842968
4861486
4871487
4882976
4892978
49031470
4912982
49241968
4931493
49441976
49531485
49631488
49731491
49831494
4991499
50031500
50131503
50221004
5101510
51231536
5161516
5181518
5191519
5201520
5311531
54121082
5451545
5481548
5531553
5631563
5971597
Total1002436719

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
21000
81
Total1001


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d333431266167656e743d756e6469636920485454502f312e310d0a686f73743a
               206c6f63616c686f73743a393030 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               5465737453756974652f302e382e ...
002 WIRELOG DISABLED
003 CLOSE CONNECTION AFTER 240.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