Autobahn WebSockets Testsuite Report
Autobahn WebSockets

AutobahnPython - Case 4.2.5 : Non-Strict - 3 ms @ 2014-05-15T05:05:09Z

Case Description

Send small text message, then send frame with reserved control Opcode = 15 and non-empty payload, then send Ping.

Case Expectation

Echo for first message is received, but then connection is failed immediately, since reserved opcode frame is used. A Pong is not received.

Case Outcome

Actual events match at least one expected.

Expected:
{'NON-STRICT': [], 'OK': [('message', u'Hello, world!', False)]}

Observed:
[]

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: KqyytQhTaDn2MnFJoN2Jcg==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: u2n1cTlPR0inkm8AXo6lu8Nrpos=


Closing Behavior

KeyValueDescription
isServerFalseTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeFalseTrue, 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.
wasCleanFalseTrue, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonpeer dropped the TCP connection without previous WebSocket closing handshakeWhen 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.
localCloseCodeNoneThe 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
1291129
Total1129

Octets Transmitted by Chop Size

Chop SizeCountOctets
14444
2391239
Total45283

Frames Received by Opcode

OpcodeCount
Total0

Frames Transmitted by Opcode

OpcodeCount
11
91
151
Total3


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e362e
               312d302e382e380d0a486f73743a ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=f6c232a6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
003 TX OCTETS: 81
004 TX FRAME : OPCODE=15, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=75b78e1f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=e0813fc3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
006 FAIL CONNECTION AFTER 1.000000 sec
007 TX OCTETS: 8d
008 TX OCTETS: f6
009 TX OCTETS: c2
010 TX OCTETS: 32
011 TX OCTETS: a6
012 TX OCTETS: be
013 TX OCTETS: a7
014 TX OCTETS: 5e
015 TX OCTETS: ca
016 TX OCTETS: 99
017 TX OCTETS: ee
018 TX OCTETS: 12
019 TX OCTETS: d1
020 TX OCTETS: 99
021 TX OCTETS: b0
022 TX OCTETS: 5e
023 TX OCTETS: c2
024 TX OCTETS: d7
025 TX OCTETS: 8f
026 TX OCTETS: 8d
027 TX OCTETS: 75
028 TX OCTETS: b7
029 TX OCTETS: 8e
030 TX OCTETS: 1f
031 TX OCTETS: 3d
032 TX OCTETS: d2
033 TX OCTETS: e2
034 TX OCTETS: 73
035 TX OCTETS: 1a
036 TX OCTETS: 9b
037 TX OCTETS: ae
038 TX OCTETS: 68
039 TX OCTETS: 1a
040 TX OCTETS: c5
041 TX OCTETS: e2
042 TX OCTETS: 7b
043 TX OCTETS: 54
044 TX OCTETS: 89
045 TX OCTETS: 80
046 TX OCTETS: e0
047 TX OCTETS: 81
048 TX OCTETS: 3f
049 TX OCTETS: c3
050 TCP DROPPED BY PEER