Autobahn WebSocket Testsuite Report
Autobahn WebSocket

wtx - Case 2.6 : Pass - 16 ms @ 2023-09-27T20:50:14.951Z

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.2-0.10.9
Host: 127.0.0.1:8080
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: GfrSVhdgVGDGzKAB/ym9lw==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Connection: Upgrade
Sec-WebSocket-Accept: jurJJnsEhdTQFpfXvzqubhqQVMk=
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).
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
414
1271127
1291129
Total3260

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
               322d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a436f6e6e656374696f6e3a2055706772
               6164650d0a5365632d576562536f ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=ab44635e, 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: ab
007 TX OCTETS: 44
008 TX OCTETS: 63
009 TX OCTETS: 5e
010 TX OCTETS: 55
011 TX OCTETS: ba
012 TX OCTETS: 9d
013 TX OCTETS: a0
014 TX OCTETS: 55
015 TX OCTETS: ba
016 TX OCTETS: 9d
017 TX OCTETS: a0
018 TX OCTETS: 55
019 TX OCTETS: ba
020 TX OCTETS: 9d
021 TX OCTETS: a0
022 TX OCTETS: 55
023 TX OCTETS: ba
024 TX OCTETS: 9d
025 TX OCTETS: a0
026 TX OCTETS: 55
027 TX OCTETS: ba
028 TX OCTETS: 9d
029 TX OCTETS: a0
030 TX OCTETS: 55
031 TX OCTETS: ba
032 TX OCTETS: 9d
033 TX OCTETS: a0
034 TX OCTETS: 55
035 TX OCTETS: ba
036 TX OCTETS: 9d
037 TX OCTETS: a0
038 TX OCTETS: 55
039 TX OCTETS: ba
040 TX OCTETS: 9d
041 TX OCTETS: a0
042 TX OCTETS: 55
043 TX OCTETS: ba
044 TX OCTETS: 9d
045 TX OCTETS: a0
046 TX OCTETS: 55
047 TX OCTETS: ba
048 TX OCTETS: 9d
049 TX OCTETS: a0
050 TX OCTETS: 55
051 TX OCTETS: ba
052 TX OCTETS: 9d
053 TX OCTETS: a0
054 TX OCTETS: 55
055 TX OCTETS: ba
056 TX OCTETS: 9d
057 TX OCTETS: a0
058 TX OCTETS: 55
059 TX OCTETS: ba
060 TX OCTETS: 9d
061 TX OCTETS: a0
062 TX OCTETS: 55
063 TX OCTETS: ba
064 TX OCTETS: 9d
065 TX OCTETS: a0
066 TX OCTETS: 55
067 TX OCTETS: ba
068 TX OCTETS: 9d
069 TX OCTETS: a0
070 TX OCTETS: 55
071 TX OCTETS: ba
072 TX OCTETS: 9d
073 TX OCTETS: a0
074 TX OCTETS: 55
075 TX OCTETS: ba
076 TX OCTETS: 9d
077 TX OCTETS: a0
078 TX OCTETS: 55
079 TX OCTETS: ba
080 TX OCTETS: 9d
081 TX OCTETS: a0
082 TX OCTETS: 55
083 TX OCTETS: ba
084 TX OCTETS: 9d
085 TX OCTETS: a0
086 TX OCTETS: 55
087 TX OCTETS: ba
088 TX OCTETS: 9d
089 TX OCTETS: a0
090 TX OCTETS: 55
091 TX OCTETS: ba
092 TX OCTETS: 9d
093 TX OCTETS: a0
094 TX OCTETS: 55
095 TX OCTETS: ba
096 TX OCTETS: 9d
097 TX OCTETS: a0
098 TX OCTETS: 55
099 TX OCTETS: ba
100 TX OCTETS: 9d
101 TX OCTETS: a0
102 TX OCTETS: 55
103 TX OCTETS: ba
104 TX OCTETS: 9d
105 TX OCTETS: a0
106 TX OCTETS: 55
107 TX OCTETS: ba
108 TX OCTETS: 9d
109 TX OCTETS: a0
110 TX OCTETS: 55
111 TX OCTETS: ba
112 TX OCTETS: 9d
113 TX OCTETS: a0
114 TX OCTETS: 55
115 TX OCTETS: ba
116 TX OCTETS: 9d
117 TX OCTETS: a0
118 TX OCTETS: 55
119 TX OCTETS: ba
120 TX OCTETS: 9d
121 TX OCTETS: a0
122 TX OCTETS: 55
123 TX OCTETS: ba
124 TX OCTETS: 9d
125 TX OCTETS: a0
126 TX OCTETS: 55
127 TX OCTETS: ba
128 TX OCTETS: 9d
129 TX OCTETS: a0
130 TX OCTETS: 55
131 TX OCTETS: ba
132 TX OCTETS: 9d
133 TX OCTETS: a0
134 TX OCTETS: 55
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=dd1d5da2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
138 TX OCTETS: 8882dd1d5da2def5
139 RX OCTETS: 880203e8
140 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
141 TCP DROPPED BY PEER