WebSocket++ snapshot - Test Case 5.7

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

Case

Description

Send text Message fragmented into 2 fragments, one ping with payload in-between. Octets are sent in frame-wise chops.

Expectation

A pong is received, then the message is echo'ed back to us.

Result

Actual events match at least one expected.

Expected = {'OK': [('pong', 'ping payload'), ('message', 'fragment1fragment2', False)]}

Actual = [('pong', 'ping payload'), ('message', 'fragment1fragment2', False)]

Close Result

OK: Connection was properly closed

Statistics

Octets Received by Chop Size

Chop SizeCountOctets
414
14114
20120
1291129
Total4167

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
15230
18118
2121212
Total5268

Frames Received by Opcode

OpcodeCount
11
81
101
Total3

Frames Transmitted by Opcode

OpcodeCount
01
11
81
91
Total4

Close Stats

KeyValue
isServer0
closedByMe1
failedByMe0
droppedByMe0
wasClean1
localCloseCode1000
remoteCloseCode1000
remoteCloseReasonNone

Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e320d0a486f73743a2074686f722d776562736f636b65742e7a6170686f79642e6e65740d0a557067
               726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65
               742d4b65793a2043774b75695961525973447548592b633134713959413d3d0d0a5365632d576562536f636b65742d566572
               73696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20355871
               73336550652b6d5766375145376f4d377a5a73422f51626b3d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=3d5620de, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment1
003 TX OCTETS: 01893d5620de5b2441b950334eaa0c
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=18fd75a0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               ping payload
005 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=8e6d710f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment2
006 TIME OUT 1.000000 sec
007 TX OCTETS: 898c18fd75a068941bc7388d14d9749214c4
008 TX OCTETS: 80898e6d710fe81f1068e3081f7bbc
009 RX OCTETS: 8a0c70696e67207061796c6f6164
010 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               ping payload
011 RX OCTETS: 8112667261676d656e7431667261676d656e7432
012 RX FRAME : OPCODE=1, FIN=True, RSV=0, MASKED=False, MASK=None
               fragment1fragment2
013 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=413b0842, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
014 TX OCTETS: 8882413b084242d3
015 RX OCTETS: 880203e8
016 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
017 TCP CLOSED BY PEER