WebSocket++ snapshot - Test Case 6.2.3

Pass (2011-09-22T21:49:22Z - 38 ms)

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

Expectation

The message is echo'ed back to us.

Result

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)]}

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

Close Result

OK: Connection was properly closed

Statistics

Octets Received by Chop Size

Chop SizeCountOctets
414
31131
1291129
Total3164

Octets Transmitted by Chop Size

Chop SizeCountOctets
616
729203
818
2121212
Total32429

Frames Received by Opcode

OpcodeCount
11
81
Total2

Frames Transmitted by Opcode

OpcodeCount
029
11
81
Total31

Close Stats

KeyValue
isServer0
closedByMe1
failedByMe0
droppedByMe0
wasClean1
localCloseCode1000
remoteCloseCode1000
remoteCloseReasonNone

Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e320d0a486f73743a2074686f722d776562736f636b65742e7a6170686f79642e6e65740d0a557067
               726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65
               742d4b65793a204f31476c746a6655334563547530716a796f4e464b413d3d0d0a5365632d576562536f636b65742d566572
               73696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a2064345a
               624548506668745a507a7570344b696773572f594275716b3d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=78f7e6f1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               H
003 TX OCTETS: 018178f7e6f130
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=82469ecd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
005 TX OCTETS: 008182469ecde7
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=6312c1be, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
007 TX OCTETS: 00816312c1be0f
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=04588347, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               l
009 TX OCTETS: 00810458834768
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=8b7e17fc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               o
011 TX OCTETS: 00818b7e17fce4
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=72328513, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
013 TX OCTETS: 0081723285135f
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=5232ffbc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Â
015 TX OCTETS: 00815232ffbc90
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=32b667f3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               µ
017 TX OCTETS: 008132b667f387
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=f1ef87ed, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               @
019 TX OCTETS: 0081f1ef87edb1
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ad34c2a0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
021 TX OCTETS: 0081ad34c2a06e
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d6d5337d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ÿ
023 TX OCTETS: 0081d6d5337d49
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=01780653, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
025 TX OCTETS: 008101780653c2
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=4934cd5e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
027 TX OCTETS: 00814934cd5eff
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=55338a5d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
029 TX OCTETS: 008155338a5d96
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=13020efd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¤
031 TX OCTETS: 008113020efdb7
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=9a284b55, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
033 TX OCTETS: 00819a284b5559
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=aa844b72, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¼
035 TX OCTETS: 0081aa844b7216
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d1e68889, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
037 TX OCTETS: 0081d1e6888912
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d963630e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
                
039 TX OCTETS: 0081d963630e79
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d54e2b66, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ã
041 TX OCTETS: 0081d54e2b6616
042 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=e05d13df, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¡
043 TX OCTETS: 0081e05d13df41
044 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=dc8313f3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
045 TX OCTETS: 0081dc8313f3f1
046 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ce9fd40e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               U
047 TX OCTETS: 0081ce9fd40e9b
048 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=5bb3bd17, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               T
049 TX OCTETS: 00815bb3bd170f
050 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ce9d117f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               F
051 TX OCTETS: 0081ce9d117f88
052 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d3027cac, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               -
053 TX OCTETS: 0081d3027cacfe
054 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=0ec81c32, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               8
055 TX OCTETS: 00810ec81c3236
056 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=1956e48a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
057 TX OCTETS: 00811956e48a38
058 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=0e799e13, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               !
059 TX OCTETS: 00810e799e132f
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=4525c257, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 80804525c257
062 TIME OUT 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=f1d38dbc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
066 TX OCTETS: 8882f1d38dbcf23b
067 RX OCTETS: 880203e8
068 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
069 TCP CLOSED BY PEER