AutobahnServer/0.4.2 - Test Case 5.20

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

Case

Description

Same as Case 5.19, but send all frames with SYNC = True. Note, this does not change the octets sent in any way, only how the stream is chopped up on the wire.

Expectation

Same as Case 5.19. Implementations must be agnostic to how octet stream is chopped up on wire (must be TCP clean).

Result

Actual events match at least one expected.

Expected = {'OK': [('pong', 'pongme 1!'), ('pong', 'pongme 2!'), ('message', 'fragment1fragment2fragment3fragment4fragment5', False)]}

Actual = [('pong', 'pongme 1!'), ('pong', 'pongme 2!'), ('message', 'fragment1fragment2fragment3fragment4fragment5', False)]

Close Result

OK: Connection was properly closed

Statistics

Octets Received by Chop Size

Chop SizeCountOctets
414
11111
58158
1291129
Total4202

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
157105
1951195
Total9308

Frames Received by Opcode

OpcodeCount
11
81
102
Total4

Frames Transmitted by Opcode

OpcodeCount
04
11
81
92
Total8

Close Stats

KeyValue
isServer0
closedByMe1
failedByMe0
droppedByMe0
wasClean1
localCloseCode1000
remoteCloseCode1000
remoteCloseReasonNone

Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e320d0a486f73743a206c6f63616c686f73740d0a557067726164653a20776562736f636b65740d0a
               436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a206d58783234396d59436c
               706e7046767836444e3076513d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a2031486a
               50722b65495538626e6275414b74362b2f77324e3773306f3d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=c9b35153, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment1
003 TX OCTETS: 0189c9b35153afc13034a4d63f27f8
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=2295f4e9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment2
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=bad76d33, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               pongme 1!
006 DELAY 1.000000 sec
007 TX OCTETS: 00892295f4e944e7958e4ff09a9d10
008 TX OCTETS: 8989bad76d33cab80354d7b24d029b
009 RX OCTETS: 8a09706f6e676d65203121
010 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               pongme 1!
011 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=468ded20, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment3
012 TX OCTETS: 0089468ded2020ff8c472be8835475
013 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=d3d0a846, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment4
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=ea037248, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               pongme 2!
015 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=6ccdf4db, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment5
016 TIME OUT 1.000000 sec
017 TX OCTETS: 0089d3d0a846b5a2c921beb5c632e7
018 TX OCTETS: 8989ea0372489a6c1c2f8766527acb
019 TX OCTETS: 80896ccdf4db0abf95bc01a89aaf59
020 RX OCTETS: 8a09706f6e676d65203221812d667261676d656e7431667261676d656e7432667261676d656e7433667261676d656e743466
               7261676d656e7435
021 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               pongme 2!
022 RX FRAME : OPCODE=1, FIN=True, RSV=0, MASKED=False, MASK=None
               fragment1fragment2fragment3fragment4fragment5
023 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=39169b78, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
024 TX OCTETS: 888239169b783afe
025 RX OCTETS: 880203e8
026 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
027 TCP CLOSED BY PEER