Autobahn WebSocket Testsuite Report
Autobahn WebSocket

stratus@2 - Case 3.3 : Fail - 1001 ms @ 2026-04-02T15:17:19.869Z

Case Description

Send small text message, then send again with RSV = 3, then send Ping. Octets are sent in frame-wise chops. Octets are sent in octet-wise chops.

Case Expectation

Echo for first message is received, but then connection is failed immediately, since RSV must be 0, when no extension defining RSV meaning has been negotiated. The Pong is not received.

Case Outcome

Actual events differ from any expected.

Expected:
{'OK': [('message', u'Hello, world!', False)], 'NON-STRICT': []}

Observed:
[('pong', u''), ('message', u'Hello, world!', False), ('message', u'Hello, world!', False)]

Case Closing Behavior

The connection was failed by the wrong endpoint (FAILED)



Opening Handshake

GET /runCase?case=30&agent=stratus%402 HTTP/1.1
host: 127.0.0.1:9001
upgrade: websocket
connection: upgrade
sec-websocket-key: DEii8AGSxyuY0iUPH2U4sw==
sec-websocket-version: 13
sec-websocket-extensions: permessage-deflate
HTTP/1.1 101 Switching Protocols
Server: AutobahnTestSuite/25.10.1-0.10.9
X-Powered-By: AutobahnPython/0.10.9
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: yK+txF29LwmdP6PbZMPkj9JcEqc=


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).
failedByMeTrueTrue, 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.
droppedByMeFalseTrue, iff I dropped the TCP connection.
wasCleanFalseTrue, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonpeer dropped the TCP connection without previous WebSocket closing handshakeWhen 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.
localCloseCode1001The close code I sent in close frame (if any).
localCloseReasonGoing AwayThe close reason I sent in close frame (if any).
remoteCloseCodeNoneThe 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
616
38138
2321232
Total3276

Octets Transmitted by Chop Size

Chop SizeCountOctets
212
14114
15230
2081208
Total5254

Frames Received by Opcode

OpcodeCount
12
101
Total3

Frames Transmitted by Opcode

OpcodeCount
12
81
91
Total4


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d3330266167656e743d737472617475732534303220485454502f312e310d0a68
               6f73743a203132372e302e302e31 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               5465737453756974652f32352e31 ...
002 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               Hello, world!
003 TX OCTETS: 810d48656c6c6f2c20776f726c6421
004 TX FRAME : OPCODE=1, FIN=True, RSV=3, PAYLOAD-LEN=13, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               Hello, world!
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
006 FAIL CONNECTION AFTER 1.000000 sec
007 TX OCTETS: b10d48656c6c6f2c20776f726c6421
008 TX OCTETS: 8900
009 RX OCTETS: 8a8000000000
010 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=True, MASK=3030303030303030
011 RX OCTETS: 818da453a867ec36c40bcb7f8810cb21c40385818ddea11b9396c477ffb18d3be4b1d377f7ff
012 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=True, MASK=6134353361383637
               Hello, world!
013 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=True, MASK=6465613131623933
               Hello, world!
014 FAILING CONNECTION
015 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=12, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e9476f696e672041776179
016 TX OCTETS: 880c03e9476f696e672041776179
017 TCP DROPPED BY PEER