Autobahn WebSocket Testsuite Report
Autobahn WebSocket

AVR / W5500 / Ethernet - Case 6.4.2 : Non-Strict - 2005 ms @ 2020-06-03T17:01:40.392Z

Case Description

Same as Case 6.4.1, but in 2nd frame, we send only up to and including the octet making the complete payload invalid.

MESSAGE PARTS:
PART1 = cebae1bdb9cf83cebcceb5f4
PART2 = 90
PART3 = 8080656469746564

Case Expectation

The first frame is accepted, we expect to timeout on the first wait. The 2nd frame should be rejected immediately (fail fast on UTF-8). If we timeout, we expect the connection is failed at least then, since the complete message payload is not valid UTF-8.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('timeout', 'A')], 'NON-STRICT': [('timeout', 'A'), ('timeout', 'B')]}

Observed:
[('timeout', 'A'), ('timeout', 'B')]

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: ryNxa/6XNq8raiXvcuq2MQ==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: 9eBrA09jnR7KwklrDsc3XHDCxrc=


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).
remoteCloseCode1007The 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
166
21020
326
4520
515
616
717
919
54154
Total28133

Octets Transmitted by Chop Size

Chop SizeCountOctets
717
818
14114
18118
2451245
Total5292

Frames Received by Opcode

OpcodeCount
81
Total1

Frames Transmitted by Opcode

OpcodeCount
02
11
81
Total4


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 4854
002 RX OCTETS: 54502f
003 RX OCTETS: 312e31203130
004 RX OCTETS: 31
005 RX OCTETS: 2053
006 RX OCTETS: 7769
007 RX OCTETS: 74
008 RX OCTETS: 63
009 RX OCTETS: 68
010 RX OCTETS: 696e67
011 RX OCTETS: 20
012 RX OCTETS: 5072
013 RX OCTETS: 6f
014 RX OCTETS: 746f
015 RX OCTETS: 636f6c73
016 RX OCTETS: 0d0a
017 RX OCTETS: 5570
018 RX OCTETS: 6772
019 RX OCTETS: 6164653a2077656273
020 RX OCTETS: 6f636b65740d0a
021 RX OCTETS: 436f6e6e
022 RX OCTETS: 65637469
023 RX OCTETS: 6f6e3a20
024 RX OCTETS: 55706772
025 RX OCTETS: 6164650d0a
026 RX OCTETS: 5365632d576562536f636b65742d4163636570743a20396542724130396a6e52374b776b6c7244736333584844437872633d
               0d0a0d0a
027 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=12, MASK=56e7f2cd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xcebae1bdb9cf83cebcceb5f4
028 TX OCTETS: 018c56e7f2cd985d1370ef287103ea294739
029 DELAY 1.000000 sec for TAG A
030 DELAY TIMEOUT on TAG A
031 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=694b30df, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x90
032 TX OCTETS: 0081694b30dff9
033 DELAY 1.000000 sec for TAG B
034 DELAY TIMEOUT on TAG B
035 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=8, MASK=1ad5986e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x8080656469746564
036 TX OCTETS: 80881ad5986e9a55fd0a73a1fd0a
037 FAIL CONNECTION AFTER 1.000000 sec
038 RX OCTETS: 8802
039 RX OCTETS: 03ef
040 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03ef
041 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=ae70fc39, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
042 TX OCTETS: 8882ae70fc39ad98
043 TCP DROPPED BY PEER