sgcWebSockets - Case 6.2.3 : Pass - 3 ms @ 2013-03-03T15:44:18Z

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:5500

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: fI7Q3i7zrrAi/kgofrsMaw==

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

Upgrade: websocket

Connection: Upgrade

Sec-WebSocket-Accept: 8Z79EKbWB6ZiMaeVTDC+cG2t4JU=


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
1291129
Total3164

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
               322d302e352e390d0a486f73743a203132372e302e302e313a353530300d0a557067726164653a20576562536f636b65740d
               0a436f6e6e656374696f6e3a20557067726164650d0a507261676d613a206e6f2d63616368650d0a43616368652d436f6e74
               726f6c3a206e6f2d63616368650d0a5365632d576562536f636b65742d4b65793a20664937513369377a727241692f6b676f
               6672734d61773d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20385a37
               39454b625742365a694d6165565444432b63473274344a553d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=4804f9a9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               H
003 TX OCTETS: 01814804f9a900
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=c131c3af, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
005 TX OCTETS: 0081c131c3afa4
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=5b590ef9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
007 TX OCTETS: 00815b590ef937
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=42a83a0f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
009 TX OCTETS: 008142a83a0f2e
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=8ca6b43d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               o
011 TX OCTETS: 00818ca6b43de3
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=0458aa5f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
013 TX OCTETS: 00810458aa5f29
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=39309533, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Â
015 TX OCTETS: 008139309533fb
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=55f2f8bc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               µ
017 TX OCTETS: 008155f2f8bce0
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=bb4be1dc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               @
019 TX OCTETS: 0081bb4be1dcfb
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=32c0be94, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
021 TX OCTETS: 008132c0be94f1
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=f0488459, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ÿ
023 TX OCTETS: 0081f04884596f
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ea16e8eb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
025 TX OCTETS: 0081ea16e8eb29
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=9a41b18b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
027 TX OCTETS: 00819a41b18b2c
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=18f46f1c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
029 TX OCTETS: 008118f46f1cdb
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=f6ac1415, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¤
031 TX OCTETS: 0081f6ac141552
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=81c2db9e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
033 TX OCTETS: 008181c2db9e42
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=867e7801, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¼
035 TX OCTETS: 0081867e78013a
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=2a42da83, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
037 TX OCTETS: 00812a42da83e9
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=09720d8e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
                
039 TX OCTETS: 008109720d8ea9
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=b1e7dd66, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
041 TX OCTETS: 0081b1e7dd6672
042 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3309b39d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¡
043 TX OCTETS: 00813309b39d92
044 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=1b0c7dbb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
045 TX OCTETS: 00811b0c7dbb36
046 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=390cb3d7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               U
047 TX OCTETS: 0081390cb3d76c
048 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=2b0a6aca, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               T
049 TX OCTETS: 00812b0a6aca7f
050 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3f7c9da3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               F
051 TX OCTETS: 00813f7c9da379
052 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=50e98a86, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
053 TX OCTETS: 008150e98a867d
054 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=1b0fa1d1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               8
055 TX OCTETS: 00811b0fa1d123
056 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=734b1529, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
057 TX OCTETS: 0081734b152952
058 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3297298e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
059 TX OCTETS: 00813297298e13
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=cb8b635d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 8080cb8b635d
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=c1b75018, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
066 TX OCTETS: 8882c1b75018c25f
067 RX OCTETS: 880203e8
068 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
069 TCP DROPPED BY PEER