AVR / W5100 / Ethernet - Case 3.2 : Pass - 5 ms @ 2020-06-03T17:01:10.661Z
Case Description
Send small text message, then send again with RSV = 2, then send Ping.
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.180:9001 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: N7bRR85+/Et3vcuo/ShTDg== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: 8FFhphHQmgInR2mxpIWcGTUv76c=
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 | 30 | 30 |
2 | 18 | 36 |
3 | 3 | 9 |
4 | 2 | 8 |
13 | 1 | 13 |
52 | 1 | 52 |
Total | 55 | 148 |
Chop Size | Count | Octets |
6 | 1 | 6 |
8 | 1 | 8 |
19 | 2 | 38 |
245 | 1 | 245 |
Total | 5 | 297 |
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: 502f312e
004 RX OCTETS: 31
005 RX OCTETS: 2031
006 RX OCTETS: 30
007 RX OCTETS: 31
008 RX OCTETS: 2053
009 RX OCTETS: 77
010 RX OCTETS: 69
011 RX OCTETS: 74
012 RX OCTETS: 6368
013 RX OCTETS: 696e
014 RX OCTETS: 672050
015 RX OCTETS: 726f
016 RX OCTETS: 74
017 RX OCTETS: 6f
018 RX OCTETS: 63
019 RX OCTETS: 6f
020 RX OCTETS: 6c
021 RX OCTETS: 73
022 RX OCTETS: 0d0a
023 RX OCTETS: 55
024 RX OCTETS: 706772
025 RX OCTETS: 6164
026 RX OCTETS: 653a
027 RX OCTETS: 20
028 RX OCTETS: 7765
029 RX OCTETS: 6273
030 RX OCTETS: 6f
031 RX OCTETS: 63
032 RX OCTETS: 6b
033 RX OCTETS: 65
034 RX OCTETS: 74
035 RX OCTETS: 0d0a
036 RX OCTETS: 43
037 RX OCTETS: 6f
038 RX OCTETS: 6e
039 RX OCTETS: 6e
040 RX OCTETS: 65
041 RX OCTETS: 63
042 RX OCTETS: 7469
043 RX OCTETS: 6f
044 RX OCTETS: 6e
045 RX OCTETS: 3a2055
046 RX OCTETS: 70677261
047 RX OCTETS: 6465
048 RX OCTETS: 0d0a
049 RX OCTETS: 5365632d576562536f636b65742d4163636570743a2038464668706848516d67496e52326d7870495763475455763736633d
0d0a
050 RX OCTETS: 0d0a
051 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=87126b7d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Hello, world!
052 TX OCTETS: 818d87126b7dcf770711e83e4b0ae8600719a6
053 TX FRAME : OPCODE=1, FIN=True, RSV=2, PAYLOAD-LEN=13, MASK=1942c74e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
Hello, world!
054 TX OCTETS: a18d1942c74e5127ab22766ee7397630ab2a38
055 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=bf9af341, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
056 TX OCTETS: 8980bf9af341
057 FAIL CONNECTION AFTER 1.000000 sec
058 RX OCTETS: 81
059 RX OCTETS: 0d
060 RX OCTETS: 48656c6c6f2c20776f726c6421
061 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASKED=False, MASK=None
Hello, world!
062 RX OCTETS: 8802
063 RX OCTETS: 03ea
064 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
0x03ea
065 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=61581e23, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
066 TX OCTETS: 888261581e2362b0
067 TCP DROPPED BY PEER