Autobahn WebSocket Testsuite Report
Autobahn WebSocket

AVR / W5500 / Ethernet - Case 4.2.5 : Pass - 10 ms @ 2020-06-03T17:01:34.768Z

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.181:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: 0/F2fSq0E80XWbGTNjC++w==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: /1j1HeSAB9YpJyLcMHU7xDTs4AU=


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
13838
21938
339
13113
50150
Total62148

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: 48
002 RX OCTETS: 54
003 RX OCTETS: 54502f
004 RX OCTETS: 31
005 RX OCTETS: 2e31
006 RX OCTETS: 20
007 RX OCTETS: 31
008 RX OCTETS: 30
009 RX OCTETS: 31
010 RX OCTETS: 20
011 RX OCTETS: 53
012 RX OCTETS: 77
013 RX OCTETS: 69
014 RX OCTETS: 74
015 RX OCTETS: 63
016 RX OCTETS: 68
017 RX OCTETS: 69
018 RX OCTETS: 6e
019 RX OCTETS: 67
020 RX OCTETS: 2050
021 RX OCTETS: 72
022 RX OCTETS: 6f
023 RX OCTETS: 746f
024 RX OCTETS: 63
025 RX OCTETS: 6f
026 RX OCTETS: 6c73
027 RX OCTETS: 0d0a
028 RX OCTETS: 55
029 RX OCTETS: 7067
030 RX OCTETS: 72
031 RX OCTETS: 61
032 RX OCTETS: 64
033 RX OCTETS: 65
034 RX OCTETS: 3a
035 RX OCTETS: 20
036 RX OCTETS: 7765
037 RX OCTETS: 6273
038 RX OCTETS: 6f
039 RX OCTETS: 63
040 RX OCTETS: 6b
041 RX OCTETS: 65
042 RX OCTETS: 74
043 RX OCTETS: 0d0a
044 RX OCTETS: 436f
045 RX OCTETS: 6e
046 RX OCTETS: 6e65
047 RX OCTETS: 63
048 RX OCTETS: 74
049 RX OCTETS: 696f
050 RX OCTETS: 6e3a
051 RX OCTETS: 20
052 RX OCTETS: 557067
053 RX OCTETS: 72
054 RX OCTETS: 616465
055 RX OCTETS: 0d0a
056 RX OCTETS: 5365632d576562536f636b65742d4163636570743a202f316a3148655341423959704a794c634d485537784454733441553d
057 RX OCTETS: 0d0a
058 RX OCTETS: 0d0a
059 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=e0ddfcc1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
060 TX OCTETS: 81
061 TX FRAME : OPCODE=15, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=2870a6f6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
062 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=015b0a02, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
063 FAIL CONNECTION AFTER 1.000000 sec
064 TX OCTETS: 8d
065 TX OCTETS: e0
066 TX OCTETS: dd
067 TX OCTETS: fc
068 TX OCTETS: c1
069 TX OCTETS: a8
070 TX OCTETS: b8
071 TX OCTETS: 90
072 TX OCTETS: ad
073 TX OCTETS: 8f
074 TX OCTETS: f1
075 TX OCTETS: dc
076 TX OCTETS: b6
077 TX OCTETS: 8f
078 TX OCTETS: af
079 TX OCTETS: 90
080 TX OCTETS: a5
081 TX OCTETS: c1
082 TX OCTETS: 8f
083 TX OCTETS: 8d
084 TX OCTETS: 28
085 TX OCTETS: 70
086 TX OCTETS: a6
087 TX OCTETS: f6
088 TX OCTETS: 60
089 TX OCTETS: 15
090 TX OCTETS: ca
091 TX OCTETS: 9a
092 TX OCTETS: 47
093 TX OCTETS: 5c
094 TX OCTETS: 86
095 TX OCTETS: 81
096 TX OCTETS: 47
097 TX OCTETS: 02
098 TX OCTETS: ca
099 TX OCTETS: 92
100 TX OCTETS: 09
101 TX OCTETS: 89
102 TX OCTETS: 80
103 TX OCTETS: 01
104 TX OCTETS: 5b
105 TX OCTETS: 0a
106 TX OCTETS: 02
107 RX OCTETS: 810d
108 RX OCTETS: 48656c6c6f2c20776f726c6421
109 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=False, MASK=None
               Hello, world!
110 RX OCTETS: 8802
111 RX OCTETS: 03ea
112 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03ea
113 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=8ec9914d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
114 TX OCTETS: 88828ec9914d8d21
115 TCP DROPPED BY PEER