AutobahnServer/0.4.2 - Test Case 6.4.1

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

Case

Description

Send invalid UTF-8 text message in 3 fragments (frames). First frame payload is valid, then wait, then 2nd frame which contains the payload octet making the sequence invalid, then wait, then 3rd frame with rest.

MESSAGE:
Îºá½¹ÏƒÎ¼Îµí €edited
cebae1bdb9cf83cebcceb5eda080656469746564

Expectation

The first frame is accepted, we expect to timeout on the first wait. The 2nd frame should be rejected immediately (fail fast on UTF-8). If we timeout, we expect the connection is failed at least then, since the payload is not valid UTF-8.

Result

Actual events match at least one expected.

Expected = {'NON-STRICT': [('timeout', 'A'), ('timeout', 'B')], 'OK': [('timeout', 'A')]}

Actual = [('timeout', 'A'), ('timeout', 'B')]

Close Result

OK: Connection was properly closed

Statistics

Octets Received by Chop Size

Chop SizeCountOctets
1291129
Total1129

Octets Transmitted by Chop Size

Chop SizeCountOctets
717
13113
18118
1951195
Total4233

Frames Received by Opcode

OpcodeCount
Total0

Frames Transmitted by Opcode

OpcodeCount
02
11
Total3

Close Stats

KeyValue
isServer0
closedByMe0
failedByMe0
droppedByMe0
wasClean0
localCloseCodeNone
remoteCloseCodeNone
remoteCloseReasonNone

Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
               53756974652f302e342e320d0a486f73743a206c6f63616c686f73740d0a557067726164653a20776562736f636b65740d0a
               436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a204c6656367633434c4a37
               4b62675158303257487271513d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a204e6c4a
               6362637164734f66634d695562642b4c436b57716d6172733d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=faacddf7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               κόσμεí
003 TX OCTETS: 018cfaacddf734163c4a43635e394662681a
004 DELAY 1.000000 sec
005 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=cfd0d8d9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
                
006 TX OCTETS: 0081cfd0d8d96f
007 DELAY 1.000000 sec
008 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=98ad2bfe, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               €edited
009 TX OCTETS: 808798ad2bfe18c84f97ecc84f
010 KILL AFTER 1.000000 sec
011 TCP CLOSED BY PEER