Autobahn WebSocket Testsuite Report
Autobahn WebSocket

SAMD21 / W5100 / Ethernet - Case 2.6 : Pass - 22 ms @ 2020-06-03T17:02:44.575Z

Case Description

Send ping with binary payload of 125 octets, send in octet-wise chops.

Case Expectation

Pong with payload echo'ed is sent in reply to Ping. Implementations must be TCP clean. Clean close with normal code.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('pong', '0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe ...')]}

Observed:
[('pong', '0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe ...')]

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: QBaOZhqe0HLjFLj5V5YoOQ==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: zRCGxokUJmOzRACijBqXGAlLyXk=


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
2612
414
18118
19119
32132
50150
1251125
Total12260

Octets Transmitted by Chop Size

Chop SizeCountOctets
1131131
818
2451245
Total133384

Frames Received by Opcode

OpcodeCount
81
101
Total2

Frames Transmitted by Opcode

OpcodeCount
81
91
Total2


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c73
002 RX OCTETS: 0d0a
003 RX OCTETS: 557067726164653a20776562736f636b6574
004 RX OCTETS: 0d0a
005 RX OCTETS: 436f6e6e656374696f6e3a2055706772616465
006 RX OCTETS: 0d0a
007 RX OCTETS: 5365632d576562536f636b65742d4163636570743a207a524347786f6b554a6d4f7a524143696a42715847416c4c79586b3d
008 RX OCTETS: 0d0a0d0a
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=44ee7183, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
010 TX OCTETS: 89
011 CLOSE CONNECTION AFTER 2.000000 sec
012 TX OCTETS: fd
013 TX OCTETS: 44
014 TX OCTETS: ee
015 TX OCTETS: 71
016 TX OCTETS: 83
017 TX OCTETS: ba
018 TX OCTETS: 10
019 TX OCTETS: 8f
020 TX OCTETS: 7d
021 TX OCTETS: ba
022 TX OCTETS: 10
023 TX OCTETS: 8f
024 TX OCTETS: 7d
025 TX OCTETS: ba
026 TX OCTETS: 10
027 TX OCTETS: 8f
028 TX OCTETS: 7d
029 TX OCTETS: ba
030 TX OCTETS: 10
031 TX OCTETS: 8f
032 TX OCTETS: 7d
033 TX OCTETS: ba
034 TX OCTETS: 10
035 TX OCTETS: 8f
036 TX OCTETS: 7d
037 TX OCTETS: ba
038 TX OCTETS: 10
039 TX OCTETS: 8f
040 TX OCTETS: 7d
041 TX OCTETS: ba
042 TX OCTETS: 10
043 TX OCTETS: 8f
044 TX OCTETS: 7d
045 TX OCTETS: ba
046 TX OCTETS: 10
047 TX OCTETS: 8f
048 TX OCTETS: 7d
049 TX OCTETS: ba
050 TX OCTETS: 10
051 TX OCTETS: 8f
052 TX OCTETS: 7d
053 TX OCTETS: ba
054 TX OCTETS: 10
055 TX OCTETS: 8f
056 TX OCTETS: 7d
057 TX OCTETS: ba
058 TX OCTETS: 10
059 TX OCTETS: 8f
060 TX OCTETS: 7d
061 TX OCTETS: ba
062 TX OCTETS: 10
063 TX OCTETS: 8f
064 TX OCTETS: 7d
065 TX OCTETS: ba
066 TX OCTETS: 10
067 TX OCTETS: 8f
068 TX OCTETS: 7d
069 TX OCTETS: ba
070 TX OCTETS: 10
071 TX OCTETS: 8f
072 TX OCTETS: 7d
073 TX OCTETS: ba
074 TX OCTETS: 10
075 TX OCTETS: 8f
076 TX OCTETS: 7d
077 TX OCTETS: ba
078 TX OCTETS: 10
079 TX OCTETS: 8f
080 TX OCTETS: 7d
081 TX OCTETS: ba
082 TX OCTETS: 10
083 TX OCTETS: 8f
084 TX OCTETS: 7d
085 TX OCTETS: ba
086 TX OCTETS: 10
087 TX OCTETS: 8f
088 TX OCTETS: 7d
089 TX OCTETS: ba
090 TX OCTETS: 10
091 TX OCTETS: 8f
092 TX OCTETS: 7d
093 TX OCTETS: ba
094 TX OCTETS: 10
095 TX OCTETS: 8f
096 TX OCTETS: 7d
097 TX OCTETS: ba
098 TX OCTETS: 10
099 TX OCTETS: 8f
100 TX OCTETS: 7d
101 TX OCTETS: ba
102 TX OCTETS: 10
103 TX OCTETS: 8f
104 TX OCTETS: 7d
105 TX OCTETS: ba
106 TX OCTETS: 10
107 TX OCTETS: 8f
108 TX OCTETS: 7d
109 TX OCTETS: ba
110 TX OCTETS: 10
111 TX OCTETS: 8f
112 TX OCTETS: 7d
113 TX OCTETS: ba
114 TX OCTETS: 10
115 TX OCTETS: 8f
116 TX OCTETS: 7d
117 TX OCTETS: ba
118 TX OCTETS: 10
119 TX OCTETS: 8f
120 TX OCTETS: 7d
121 TX OCTETS: ba
122 TX OCTETS: 10
123 TX OCTETS: 8f
124 TX OCTETS: 7d
125 TX OCTETS: ba
126 TX OCTETS: 10
127 TX OCTETS: 8f
128 TX OCTETS: 7d
129 TX OCTETS: ba
130 TX OCTETS: 10
131 TX OCTETS: 8f
132 TX OCTETS: 7d
133 TX OCTETS: ba
134 TX OCTETS: 10
135 TX OCTETS: 8f
136 TX OCTETS: 7d
137 TX OCTETS: ba
138 TX OCTETS: 10
139 TX OCTETS: 8f
140 TX OCTETS: 7d
141 TX OCTETS: ba
142 RX OCTETS: 8a7d
143 RX OCTETS: fefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefe ...
144 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=125, MASKED=False, MASK=None
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
145 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=42ed26be, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
146 TX OCTETS: 888242ed26be4105
147 RX OCTETS: 8802
148 RX OCTETS: 03e8
149 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
150 TCP DROPPED BY PEER