Autobahn WebSocket Testsuite Report
Autobahn WebSocket

AVR / W5100 / Ethernet - Case 6.4.2 : Non-Strict - 2007 ms @ 2020-06-03T17:01:17.115Z

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.180:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: uFv7LLIeSsIQS6p30K87Lg==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: 8vrnqxgguLtnxVKSGrweCHJqo+o=


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
12525
21326
3721
414
515
52152
Total48133

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: 54
003 RX OCTETS: 50
004 RX OCTETS: 2f
005 RX OCTETS: 312e
006 RX OCTETS: 3120
007 RX OCTETS: 313031
008 RX OCTETS: 205377
009 RX OCTETS: 69
010 RX OCTETS: 7463
011 RX OCTETS: 68696e
012 RX OCTETS: 672050
013 RX OCTETS: 72
014 RX OCTETS: 6f
015 RX OCTETS: 74
016 RX OCTETS: 6f
017 RX OCTETS: 636f
018 RX OCTETS: 6c
019 RX OCTETS: 73
020 RX OCTETS: 0d0a55
021 RX OCTETS: 70
022 RX OCTETS: 6772616465
023 RX OCTETS: 3a2077
024 RX OCTETS: 6562
025 RX OCTETS: 73
026 RX OCTETS: 6f
027 RX OCTETS: 63
028 RX OCTETS: 6b65
029 RX OCTETS: 74
030 RX OCTETS: 0d0a436f
031 RX OCTETS: 6e
032 RX OCTETS: 6e
033 RX OCTETS: 6563
034 RX OCTETS: 74
035 RX OCTETS: 69
036 RX OCTETS: 6f6e
037 RX OCTETS: 3a
038 RX OCTETS: 20
039 RX OCTETS: 55
040 RX OCTETS: 7067
041 RX OCTETS: 72
042 RX OCTETS: 61
043 RX OCTETS: 64
044 RX OCTETS: 650d0a
045 RX OCTETS: 5365632d576562536f636b65742d4163636570743a203876726e71786767754c746e78564b534772776543484a716f2b6f3d
               0d0a
046 RX OCTETS: 0d0a
047 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=12, MASK=1010da41, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0xcebae1bdb9cf83cebcceb5f4
048 TX OCTETS: 018c1010da41deaa3bfca9df598facde6fb5
049 DELAY 1.000000 sec for TAG A
050 DELAY TIMEOUT on TAG A
051 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1, MASK=5dfbc6fb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x90
052 TX OCTETS: 00815dfbc6fbcd
053 DELAY 1.000000 sec for TAG B
054 DELAY TIMEOUT on TAG B
055 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=8, MASK=4446a097, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x8080656469746564
056 TX OCTETS: 80884446a097c4c6c5f32d32c5f3
057 FAIL CONNECTION AFTER 1.000000 sec
058 RX OCTETS: 8802
059 RX OCTETS: 03ef
060 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03ef
061 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=1539ba3c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
062 TX OCTETS: 88821539ba3c16d1
063 TCP DROPPED BY PEER