WebSockets Protocol Test Report
Autobahn WebSockets

AutobahnServer/0.4.10 - Case 6.2.3 : Pass - 3 ms @ 2012-01-09T14:43:14Z

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', 'Hello-\xc2\xb5@\xc3\x9f\xc3\xb6\xc3\xa4\xc3\xbc\xc3\xa0\xc3\xa1-UTF-8!!', False)]}

Observed:
[('message', 'Hello-\xc2\xb5@\xc3\x9f\xc3\xb6\xc3\xa4\xc3\xbc\xc3\xa0\xc3\xa1-UTF-8!!', False)]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnWebSocketsTestSuite/0.4.10
Host: localhost:9000
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: DzChQ50gLAHOrQ2xR/rYnQ==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Server: AutobahnWebSockets/0.4.10
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: GoZZb2XfLN2+VQQ6TpRNHlI5blQ=


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 WebSockets 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.
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
1641164
Total3199

Octets Transmitted by Chop Size

Chop SizeCountOctets
616
729203
818
2011201
Total32418

Frames Received by Opcode

OpcodeCount
11
81
Total2

Frames Transmitted by Opcode

OpcodeCount
029
11
81
Total31


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e31300d0a486f73743a206c6f63616c686f73743a393030300d0a557067726164653a20776562736f
               636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a20447a4368
               513530674c41484f72513278522f72596e513d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d
               0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               576562536f636b6574732f302e342e31300d0a557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a
               20557067726164650d0a5365632d576562536f636b65742d4163636570743a20476f5a5a623258664c4e322b565151365470
               524e486c4935626c513d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=ce35bfdb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               H
003 TX OCTETS: 0181ce35bfdb86
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=b0c04e7a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
005 TX OCTETS: 0081b0c04e7ad5
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=2796c2b2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
007 TX OCTETS: 00812796c2b24b
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=13b91752, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
009 TX OCTETS: 008113b917527f
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=39f0ed6d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               o
011 TX OCTETS: 008139f0ed6d56
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=5f28eb18, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
013 TX OCTETS: 00815f28eb1872
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=cc11bf78, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Â
015 TX OCTETS: 0081cc11bf780e
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=6e487070, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               µ
017 TX OCTETS: 00816e487070db
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=837a2d5a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               @
019 TX OCTETS: 0081837a2d5ac3
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=5a1cf85c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
021 TX OCTETS: 00815a1cf85c99
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=6c8b64d7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ÿ
023 TX OCTETS: 00816c8b64d7f3
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=408dc2f8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
025 TX OCTETS: 0081408dc2f883
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3b672b31, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
027 TX OCTETS: 00813b672b318d
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3e569463, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
029 TX OCTETS: 00813e569463fd
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=386d7ddc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¤
031 TX OCTETS: 0081386d7ddc9c
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=51655e8c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
033 TX OCTETS: 008151655e8c92
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=e771718f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¼
035 TX OCTETS: 0081e771718f5b
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=6c6962a6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
037 TX OCTETS: 00816c6962a6af
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=c4a6555f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
                
039 TX OCTETS: 0081c4a6555f64
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d2a7f50e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
041 TX OCTETS: 0081d2a7f50e11
042 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=eea12c3f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¡
043 TX OCTETS: 0081eea12c3f4f
044 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3a614db5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
045 TX OCTETS: 00813a614db517
046 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=120decf5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               U
047 TX OCTETS: 0081120decf547
048 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=56fd6fcb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               T
049 TX OCTETS: 008156fd6fcb02
050 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=b0fe5ba4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               F
051 TX OCTETS: 0081b0fe5ba4f6
052 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ce412e93, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
053 TX OCTETS: 0081ce412e93e3
054 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=97a1119c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               8
055 TX OCTETS: 008197a1119caf
056 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=f2a5d057, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
057 TX OCTETS: 0081f2a5d057d3
058 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=25bd06ee, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
059 TX OCTETS: 008125bd06ee04
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=85685f04, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 808085685f04
062 CLOSE CONNECTION AFTER 1.000000 sec
063 RX OCTETS: 811d48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121
064 RX FRAME : OPCODE=1, FIN=True, RSV=0, MASKED=False, MASK=None
               Hello-µ@ßöäüàá-UTF-8!!
065 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=00a712e2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
066 TX OCTETS: 888200a712e2034f
067 RX OCTETS: 880203e8
068 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
069 TCP DROPPED BY PEER