stratus@2 - Case 3.2 : Fail - 1001 ms @ 2026-04-02T15:17:18.866Z
Case Description
Send small text message, then send again with RSV = 2, then send Ping.
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:
[('message', u'Hello, world!', False), ('message', u'Hello, world!', False), ('pong', u'')]
Case Closing Behavior
The connection was failed by the wrong endpoint (FAILED)
GET /runCase?case=29&agent=stratus%402 HTTP/1.1 host: 127.0.0.1:9001 upgrade: websocket connection: upgrade sec-websocket-key: OUJW2Komgp6jQxdV3HsR9A== 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: tqay4ExYDJIm+N1s/6kvAfuN0VQ=
| Key | Value | Description |
| isServer | True | True, iff I (the fuzzer) am a server, and the peer is a client. |
| closedByMe | True | True, iff I have initiated closing handshake (that is, did send close first). |
| failedByMe | True | True, 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. |
| droppedByMe | False | True, iff I dropped the TCP connection. |
| wasClean | False | True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
| wasNotCleanReason | peer dropped the TCP connection without previous WebSocket closing handshake | When wasClean == False, the reason what happened. |
| wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
| wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish in time, this gets True. |
| wasCloseHandshakeTimeout | False | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
| localCloseCode | 1001 | The close code I sent in close frame (if any). |
| localCloseReason | Going Away | The close reason I sent in close frame (if any). |
| remoteCloseCode | None | The close code the peer sent me in close frame (if any). |
| remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
| Chop Size | Count | Octets |
| 19 | 1 | 19 |
| 25 | 1 | 25 |
| 232 | 1 | 232 |
| Total | 3 | 276 |
| Chop Size | Count | Octets |
| 2 | 1 | 2 |
| 14 | 1 | 14 |
| 15 | 2 | 30 |
| 208 | 1 | 208 |
| Total | 5 | 254 |
| Opcode | Count |
| 1 | 2 |
| 10 | 1 |
| Total | 3 |
| Opcode | Count |
| 1 | 2 |
| 8 | 1 |
| 9 | 1 |
| Total | 4 |
000 RX OCTETS: 474554202f72756e436173653f636173653d3239266167656e743d737472617475732534303220485454502f312e310d0a68
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=False
Hello, world!
003 TX OCTETS: 810d48656c6c6f2c20776f726c6421
004 TX FRAME : OPCODE=1, FIN=True, RSV=2, PAYLOAD-LEN=13, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Hello, world!
005 TX OCTETS: a10d48656c6c6f2c20776f726c6421
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
007 TX OCTETS: 8900
008 FAIL CONNECTION AFTER 1.000000 sec
009 RX OCTETS: 818d4dd8923005bdfe5c22f4b24722aafe546c
010 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=True, MASK=3464643839323330
Hello, world!
011 RX OCTETS: 818dfd1bbf97b57ed3fb92379fe09269d3f3dc8a8000000000
012 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=True, MASK=6664316262663937
Hello, world!
013 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=True, MASK=3030303030303030
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