Autobahn WebSocket Testsuite Report
Autobahn WebSocket

AVR / W5100 / Ethernet - Case 4.2.5 : Pass - 14 ms @ 2020-06-03T17:01:11.469Z

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:
{'OK': [('message', u'Hello, world!', False)], 'NON-STRICT': []}

Observed:
[('message', u'Hello, world!', False)]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.8.0-0.10.9
Host: 192.168.46.180:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: uCPNRXUiUkvhPS4PlIILhw==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: JRd+q2+Nxoq4pwiFRaOhLCWWNI0=


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.
wasCleanTrueTrue, iff full WebSocket 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).
remoteCloseCode1002The 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
14141
21020
326
428
5210
13113
50150
Total59148

Octets Transmitted by Chop Size

Chop SizeCountOctets
14444
818
2451245
Total46297

Frames Received by Opcode

OpcodeCount
11
81
Total2

Frames Transmitted by Opcode

OpcodeCount
11
81
91
151
Total4


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f
002 RX OCTETS: 312e3120
003 RX OCTETS: 31
004 RX OCTETS: 30
005 RX OCTETS: 31
006 RX OCTETS: 20
007 RX OCTETS: 53
008 RX OCTETS: 77
009 RX OCTETS: 69
010 RX OCTETS: 74
011 RX OCTETS: 63
012 RX OCTETS: 68
013 RX OCTETS: 69
014 RX OCTETS: 6e
015 RX OCTETS: 672050
016 RX OCTETS: 72
017 RX OCTETS: 6f
018 RX OCTETS: 74
019 RX OCTETS: 6f63
020 RX OCTETS: 6f6c
021 RX OCTETS: 73
022 RX OCTETS: 0d0a
023 RX OCTETS: 55
024 RX OCTETS: 7067
025 RX OCTETS: 72
026 RX OCTETS: 61
027 RX OCTETS: 64
028 RX OCTETS: 65
029 RX OCTETS: 3a
030 RX OCTETS: 20
031 RX OCTETS: 77
032 RX OCTETS: 65
033 RX OCTETS: 62
034 RX OCTETS: 73
035 RX OCTETS: 6f
036 RX OCTETS: 636b
037 RX OCTETS: 65
038 RX OCTETS: 74
039 RX OCTETS: 0d0a43
040 RX OCTETS: 6f
041 RX OCTETS: 6e
042 RX OCTETS: 6e
043 RX OCTETS: 65
044 RX OCTETS: 63
045 RX OCTETS: 74
046 RX OCTETS: 696f
047 RX OCTETS: 6e
048 RX OCTETS: 3a20
049 RX OCTETS: 55
050 RX OCTETS: 7067726164
051 RX OCTETS: 65
052 RX OCTETS: 0d0a
053 RX OCTETS: 5365632d576562536f636b65742d4163636570743a204a52642b71322b4e786f71347077694652614f684c4357574e49303d
054 RX OCTETS: 0d0a0d0a
055 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=15b640cf, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
056 TX OCTETS: 81
057 TX FRAME : OPCODE=15, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=6792bb22, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
058 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=d16a714f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
059 FAIL CONNECTION AFTER 1.000000 sec
060 TX OCTETS: 8d
061 TX OCTETS: 15
062 TX OCTETS: b6
063 TX OCTETS: 40
064 TX OCTETS: cf
065 TX OCTETS: 5d
066 TX OCTETS: d3
067 TX OCTETS: 2c
068 TX OCTETS: a3
069 TX OCTETS: 7a
070 TX OCTETS: 9a
071 TX OCTETS: 60
072 TX OCTETS: b8
073 TX OCTETS: 7a
074 TX OCTETS: c4
075 TX OCTETS: 2c
076 TX OCTETS: ab
077 TX OCTETS: 34
078 TX OCTETS: 8f
079 TX OCTETS: 8d
080 TX OCTETS: 67
081 TX OCTETS: 92
082 TX OCTETS: bb
083 TX OCTETS: 22
084 TX OCTETS: 2f
085 TX OCTETS: f7
086 TX OCTETS: d7
087 TX OCTETS: 4e
088 TX OCTETS: 08
089 TX OCTETS: be
090 RX OCTETS: 810d
091 TX OCTETS: 9b
092 RX OCTETS: 48656c6c6f2c20776f726c6421
093 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=False, MASK=None
               Hello, world!
094 TX OCTETS: 55
095 TX OCTETS: 08
096 TX OCTETS: e0
097 TX OCTETS: d7
098 TX OCTETS: 46
099 TX OCTETS: 46
100 TX OCTETS: 89
101 TX OCTETS: 80
102 TX OCTETS: d1
103 TX OCTETS: 6a
104 TX OCTETS: 71
105 TX OCTETS: 4f
106 RX OCTETS: 88
107 RX OCTETS: 02
108 RX OCTETS: 03ea
109 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03ea
110 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=63559ea7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
111 TX OCTETS: 888263559ea760bd
112 TCP DROPPED BY PEER