Autobahn WebSocket Testsuite Report
Autobahn WebSocket

SAMD21 / W5100 / Ethernet - Case 2.10 : Pass - 14 ms @ 2020-06-03T17:02:44.662Z

Case Description

Send 10 Pings with payload.

Case Expectation

Pongs for our Pings with all the payloads. Note: This is not required by the Spec .. but we check for this behaviour anyway. Clean close with normal code.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]}

Observed:
[('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]

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.183:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: oYirHuydKsS/fu4uHzIroA==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: nR5ymbjBCR1LxhvVx/mPsojnn6w=


Closing Behavior

KeyValueDescription
isServerFalseTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeTrueTrue, 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).
remoteCloseCode1000The 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
177
224
428
9327
10330
11444
20120
21121
32132
50150
Total25243

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
1510150
2451245
Total12403

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c73
002 RX OCTETS: 0d0a
003 RX OCTETS: 557067726164653a20776562736f636b65740d0a
004 RX OCTETS: 436f6e6e656374696f6e3a20557067726164650d0a
005 RX OCTETS: 5365632d576562536f636b65742d4163636570743a206e5235796d626a424352314c78687656782f6d50736f6a6e6e36773d
006 RX OCTETS: 0d0a0d0a
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=23547cdf, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-0
008 TX OCTETS: 898923547cdf533505b34c3518f213
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=712e5117, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-1
010 TX OCTETS: 8989712e5117014f287b1e4f353a40
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=4d18430b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-2
012 TX OCTETS: 89894d18430b3d793a67227927267f
013 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=36a22176, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-3
014 TX OCTETS: 898936a2217646c3581a59c3455b05
015 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=7e4d6702, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-4
016 TX OCTETS: 89897e4d67020e2c1e6e112c032f4a
017 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=8bdfb06f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-5
018 TX OCTETS: 89898bdfb06ffbbec903e4bed442be
019 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=56f78112, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-6
020 TX OCTETS: 898956f781122696f87e3996e53f60
021 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=0c0e6116, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-7
022 TX OCTETS: 89890c0e61167c6f187a636f053b3b
023 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=97e5875f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-8
024 TX OCTETS: 898997e5875fe784fe33f884e372af
025 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=674dfa79, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-9
026 TX OCTETS: 8989674dfa79172c8315082c9e545e
027 CLOSE CONNECTION AFTER 3.000000 sec
028 RX OCTETS: 8a
029 RX OCTETS: 097061796c6f61642d308a
030 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-0
031 RX OCTETS: 09
032 RX OCTETS: 7061796c6f61642d318a
033 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-1
034 RX OCTETS: 097061796c6f61642d32
035 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-2
036 RX OCTETS: 8a
037 RX OCTETS: 097061796c6f61642d338a
038 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-3
039 RX OCTETS: 097061796c6f61642d34
040 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-4
041 RX OCTETS: 8a
042 RX OCTETS: 09
043 RX OCTETS: 7061796c6f61642d35
044 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-5
045 RX OCTETS: 8a
046 RX OCTETS: 09
047 RX OCTETS: 7061796c6f61642d36
048 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-6
049 RX OCTETS: 8a09
050 RX OCTETS: 7061796c6f61642d37
051 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-7
052 RX OCTETS: 8a097061796c6f61642d38
053 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-8
054 RX OCTETS: 8a097061796c6f61642d39
055 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-9
056 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=9345d0e6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
057 TX OCTETS: 88829345d0e690ad
058 RX OCTETS: 880203e8
059 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
060 TCP DROPPED BY PEER