AVR / W5500 / Ethernet - Case 3.4 : Pass - 22 ms @ 2020-06-03T17:01:34.120Z
Case Description
Send small text message, then send again with RSV = 4, then send Ping. Octets are sent in octet-wise chops.
Case Expectation
Echo for first message is received, but then connection is failed immediately, since RSV must be 0, when no extension defining RSV meaning has been negotiated. The 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)
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: Yd4pS2NxexwWpgblcSai4g== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: oPtFQeUKSNopjHbLHvanZIgp9+s=
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 | 1002 | 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 | 42 | 42 |
2 | 14 | 28 |
3 | 2 | 6 |
4 | 1 | 4 |
5 | 1 | 5 |
13 | 1 | 13 |
50 | 1 | 50 |
Total | 62 | 148 |
Chop Size | Count | Octets |
1 | 36 | 36 |
245 | 1 | 245 |
Total | 37 | 281 |
Opcode | Count |
1 | 1 |
8 | 1 |
Total | 2 |
Opcode | Count |
1 | 2 |
8 | 1 |
9 | 1 |
Total | 4 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 4854
002 RX OCTETS: 54
003 RX OCTETS: 50
004 RX OCTETS: 2f
005 RX OCTETS: 31
006 RX OCTETS: 2e
007 RX OCTETS: 31
008 RX OCTETS: 20
009 RX OCTETS: 31
010 RX OCTETS: 303120
011 RX OCTETS: 53
012 RX OCTETS: 776974
013 RX OCTETS: 63
014 RX OCTETS: 68
015 RX OCTETS: 69
016 RX OCTETS: 6e
017 RX OCTETS: 67
018 RX OCTETS: 20
019 RX OCTETS: 50
020 RX OCTETS: 72
021 RX OCTETS: 6f
022 RX OCTETS: 74
023 RX OCTETS: 6f63
024 RX OCTETS: 6f
025 RX OCTETS: 6c
026 RX OCTETS: 73
027 RX OCTETS: 0d0a
028 RX OCTETS: 55
029 RX OCTETS: 70
030 RX OCTETS: 67
031 RX OCTETS: 72
032 RX OCTETS: 61
033 RX OCTETS: 6465
034 RX OCTETS: 3a
035 RX OCTETS: 20
036 RX OCTETS: 77
037 RX OCTETS: 65
038 RX OCTETS: 6273
039 RX OCTETS: 6f63
040 RX OCTETS: 6b65740d0a
041 RX OCTETS: 43
042 RX OCTETS: 6f6e
043 RX OCTETS: 6e
044 RX OCTETS: 65
045 RX OCTETS: 6374
046 RX OCTETS: 696f
047 RX OCTETS: 6e
048 RX OCTETS: 3a205570
049 RX OCTETS: 67
050 RX OCTETS: 72
051 RX OCTETS: 61
052 RX OCTETS: 64
053 RX OCTETS: 65
054 RX OCTETS: 0d0a
055 RX OCTETS: 5365632d576562536f636b65742d4163636570743a206f5074465165554b534e6f706a48624c4876616e5a496770392b733d
056 RX OCTETS: 0d0a
057 RX OCTETS: 0d0a
058 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=480f5b5e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
Hello, world!
059 TX OCTETS: 81
060 TX FRAME : OPCODE=1, FIN=True, RSV=4, PAYLOAD-LEN=13, MASK=839603b9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
Hello, world!
061 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=cc49652f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
062 FAIL CONNECTION AFTER 1.000000 sec
063 TX OCTETS: 8d
064 TX OCTETS: 48
065 TX OCTETS: 0f
066 TX OCTETS: 5b
067 TX OCTETS: 5e
068 TX OCTETS: 00
069 TX OCTETS: 6a
070 TX OCTETS: 37
071 TX OCTETS: 32
072 TX OCTETS: 27
073 TX OCTETS: 23
074 TX OCTETS: 7b
075 TX OCTETS: 29
076 TX OCTETS: 27
077 TX OCTETS: 7d
078 TX OCTETS: 37
079 TX OCTETS: 3a
080 TX OCTETS: 69
081 TX OCTETS: c1
082 TX OCTETS: 8d
083 TX OCTETS: 83
084 TX OCTETS: 96
085 TX OCTETS: 03
086 TX OCTETS: b9
087 TX OCTETS: cb
088 TX OCTETS: f3
089 RX OCTETS: 810d
090 TX OCTETS: 6f
091 RX OCTETS: 48656c6c6f2c20776f726c6421
092 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=False, MASK=None
Hello, world!
093 TX OCTETS: d5
094 RX OCTETS: 88
095 TX OCTETS: ec
096 RX OCTETS: 02
097 TX OCTETS: ba
098 TX OCTETS: 23
099 TX OCTETS: ce
100 TX OCTETS: ec
101 TX OCTETS: e4
102 RX OCTETS: 03ea
103 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
0x03ea
104 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=2acbbb67, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
105 TX OCTETS: 6f
106 TCP DROPPED BY PEER