Autobahn WebSockets Testsuite Report
Autobahn WebSockets

AutobahnPython - Case 5.20 : Pass - 1002 ms @ 2014-05-15T05:05:10Z

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.

Case Expectation

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

Case Outcome

Actual events match at least one expected.

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

Observed:
[('pong', u'pongme 1!'), ('pong', u'pongme 2!'), ('message', u'fragment1fragment2fragment3fragment4fragment5', False)]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.6.1-0.8.8
Host: 127.0.0.1:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: O9x7PL+r2nRKTwWh7b7AKg==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: +I7rhdz+uWT8UIT4X6R1jFeppAI=


Closing Behavior

KeyValueDescription
isServerFalseTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeTrueTrue, iff I have initiated closing handshake (that is, did send close first).
failedByMeFalseTrue, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP.
droppedByMeFalseTrue, iff I dropped the TCP connection.
wasCleanTrueTrue, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonNoneWhen wasClean == False, the reason what happened.
wasServerConnectionDropTimeoutFalseWhen we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.
wasOpenHandshakeTimeoutFalseWhen performing the opening handshake, but the peer did not finish in time, this gets True.
wasCloseHandshakeTimeoutFalseWhen we initiated a closing handshake, but the peer did not respond in time, this gets True.
localCloseCode1000The close code I sent in close frame (if any).
localCloseReasonNoneThe close reason I sent in close frame (if any).
remoteCloseCode1000The close code the peer sent me in close frame (if any).
remoteCloseReasonNoneThe close reason the peer sent me in close frame (if any).


Wire Statistics

Octets Received by Chop Size

Chop SizeCountOctets
414
11222
22122
33133
1291129
Total6210

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
157105
2391239
Total9352

Frames Received by Opcode

OpcodeCount
04
11
81
102
Total8

Frames Transmitted by Opcode

OpcodeCount
04
11
81
92
Total8


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e362e
               312d302e382e380d0a486f73743a ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=043e1c5a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment1
003 TX OCTETS: 0189043e1c5a624c7d3d695b722e35
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=1bfe07c5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment2
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=9a680e18, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               pongme 1!
006 DELAY 1.000000 sec for TAG None
007 TX OCTETS: 00891bfe07c57d8c66a2769b69b129
008 TX OCTETS: 89899a680e18ea07607ff70d2e29bb
009 RX OCTETS: 8a09706f6e676d65203121
010 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 1!
011 RX OCTETS: 0109667261676d656e74310009667261676d656e7432
012 RX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               fragment1
013 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               fragment2
014 DELAY TIMEOUT on TAG None
015 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=ba429a7e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment3
016 TX OCTETS: 0089ba429a7edc30fb19d727f40a89
017 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=166ebb85, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment4
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=daf18e4b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               pongme 2!
019 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=8389a6d0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=True
               fragment5
020 CLOSE CONNECTION AFTER 1.000000 sec
021 TX OCTETS: 0089166ebb85701cdae27b0bd5f122
022 TX OCTETS: 8989daf18e4baa9ee02cb794ae79fb
023 TX OCTETS: 80898389a6d0e5fbc7b7eeecc8a4b6
024 RX OCTETS: 8a09706f6e676d65203221
025 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               pongme 2!
026 RX OCTETS: 0009667261676d656e74330009667261676d656e74348009667261676d656e7435
027 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               fragment3
028 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               fragment4
029 RX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               fragment5
030 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=2b2c419d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
031 TX OCTETS: 88822b2c419d28c4
032 RX OCTETS: 880203e8
033 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
034 TCP DROPPED BY PEER