Autobahn WebSocket Testsuite Report
Autobahn WebSocket

AVR / W5100 / Ethernet - Case 4.1.5 : Pass - 24 ms @ 2020-06-03T17:01:11.195Z

Case Description

Send small text message, then send frame with reserved non-control Opcode = 7 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: e8Iwm+WAHM1VQJgHgrWbJw==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: L2BO/ToBKeQvR+9dEkBcTLrcD2Y=


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
12323
2714
3618
4312
515
616
14114
56156
Total43148

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
71
81
91
Total4


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 4854
002 RX OCTETS: 54502f
003 RX OCTETS: 31
004 RX OCTETS: 2e
005 RX OCTETS: 3120
006 RX OCTETS: 31
007 RX OCTETS: 30
008 RX OCTETS: 3120
009 RX OCTETS: 53
010 RX OCTETS: 77
011 RX OCTETS: 69
012 RX OCTETS: 74
013 RX OCTETS: 63
014 RX OCTETS: 6869
015 RX OCTETS: 6e6720
016 RX OCTETS: 50
017 RX OCTETS: 72
018 RX OCTETS: 6f
019 RX OCTETS: 746f
020 RX OCTETS: 63
021 RX OCTETS: 6f
022 RX OCTETS: 6c
023 RX OCTETS: 73
024 RX OCTETS: 0d0a55
025 RX OCTETS: 7067
026 RX OCTETS: 72
027 RX OCTETS: 61
028 RX OCTETS: 64653a
029 RX OCTETS: 207765
030 RX OCTETS: 62736f
031 RX OCTETS: 636b
032 RX OCTETS: 65
033 RX OCTETS: 740d0a43
034 RX OCTETS: 6f
035 RX OCTETS: 6e6e65637469
036 RX OCTETS: 6f
037 RX OCTETS: 6e3a205570
038 RX OCTETS: 67726164
039 RX OCTETS: 65
040 RX OCTETS: 0d0a5365632d576562536f636b65742d4163636570743a204c32424f2f546f424b655176522b3964456b4263544c72634432
               593d0d0a0d0a
041 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=d78c06ee, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
042 TX OCTETS: 81
043 TX FRAME : OPCODE=7, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=2525cce0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
044 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=19bcb94d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
045 FAIL CONNECTION AFTER 1.000000 sec
046 TX OCTETS: 8d
047 TX OCTETS: d7
048 TX OCTETS: 8c
049 TX OCTETS: 06
050 TX OCTETS: ee
051 TX OCTETS: 9f
052 TX OCTETS: e9
053 TX OCTETS: 6a
054 TX OCTETS: 82
055 TX OCTETS: b8
056 TX OCTETS: a0
057 TX OCTETS: 26
058 TX OCTETS: 99
059 TX OCTETS: b8
060 TX OCTETS: fe
061 TX OCTETS: 6a
062 TX OCTETS: 8a
063 TX OCTETS: f6
064 TX OCTETS: 87
065 TX OCTETS: 8d
066 TX OCTETS: 25
067 TX OCTETS: 25
068 TX OCTETS: cc
069 TX OCTETS: e0
070 TX OCTETS: 6d
071 TX OCTETS: 40
072 TX OCTETS: a0
073 TX OCTETS: 8c
074 TX OCTETS: 4a
075 TX OCTETS: 09
076 TX OCTETS: ec
077 TX OCTETS: 97
078 TX OCTETS: 4a
079 TX OCTETS: 57
080 TX OCTETS: a0
081 TX OCTETS: 84
082 TX OCTETS: 04
083 TX OCTETS: 89
084 TX OCTETS: 80
085 TX OCTETS: 19
086 TX OCTETS: bc
087 TX OCTETS: b9
088 RX OCTETS: 81
089 TX OCTETS: 4d
090 RX OCTETS: 0d48656c6c6f2c20776f726c6421
091 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=False, MASK=None
               Hello, world!
092 RX OCTETS: 880203ea
093 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03ea
094 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=f364e2a6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
095 TX OCTETS: 8882f364e2a6f08c
096 TCP DROPPED BY PEER