WebSocket++ snapshot - Test Case 2.3

Pass (2011-09-22T18:47:20Z - 19 ms)

Case

Description

Send ping with small binary (non UTF-8) payload.

Expectation

Pong with payload echo'ed is sent in reply to Ping. Clean close with normal code.

Result

Actual events match at least one expected.

Expected = {'OK': [('pong', '\x00\xff\xfe\xfd\xfc\xfb\x00\xff')]}

Actual = [('pong', '\x00\xff\xfe\xfd\xfc\xfb\x00\xff')]

Close Result

OK: Connection was properly closed

Statistics

Octets Received by Chop Size

Chop SizeCountOctets
414
10110
1291129
Total3143

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
14114
2121212
Total3234

Frames Received by Opcode

OpcodeCount
81
101
Total2

Frames Transmitted by Opcode

OpcodeCount
81
91
Total2

Close Stats

KeyValue
isServer0
closedByMe1
failedByMe0
droppedByMe0
wasClean1
localCloseCode1000
remoteCloseCode1000
remoteCloseReasonNone

Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e320d0a486f73743a2074686f722d776562736f636b65742e7a6170686f79642e6e65740d0a557067
               726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65
               742d4b65793a204466704144487053684f46742b5046437035675273673d3d0d0a5365632d576562536f636b65742d566572
               73696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20476556
               7269447642755269735069375437306e6e764a564e7273413d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=efd38c1e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ÿþýüûÿ
003 TX OCTETS: 8988efd38c1eef2c72e313288ce1
004 TIME OUT 1.000000 sec
005 RX OCTETS: 8a0800fffefdfcfb00ff
006 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               ÿþýüûÿ
007 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=a191f821, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
008 TX OCTETS: 8882a191f821a279
009 RX OCTETS: 880203e8
010 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
011 TCP CLOSED BY PEER