Autobahn WebSocket Testsuite Report
Autobahn WebSocket

rust-websocket - Case 2.6 : Pass - 9 ms @ 2018-10-31T02:17:48.412Z

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: 127.0.0.1:9002
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: vH/rO76SAFolrV8q9W6z6Q==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Sec-WebSocket-Accept: MSK9sYTnoWpqSSdSVVl1LPBlHoQ=
Connection: Upgrade
Upgrade: websocket


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).
remoteCloseCodeNoneThe 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
212
1271127
1291129
Total3258

Octets Transmitted by Chop Size

Chop SizeCountOctets
1131131
818
2401240
Total133379

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: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365632d576562536f636b65742d4163
               636570743a204d534b397359546e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=1b12d4b4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
003 TX OCTETS: 89
004 CLOSE CONNECTION AFTER 2.000000 sec
005 TX OCTETS: fd
006 TX OCTETS: 1b
007 TX OCTETS: 12
008 TX OCTETS: d4
009 TX OCTETS: b4
010 TX OCTETS: e5
011 TX OCTETS: ec
012 TX OCTETS: 2a
013 TX OCTETS: 4a
014 TX OCTETS: e5
015 TX OCTETS: ec
016 TX OCTETS: 2a
017 TX OCTETS: 4a
018 TX OCTETS: e5
019 TX OCTETS: ec
020 TX OCTETS: 2a
021 TX OCTETS: 4a
022 TX OCTETS: e5
023 TX OCTETS: ec
024 TX OCTETS: 2a
025 TX OCTETS: 4a
026 TX OCTETS: e5
027 TX OCTETS: ec
028 TX OCTETS: 2a
029 TX OCTETS: 4a
030 TX OCTETS: e5
031 TX OCTETS: ec
032 TX OCTETS: 2a
033 TX OCTETS: 4a
034 TX OCTETS: e5
035 TX OCTETS: ec
036 TX OCTETS: 2a
037 TX OCTETS: 4a
038 TX OCTETS: e5
039 TX OCTETS: ec
040 TX OCTETS: 2a
041 TX OCTETS: 4a
042 TX OCTETS: e5
043 TX OCTETS: ec
044 TX OCTETS: 2a
045 TX OCTETS: 4a
046 TX OCTETS: e5
047 TX OCTETS: ec
048 TX OCTETS: 2a
049 TX OCTETS: 4a
050 TX OCTETS: e5
051 TX OCTETS: ec
052 TX OCTETS: 2a
053 TX OCTETS: 4a
054 TX OCTETS: e5
055 TX OCTETS: ec
056 TX OCTETS: 2a
057 TX OCTETS: 4a
058 TX OCTETS: e5
059 TX OCTETS: ec
060 TX OCTETS: 2a
061 TX OCTETS: 4a
062 TX OCTETS: e5
063 TX OCTETS: ec
064 TX OCTETS: 2a
065 TX OCTETS: 4a
066 TX OCTETS: e5
067 TX OCTETS: ec
068 TX OCTETS: 2a
069 TX OCTETS: 4a
070 TX OCTETS: e5
071 TX OCTETS: ec
072 TX OCTETS: 2a
073 TX OCTETS: 4a
074 TX OCTETS: e5
075 TX OCTETS: ec
076 TX OCTETS: 2a
077 TX OCTETS: 4a
078 TX OCTETS: e5
079 TX OCTETS: ec
080 TX OCTETS: 2a
081 TX OCTETS: 4a
082 TX OCTETS: e5
083 TX OCTETS: ec
084 TX OCTETS: 2a
085 TX OCTETS: 4a
086 TX OCTETS: e5
087 TX OCTETS: ec
088 TX OCTETS: 2a
089 TX OCTETS: 4a
090 TX OCTETS: e5
091 TX OCTETS: ec
092 TX OCTETS: 2a
093 TX OCTETS: 4a
094 TX OCTETS: e5
095 TX OCTETS: ec
096 TX OCTETS: 2a
097 TX OCTETS: 4a
098 TX OCTETS: e5
099 TX OCTETS: ec
100 TX OCTETS: 2a
101 TX OCTETS: 4a
102 TX OCTETS: e5
103 TX OCTETS: ec
104 TX OCTETS: 2a
105 TX OCTETS: 4a
106 TX OCTETS: e5
107 TX OCTETS: ec
108 TX OCTETS: 2a
109 TX OCTETS: 4a
110 TX OCTETS: e5
111 TX OCTETS: ec
112 TX OCTETS: 2a
113 TX OCTETS: 4a
114 TX OCTETS: e5
115 TX OCTETS: ec
116 TX OCTETS: 2a
117 TX OCTETS: 4a
118 TX OCTETS: e5
119 TX OCTETS: ec
120 TX OCTETS: 2a
121 TX OCTETS: 4a
122 TX OCTETS: e5
123 TX OCTETS: ec
124 TX OCTETS: 2a
125 TX OCTETS: 4a
126 TX OCTETS: e5
127 TX OCTETS: ec
128 TX OCTETS: 2a
129 TX OCTETS: 4a
130 TX OCTETS: e5
131 TX OCTETS: ec
132 TX OCTETS: 2a
133 TX OCTETS: 4a
134 TX OCTETS: e5
135 RX OCTETS: 8a7dfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefe ...
136 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=125, MASKED=False, MASK=None
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
137 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=847a0931, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
138 TX OCTETS: 8882847a09318792
139 RX OCTETS: 8800
140 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=False, MASK=None
141 TCP DROPPED BY PEER