Autobahn WebSocket Testsuite Report
Autobahn WebSocket

websock server - Case 2.6 : Pass - 16 ms @ 2024-11-28T05:30:50.115Z

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 /ws HTTP/1.1
User-Agent: AutobahnTestSuite/0.8.2-0.10.9
Host: 127.0.0.1:8888
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: 62Wd6/sOevg35292dsTkYQ==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Date: Thu, 28 Nov 2024 05:30:50 GMT
Upgrade: websocket
Connection: Upgrade
Sec-Websocket-Accept: Xd0LinaBOcXTFmWEG757c79tarw=


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
1661166
Total3297

Octets Transmitted by Chop Size

Chop SizeCountOctets
1131131
818
2421242
Total133381

Frames Received by Opcode

OpcodeCount
81
101
Total2

Frames Transmitted by Opcode

OpcodeCount
81
91
Total2


Wire Log

000 TX OCTETS: 474554202f777320485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e
               382e322d302e31302e390d0a486f ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a446174653a205468752c203238204e6f
               7620323032342030353a33303a35 ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=4b6eee54, 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: 4b
007 TX OCTETS: 6e
008 TX OCTETS: ee
009 TX OCTETS: 54
010 TX OCTETS: b5
011 TX OCTETS: 90
012 TX OCTETS: 10
013 TX OCTETS: aa
014 TX OCTETS: b5
015 TX OCTETS: 90
016 TX OCTETS: 10
017 TX OCTETS: aa
018 TX OCTETS: b5
019 TX OCTETS: 90
020 TX OCTETS: 10
021 TX OCTETS: aa
022 TX OCTETS: b5
023 TX OCTETS: 90
024 TX OCTETS: 10
025 TX OCTETS: aa
026 TX OCTETS: b5
027 TX OCTETS: 90
028 TX OCTETS: 10
029 TX OCTETS: aa
030 TX OCTETS: b5
031 TX OCTETS: 90
032 TX OCTETS: 10
033 TX OCTETS: aa
034 TX OCTETS: b5
035 TX OCTETS: 90
036 TX OCTETS: 10
037 TX OCTETS: aa
038 TX OCTETS: b5
039 TX OCTETS: 90
040 TX OCTETS: 10
041 TX OCTETS: aa
042 TX OCTETS: b5
043 TX OCTETS: 90
044 TX OCTETS: 10
045 TX OCTETS: aa
046 TX OCTETS: b5
047 TX OCTETS: 90
048 TX OCTETS: 10
049 TX OCTETS: aa
050 TX OCTETS: b5
051 TX OCTETS: 90
052 TX OCTETS: 10
053 TX OCTETS: aa
054 TX OCTETS: b5
055 TX OCTETS: 90
056 TX OCTETS: 10
057 TX OCTETS: aa
058 TX OCTETS: b5
059 TX OCTETS: 90
060 TX OCTETS: 10
061 TX OCTETS: aa
062 TX OCTETS: b5
063 TX OCTETS: 90
064 TX OCTETS: 10
065 TX OCTETS: aa
066 TX OCTETS: b5
067 TX OCTETS: 90
068 TX OCTETS: 10
069 TX OCTETS: aa
070 TX OCTETS: b5
071 TX OCTETS: 90
072 TX OCTETS: 10
073 TX OCTETS: aa
074 TX OCTETS: b5
075 TX OCTETS: 90
076 TX OCTETS: 10
077 TX OCTETS: aa
078 TX OCTETS: b5
079 TX OCTETS: 90
080 TX OCTETS: 10
081 TX OCTETS: aa
082 TX OCTETS: b5
083 TX OCTETS: 90
084 TX OCTETS: 10
085 TX OCTETS: aa
086 TX OCTETS: b5
087 TX OCTETS: 90
088 TX OCTETS: 10
089 TX OCTETS: aa
090 TX OCTETS: b5
091 TX OCTETS: 90
092 TX OCTETS: 10
093 TX OCTETS: aa
094 TX OCTETS: b5
095 TX OCTETS: 90
096 TX OCTETS: 10
097 TX OCTETS: aa
098 TX OCTETS: b5
099 TX OCTETS: 90
100 TX OCTETS: 10
101 TX OCTETS: aa
102 TX OCTETS: b5
103 TX OCTETS: 90
104 TX OCTETS: 10
105 TX OCTETS: aa
106 TX OCTETS: b5
107 TX OCTETS: 90
108 TX OCTETS: 10
109 TX OCTETS: aa
110 TX OCTETS: b5
111 TX OCTETS: 90
112 TX OCTETS: 10
113 TX OCTETS: aa
114 TX OCTETS: b5
115 TX OCTETS: 90
116 TX OCTETS: 10
117 TX OCTETS: aa
118 TX OCTETS: b5
119 TX OCTETS: 90
120 TX OCTETS: 10
121 TX OCTETS: aa
122 TX OCTETS: b5
123 TX OCTETS: 90
124 TX OCTETS: 10
125 TX OCTETS: aa
126 TX OCTETS: b5
127 TX OCTETS: 90
128 TX OCTETS: 10
129 TX OCTETS: aa
130 TX OCTETS: b5
131 TX OCTETS: 90
132 TX OCTETS: 10
133 TX OCTETS: aa
134 TX OCTETS: b5
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=09eeef04, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
138 TX OCTETS: 888209eeef040a06
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