Autobahn WebSockets Testsuite Report
Autobahn WebSockets

AutobahnPython - Case 5.5 : Pass - 42 ms @ 2014-12-01T19:25:23.766Z

Case Description

Send text Message fragmented into 2 fragments, octets are sent in octet-wise chops.

Case Expectation

Message is processed and echo'ed back to us.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('message', u'fragment1fragment2', False)]}

Observed:
[('message', u'fragment1fragment2', False)]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.7.1-0.9.3-3
Host: 127.0.0.1:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: 62uCZd1n74iMR6kfsdYsvw==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: JemIewoOWhWMwBUPEpTaUCDUhzc=


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).
remoteCloseCodeNoneThe 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
122
236
31339
515
616
1291129
Total21187

Octets Transmitted by Chop Size

Chop SizeCountOctets
13030
818
2411241
Total32279

Frames Received by Opcode

OpcodeCount
018
11
81
Total20

Frames Transmitted by Opcode

OpcodeCount
01
11
81
Total3


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e372e
               312d302e392e332d330d0a486f73 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=d929137b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               fragment1
003 TX OCTETS: 01
004 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=22db2a7d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               fragment2
005 CLOSE CONNECTION AFTER 1.000000 sec
006 TX OCTETS: 89
007 TX OCTETS: d9
008 TX OCTETS: 29
009 TX OCTETS: 13
010 TX OCTETS: 7b
011 TX OCTETS: bf
012 TX OCTETS: 5b
013 TX OCTETS: 72
014 RX OCTETS: 0101
015 TX OCTETS: 1c
016 RX OCTETS: 66
017 RX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               f
018 TX OCTETS: b4
019 RX OCTETS: 000172000161
020 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               r
021 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               a
022 TX OCTETS: 4c
023 RX OCTETS: 000167
024 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               g
025 TX OCTETS: 7d
026 RX OCTETS: 00016d
027 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               m
028 TX OCTETS: 0f
029 RX OCTETS: 000165
030 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               e
031 TX OCTETS: e8
032 RX OCTETS: 00016e
033 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               n
034 TX OCTETS: 80
035 RX OCTETS: 000174
036 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               t
037 TX OCTETS: 89
038 TX OCTETS: 22
039 TX OCTETS: db
040 TX OCTETS: 2a
041 TX OCTETS: 7d
042 TX OCTETS: 44
043 RX OCTETS: 000131
044 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               1
045 TX OCTETS: a9
046 RX OCTETS: 0001
047 TX OCTETS: 4b
048 RX OCTETS: 66
049 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               f
050 TX OCTETS: 1a
051 RX OCTETS: 000172
052 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               r
053 TX OCTETS: 4f
054 RX OCTETS: 000161
055 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               a
056 TX OCTETS: be
057 RX OCTETS: 000167
058 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               g
059 TX OCTETS: 44
060 RX OCTETS: 00016d
061 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               m
062 TX OCTETS: 09
063 RX OCTETS: 000165
064 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               e
065 TX OCTETS: 10
066 RX OCTETS: 00016e
067 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               n
068 RX OCTETS: 000174
069 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               t
070 RX OCTETS: 0001328000
071 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASKED=False, MASK=None
               2
072 RX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=False, MASK=None
073 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=6436d1f7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
074 TX OCTETS: 88826436d1f767de
075 RX OCTETS: 8800
076 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=False, MASK=None
077 TCP DROPPED BY PEER