AutobahnServer - Case 6.2.3 : Pass - 5 ms @ 2013-03-03T15:37:41Z

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: AutobahnTestSuite/0.5.2-0.5.9

Host: 127.0.0.1:9001

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: SiuAHO3Qy5HCw98wxSRiHQ==

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

Server: AutobahnPython/0.5.9

Upgrade: WebSocket

Connection: Upgrade

Sec-WebSocket-Accept: XDs4Pya0HB4jdWnxqYHdbZCXoAc=


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.
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
2391239
Total32456

Frames Received by Opcode

OpcodeCount
11
81
Total2

Frames Transmitted by Opcode

OpcodeCount
029
11
81
Total31


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
               322d302e352e390d0a486f73743a203132372e302e302e313a393030310d0a557067726164653a20576562536f636b65740d
               0a436f6e6e656374696f6e3a20557067726164650d0a507261676d613a206e6f2d63616368650d0a43616368652d436f6e74
               726f6c3a206e6f2d63616368650d0a5365632d576562536f636b65742d4b65793a2053697541484f33517935484377393877
               7853526948513d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               507974686f6e2f302e352e390d0a557067726164653a20576562536f636b65740d0a436f6e6e656374696f6e3a2055706772
               6164650d0a5365632d576562536f636b65742d4163636570743a2058447334507961304842346a64576e7871594864625a43
               586f41633d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=f0e00ef7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               H
003 TX OCTETS: 0181f0e00ef7b8
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=37123fe9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
005 TX OCTETS: 008137123fe952
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ee84d71d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
007 TX OCTETS: 0081ee84d71d82
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=86ee3a8c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
009 TX OCTETS: 008186ee3a8cea
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=7e3daced, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               o
011 TX OCTETS: 00817e3daced11
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=c518760c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
013 TX OCTETS: 0081c518760ce8
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=11985941, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Â
015 TX OCTETS: 008111985941d3
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3d7535cd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               µ
017 TX OCTETS: 00813d7535cd88
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=c7bb39a6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               @
019 TX OCTETS: 0081c7bb39a687
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=4ebe7038, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
021 TX OCTETS: 00814ebe70388d
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=7f3e3498, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ÿ
023 TX OCTETS: 00817f3e3498e0
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=4870e89b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
025 TX OCTETS: 00814870e89b8b
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=516b0229, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
027 TX OCTETS: 0081516b0229e7
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=22023659, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
029 TX OCTETS: 008122023659e1
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=b6ebe579, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¤
031 TX OCTETS: 0081b6ebe57912
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=e44dba1d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
033 TX OCTETS: 0081e44dba1d27
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=f4393c86, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¼
035 TX OCTETS: 0081f4393c8648
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=9efd8807, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
037 TX OCTETS: 00819efd88075d
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=eaa7d7eb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
                
039 TX OCTETS: 0081eaa7d7eb4a
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d1086059, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
041 TX OCTETS: 0081d108605912
042 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=2c02fbfe, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¡
043 TX OCTETS: 00812c02fbfe8d
044 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=4c9f8a9a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
045 TX OCTETS: 00814c9f8a9a61
046 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=6917d8cd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               U
047 TX OCTETS: 00816917d8cd3c
048 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=a24f511d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               T
049 TX OCTETS: 0081a24f511df6
050 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=7b257613, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               F
051 TX OCTETS: 00817b2576133d
052 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=f723b652, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
053 TX OCTETS: 0081f723b652da
054 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=af3aa55b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               8
055 TX OCTETS: 0081af3aa55b97
056 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=a972cc7d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
057 TX OCTETS: 0081a972cc7d88
058 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ce451901, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
059 TX OCTETS: 0081ce451901ef
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=8871b202, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 80808871b202
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=4d0189fb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
066 TX OCTETS: 88824d0189fb4ee9
067 RX OCTETS: 880203e8
068 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
069 TCP DROPPED BY PEER