Autobahn WebSocket Testsuite Report
Autobahn WebSocket

Boost.Beast/189-Sync - Case 6.2.3 : Pass - 2 ms @ 2018-11-09T16:24:31.328Z

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

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1

User-Agent: AutobahnTestSuite/0.8.0-0.10.9

Host: 127.0.0.1:8080

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: G41i1B2Xeq4dybnQU/OyhQ==

Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols

Upgrade: websocket

Connection: upgrade

Sec-WebSocket-Accept: qIK5rtVKw5GlXcrgeFeIgk6yAk0=

Server: Boost.Beast/189-Sync


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.
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
414
31131
1591159
Total3194

Octets Transmitted by Chop Size

Chop SizeCountOctets
616
729203
818
2401240
Total32457

Frames Received by Opcode

OpcodeCount
11
81
Total2

Frames Transmitted by Opcode

OpcodeCount
029
11
81
Total31


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=dc03da32, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               H
003 TX OCTETS: 0181dc03da3294
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=871f5832, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
005 TX OCTETS: 0081871f5832e2
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=9cd674f4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
007 TX OCTETS: 00819cd674f4f0
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=038dbd79, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
009 TX OCTETS: 0081038dbd796f
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=78e79755, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               o
011 TX OCTETS: 008178e7975517
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=19709303, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
013 TX OCTETS: 00811970930334
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=9ca6d28f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc2
015 TX OCTETS: 00819ca6d28f5e
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=03875d03, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xb5
017 TX OCTETS: 008103875d03b6
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ee84662a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               @
019 TX OCTETS: 0081ee84662aae
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=a5be8f13, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
021 TX OCTETS: 0081a5be8f1366
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=266866a0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x9f
023 TX OCTETS: 0081266866a0b9
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=ea5c189a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
025 TX OCTETS: 0081ea5c189a29
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e9aac21e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xb6
027 TX OCTETS: 0081e9aac21e5f
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=f75b3c4c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
029 TX OCTETS: 0081f75b3c4c34
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=8c9aca78, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xa4
031 TX OCTETS: 00818c9aca7828
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b82f517e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
033 TX OCTETS: 0081b82f517e7b
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=dbd577df, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xbc
035 TX OCTETS: 0081dbd577df67
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b1bcf74e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
037 TX OCTETS: 0081b1bcf74e72
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=793de2fb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xa0
039 TX OCTETS: 0081793de2fbd9
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=d3f8291f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xc3
041 TX OCTETS: 0081d3f8291f10
042 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=3d0ad952, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xa1
043 TX OCTETS: 00813d0ad9529c
044 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=66fe5d64, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
045 TX OCTETS: 008166fe5d644b
046 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=b8c47d5a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               U
047 TX OCTETS: 0081b8c47d5aed
048 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=d2417714, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               T
049 TX OCTETS: 0081d241771486
050 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=614503d9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               F
051 TX OCTETS: 0081614503d927
052 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=68c7d73f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
053 TX OCTETS: 008168c7d73f45
054 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=e0d57ae4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               8
055 TX OCTETS: 0081e0d57ae4d8
056 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=6841c5da, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
057 TX OCTETS: 00816841c5da49
058 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=fc11765e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
059 TX OCTETS: 0081fc11765edd
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=7ffe8a0c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 80807ffe8a0c
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=07ba4e93, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
066 TX OCTETS: 888207ba4e930452
067 RX OCTETS: 880203e8
068 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
069 TCP DROPPED BY PEER