websocket-driver node-v6 - Case 2.6 : Pass - 6 ms @ 2023-09-07T20:31:00.807Z
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)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.8.2-0.10.9 Host: 127.0.0.1:4002 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: Eg+oTTBqodDEpW47MMvNAQ== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: DW1gWK7zmoHjyZ9pHzInwb1PYsE=
Key | Value | Description |
isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | True | True, iff I have initiated closing handshake (that is, did send close first). |
failedByMe | False | True, 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. |
droppedByMe | False | True, iff I dropped the TCP connection. |
wasClean | True | True, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
wasNotCleanReason | None | When wasClean == False, the reason what happened. |
wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish in time, this gets True. |
wasCloseHandshakeTimeout | False | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
localCloseCode | 1000 | The close code I sent in close frame (if any). |
localCloseReason | None | The close reason I sent in close frame (if any). |
remoteCloseCode | 1000 | The close code the peer sent me in close frame (if any). |
remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
Chop Size | Count | Octets |
4 | 1 | 4 |
127 | 1 | 127 |
129 | 1 | 129 |
Total | 3 | 260 |
Chop Size | Count | Octets |
1 | 131 | 131 |
8 | 1 | 8 |
240 | 1 | 240 |
Total | 133 | 379 |
Opcode | Count |
8 | 1 |
10 | 1 |
Total | 2 |
Opcode | Count |
8 | 1 |
9 | 1 |
Total | 2 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
322d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=216fc56c, 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: 21
007 TX OCTETS: 6f
008 TX OCTETS: c5
009 TX OCTETS: 6c
010 TX OCTETS: df
011 TX OCTETS: 91
012 TX OCTETS: 3b
013 TX OCTETS: 92
014 TX OCTETS: df
015 TX OCTETS: 91
016 TX OCTETS: 3b
017 TX OCTETS: 92
018 TX OCTETS: df
019 TX OCTETS: 91
020 TX OCTETS: 3b
021 TX OCTETS: 92
022 TX OCTETS: df
023 TX OCTETS: 91
024 TX OCTETS: 3b
025 TX OCTETS: 92
026 TX OCTETS: df
027 TX OCTETS: 91
028 TX OCTETS: 3b
029 TX OCTETS: 92
030 TX OCTETS: df
031 TX OCTETS: 91
032 TX OCTETS: 3b
033 TX OCTETS: 92
034 TX OCTETS: df
035 TX OCTETS: 91
036 TX OCTETS: 3b
037 TX OCTETS: 92
038 TX OCTETS: df
039 TX OCTETS: 91
040 TX OCTETS: 3b
041 TX OCTETS: 92
042 TX OCTETS: df
043 TX OCTETS: 91
044 TX OCTETS: 3b
045 TX OCTETS: 92
046 TX OCTETS: df
047 TX OCTETS: 91
048 TX OCTETS: 3b
049 TX OCTETS: 92
050 TX OCTETS: df
051 TX OCTETS: 91
052 TX OCTETS: 3b
053 TX OCTETS: 92
054 TX OCTETS: df
055 TX OCTETS: 91
056 TX OCTETS: 3b
057 TX OCTETS: 92
058 TX OCTETS: df
059 TX OCTETS: 91
060 TX OCTETS: 3b
061 TX OCTETS: 92
062 TX OCTETS: df
063 TX OCTETS: 91
064 TX OCTETS: 3b
065 TX OCTETS: 92
066 TX OCTETS: df
067 TX OCTETS: 91
068 TX OCTETS: 3b
069 TX OCTETS: 92
070 TX OCTETS: df
071 TX OCTETS: 91
072 TX OCTETS: 3b
073 TX OCTETS: 92
074 TX OCTETS: df
075 TX OCTETS: 91
076 TX OCTETS: 3b
077 TX OCTETS: 92
078 TX OCTETS: df
079 TX OCTETS: 91
080 TX OCTETS: 3b
081 TX OCTETS: 92
082 TX OCTETS: df
083 TX OCTETS: 91
084 TX OCTETS: 3b
085 TX OCTETS: 92
086 TX OCTETS: df
087 TX OCTETS: 91
088 TX OCTETS: 3b
089 TX OCTETS: 92
090 TX OCTETS: df
091 TX OCTETS: 91
092 TX OCTETS: 3b
093 TX OCTETS: 92
094 TX OCTETS: df
095 TX OCTETS: 91
096 TX OCTETS: 3b
097 TX OCTETS: 92
098 TX OCTETS: df
099 TX OCTETS: 91
100 TX OCTETS: 3b
101 TX OCTETS: 92
102 TX OCTETS: df
103 TX OCTETS: 91
104 TX OCTETS: 3b
105 TX OCTETS: 92
106 TX OCTETS: df
107 TX OCTETS: 91
108 TX OCTETS: 3b
109 TX OCTETS: 92
110 TX OCTETS: df
111 TX OCTETS: 91
112 TX OCTETS: 3b
113 TX OCTETS: 92
114 TX OCTETS: df
115 TX OCTETS: 91
116 TX OCTETS: 3b
117 TX OCTETS: 92
118 TX OCTETS: df
119 TX OCTETS: 91
120 TX OCTETS: 3b
121 TX OCTETS: 92
122 TX OCTETS: df
123 TX OCTETS: 91
124 TX OCTETS: 3b
125 TX OCTETS: 92
126 TX OCTETS: df
127 TX OCTETS: 91
128 TX OCTETS: 3b
129 TX OCTETS: 92
130 TX OCTETS: df
131 TX OCTETS: 91
132 TX OCTETS: 3b
133 TX OCTETS: 92
134 TX OCTETS: df
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=3e1b9501, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
138 TX OCTETS: 88823e1b95013df3
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