AVR / W5500 / Ethernet - Case 6.4.3 : Non-Strict - 2008 ms @ 2020-06-03T17:01:42.445Z
Case Description
Same as Case 6.4.1, but we send message not in 3 frames, but in 3 chops of the same message frame.
MESSAGE PARTS:
PART1 = cebae1bdb9cf83cebcceb5
PART2 = f4908080
PART3 = 656469746564
Case Expectation
The first chop is accepted, we expect to timeout on the first wait. The 2nd chop 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)
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: cS+1AYKw62pnL5l4EkjAgA== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: MitHRjmJmvBK4EafBN1KUQjHlqc=
Key | Value | Description |
isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | False | True, iff I have initiated closing handshake (that is, did send close first). |
failedByMe | False | True, 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. |
droppedByMe | False | True, iff I dropped the TCP connection. |
wasClean | True | True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
wasNotCleanReason | None | When wasClean == False, the reason what happened. |
wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish in time, this gets True. |
wasCloseHandshakeTimeout | False | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
localCloseCode | 1000 | The close code I sent in close frame (if any). |
localCloseReason | None | The close reason I sent in close frame (if any). |
remoteCloseCode | 1007 | The close code the peer sent me in close frame (if any). |
remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
Chop Size | Count | Octets |
1 | 33 | 33 |
2 | 13 | 26 |
3 | 3 | 9 |
4 | 2 | 8 |
7 | 1 | 7 |
50 | 1 | 50 |
Total | 53 | 133 |
Chop Size | Count | Octets |
4 | 1 | 4 |
6 | 3 | 18 |
8 | 1 | 8 |
11 | 1 | 11 |
245 | 1 | 245 |
Total | 7 | 286 |
Opcode | Count |
8 | 1 |
Total | 1 |
Opcode | Count |
0 | 1 |
8 | 1 |
Total | 2 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454
002 RX OCTETS: 50
003 RX OCTETS: 2f31
004 RX OCTETS: 2e3120
005 RX OCTETS: 31
006 RX OCTETS: 30
007 RX OCTETS: 31
008 RX OCTETS: 20
009 RX OCTETS: 53
010 RX OCTETS: 77
011 RX OCTETS: 69
012 RX OCTETS: 74
013 RX OCTETS: 63
014 RX OCTETS: 68
015 RX OCTETS: 69
016 RX OCTETS: 6e67
017 RX OCTETS: 20
018 RX OCTETS: 50
019 RX OCTETS: 726f
020 RX OCTETS: 74
021 RX OCTETS: 6f
022 RX OCTETS: 636f
023 RX OCTETS: 6c
024 RX OCTETS: 730d0a
025 RX OCTETS: 55
026 RX OCTETS: 70
027 RX OCTETS: 67
028 RX OCTETS: 72
029 RX OCTETS: 61
030 RX OCTETS: 64653a20
031 RX OCTETS: 77
032 RX OCTETS: 65
033 RX OCTETS: 62
034 RX OCTETS: 73
035 RX OCTETS: 6f63
036 RX OCTETS: 6b
037 RX OCTETS: 65
038 RX OCTETS: 740d0a436f6e6e
039 RX OCTETS: 6563
040 RX OCTETS: 7469
041 RX OCTETS: 6f6e
042 RX OCTETS: 3a20
043 RX OCTETS: 5570
044 RX OCTETS: 67
045 RX OCTETS: 72
046 RX OCTETS: 61
047 RX OCTETS: 64
048 RX OCTETS: 65
049 RX OCTETS: 0d0a
050 RX OCTETS: 5365632d576562536f636b65742d4163636570743a204d697448526a6d4a6d76424b34456166424e314b55516a486c71633d
051 RX OCTETS: 0d0a0d0a
052 TX OCTETS: 0195e428e905
053 TX OCTETS: 2a9208b85de76acb58e65c
054 DELAY 1.000000 sec for TAG A
055 DELAY TIMEOUT on TAG A
056 TX OCTETS: f174a869
057 DELAY 1.000000 sec for TAG B
058 DELAY TIMEOUT on TAG B
059 TX OCTETS: 6080419d6080
060 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=8675ca7e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
061 TX OCTETS: 80808675ca7e
062 FAIL CONNECTION AFTER 1.000000 sec
063 RX OCTETS: 8802
064 RX OCTETS: 03ef
065 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
0x03ef
066 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=79dd8c4e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
067 TX OCTETS: 888279dd8c4e7a35
068 TCP DROPPED BY PEER