WebSocket++ snapshot - Test Case 2.2

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

Case

Description

Send ping with small text 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', 'Hello, world!')]}

Actual = [('pong', 'Hello, world!')]

Close Result

OK: Connection was properly closed

Statistics

Octets Received by Chop Size

Chop SizeCountOctets
414
15115
1291129
Total3148

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
19119
2121212
Total3239

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
               742d4b65793a206e386c4830467330516871773979716f6c73733350413d3d0d0a5365632d576562536f636b65742d566572
               73696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20643675
               703953396b4b5875647647713763692f32646f4a48646c6f3d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=42fcc023, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Hello, world!
003 TX OCTETS: 898d42fcc0230a99ac4f2dd0e0542d8eac4763
004 TIME OUT 1.000000 sec
005 RX OCTETS: 8a0d48656c6c6f2c20776f726c6421
006 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               Hello, world!
007 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=0870b750, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
008 TX OCTETS: 88820870b7500b98
009 RX OCTETS: 880203e8
010 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
011 TCP CLOSED BY PEER