Autobahn WebSocket Testsuite Report
Autobahn WebSocket

websock server - Case 6.2.3 : Pass - 2 ms @ 2025-11-26T12:36:32.196Z

Case Description

Send a valid UTF-8 text message in fragments of 1 octet, resulting in frames ending on positions which are not code point ends.

MESSAGE:
Hello-µ@ßöäüàá-UTF-8!!
48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121

Case Expectation

The message is echo'ed back to us.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('message', u'Hello-\xb5@\xdf\xf6\xe4\xfc\xe0\xe1-UTF-8!!', False)]}

Observed:
[('message', u'Hello-\xb5@\xdf\xf6\xe4\xfc\xe0\xe1-UTF-8!!', False)]

Case Closing Behavior

The spec requires the connection to be failed cleanly here (UNCLEAN)



Opening Handshake

GET /ws HTTP/1.1
User-Agent: AutobahnTestSuite/25.10.1-0.10.9
Host: 127.0.0.1:8888
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: S6nfdwO9ht2zSrY5vDrzsw==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Date: Wed, 26 Nov 2025 12:36:32 GMT
Connection: Upgrade
Upgrade: websocket
Sec-Websocket-Accept: bwf59WQPkxxD03S2oJv+wR7KvF8=


Closing Behavior

KeyValueDescription
isServerFalseTrue, 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.
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.
localCloseCode1000The close code I sent in close frame (if any).
localCloseReasonNoneThe 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
31131
1661166
Total2197

Octets Transmitted by Chop Size

Chop SizeCountOctets
616
729203
818
2441244
Total32461

Frames Received by Opcode

OpcodeCount
11
Total1

Frames Transmitted by Opcode

OpcodeCount
029
11
81
Total31


Wire Log

000 TX OCTETS: 474554202f777320485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f3235
               2e31302e312d302e31302e390d0a ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a446174653a205765642c203236204e6f
               7620323032352031323a33363a33 ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=1647a77b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               H
003 TX OCTETS: 01811647a77b5e
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=eea6504c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
005 TX OCTETS: 0081eea6504c8b
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=5ed60200, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
007 TX OCTETS: 00815ed6020032
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=7dc9cec6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
009 TX OCTETS: 00817dc9cec611
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=04d67fe0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               o
011 TX OCTETS: 008104d67fe06b
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=1bb471e8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
013 TX OCTETS: 00811bb471e836
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=155bf790, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc2
015 TX OCTETS: 0081155bf790d7
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f24e4e7d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xb5
017 TX OCTETS: 0081f24e4e7d47
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=070651f5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               @
019 TX OCTETS: 0081070651f547
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ca83a5c9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
021 TX OCTETS: 0081ca83a5c909
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=560af1f1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x9f
023 TX OCTETS: 0081560af1f1c9
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=c33dffb3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
025 TX OCTETS: 0081c33dffb300
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=2191747f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xb6
027 TX OCTETS: 00812191747f97
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=de1dcf94, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
029 TX OCTETS: 0081de1dcf941d
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=4e867b00, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xa4
031 TX OCTETS: 00814e867b00ea
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=64b07996, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
033 TX OCTETS: 008164b07996a7
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=1bb56c5b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xbc
035 TX OCTETS: 00811bb56c5ba7
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=58aeaaeb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
037 TX OCTETS: 008158aeaaeb9b
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=5cf77c49, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xa0
039 TX OCTETS: 00815cf77c49fc
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=2710d96b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
041 TX OCTETS: 00812710d96be4
042 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=75657d2b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xa1
043 TX OCTETS: 008175657d2bd4
044 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=6226facd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
045 TX OCTETS: 00816226facd4f
046 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=9b9d0a08, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               U
047 TX OCTETS: 00819b9d0a08ce
048 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=999b352c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               T
049 TX OCTETS: 0081999b352ccd
050 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b6c46e61, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               F
051 TX OCTETS: 0081b6c46e61f0
052 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=fd2f8143, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
053 TX OCTETS: 0081fd2f8143d0
054 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=2cb8a31a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               8
055 TX OCTETS: 00812cb8a31a14
056 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=9afaaa55, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
057 TX OCTETS: 00819afaaa55bb
058 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ae359b3d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
059 TX OCTETS: 0081ae359b3d8f
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=a07ff3fc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 8080a07ff3fc
062 CLOSE CONNECTION AFTER 1.000000 sec
063 RX OCTETS: 811d48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121
064 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=29, MASKED=False, MASK=None
               Hello-µ@ßöäüàá-UTF-8!!
065 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=8c83ab99, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
066 TX OCTETS: 88828c83ab998f6b
067 TCP DROPPED BY PEER