Autobahn WebSocket Testsuite Report
Autobahn WebSocket

stratus@2 - Case 2.5 : Fail - 1 ms @ 2026-04-02T15:17:10.841Z

Case Description

Send ping with binary payload of 126 octets.

Case Expectation

Connection is failed immediately (1002/Protocol Error), since control frames are only allowed to have payload up to and including 125 octets..

Case Outcome

Actual events differ from any expected.

Expected:
{'OK': []}

Observed:
[('pong', '0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe ...')]

Case Closing Behavior

The connection was failed by the wrong endpoint (FAILED)



Opening Handshake

GET /runCase?case=21&agent=stratus%402 HTTP/1.1
host: 127.0.0.1:9001
upgrade: websocket
connection: upgrade
sec-websocket-key: fRIf9g1ADr5E5sE+/MNLkw==
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: ORA7clw71gmxQHA7TjIpGKEQZnU=


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.
localCloseCode1002The close code I sent in close frame (if any).
localCloseReasoncontrol frame with payload length > 125 octetsThe 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
1341134
2321232
Total2366

Octets Transmitted by Chop Size

Chop SizeCountOctets
50150
1301130
2081208
Total3388

Frames Received by Opcode

OpcodeCount
101
Total1

Frames Transmitted by Opcode

OpcodeCount
81
91
Total2


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d3231266167656e743d737472617475732534303220485454502f312e310d0a68
               6f73743a203132372e302e302e31 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               5465737453756974652f32352e31 ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=126, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
003 TX OCTETS: 897e007efefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefe ...
004 FAIL CONNECTION AFTER 1.000000 sec
005 RX OCTETS: 8afe007e00000000fefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefe ...
006 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=48, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03ea636f6e74726f6c206672616d652077697468207061796c6f6164206c656e677468203e20313235206f6374657473
007 TX OCTETS: 883003ea636f6e74726f6c206672616d652077697468207061796c6f6164206c656e677468203e20313235206f6374657473
008 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=126, MASKED=True, MASK=3030303030303030
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
009 TCP DROPPED BY PEER