faye-websocket ruby-2.5 thin - Case 2.6 : Pass - 5 ms @ 2023-09-07T20:37:31.052Z
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:7005 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: fg+U9nP7p1aVSzmf5Sa41w== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: VhaWM/Ofzp4SVxePW/M27ERQn9w=
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=72264a87, 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: 72
007 TX OCTETS: 26
008 TX OCTETS: 4a
009 TX OCTETS: 87
010 TX OCTETS: 8c
011 TX OCTETS: d8
012 TX OCTETS: b4
013 TX OCTETS: 79
014 TX OCTETS: 8c
015 TX OCTETS: d8
016 TX OCTETS: b4
017 TX OCTETS: 79
018 TX OCTETS: 8c
019 TX OCTETS: d8
020 TX OCTETS: b4
021 TX OCTETS: 79
022 TX OCTETS: 8c
023 TX OCTETS: d8
024 TX OCTETS: b4
025 TX OCTETS: 79
026 TX OCTETS: 8c
027 TX OCTETS: d8
028 TX OCTETS: b4
029 TX OCTETS: 79
030 TX OCTETS: 8c
031 TX OCTETS: d8
032 TX OCTETS: b4
033 TX OCTETS: 79
034 TX OCTETS: 8c
035 TX OCTETS: d8
036 TX OCTETS: b4
037 TX OCTETS: 79
038 TX OCTETS: 8c
039 TX OCTETS: d8
040 TX OCTETS: b4
041 TX OCTETS: 79
042 TX OCTETS: 8c
043 TX OCTETS: d8
044 TX OCTETS: b4
045 TX OCTETS: 79
046 TX OCTETS: 8c
047 TX OCTETS: d8
048 TX OCTETS: b4
049 TX OCTETS: 79
050 TX OCTETS: 8c
051 TX OCTETS: d8
052 TX OCTETS: b4
053 TX OCTETS: 79
054 TX OCTETS: 8c
055 TX OCTETS: d8
056 TX OCTETS: b4
057 TX OCTETS: 79
058 TX OCTETS: 8c
059 TX OCTETS: d8
060 TX OCTETS: b4
061 TX OCTETS: 79
062 TX OCTETS: 8c
063 TX OCTETS: d8
064 TX OCTETS: b4
065 TX OCTETS: 79
066 TX OCTETS: 8c
067 TX OCTETS: d8
068 TX OCTETS: b4
069 TX OCTETS: 79
070 TX OCTETS: 8c
071 TX OCTETS: d8
072 TX OCTETS: b4
073 TX OCTETS: 79
074 TX OCTETS: 8c
075 TX OCTETS: d8
076 TX OCTETS: b4
077 TX OCTETS: 79
078 TX OCTETS: 8c
079 TX OCTETS: d8
080 TX OCTETS: b4
081 TX OCTETS: 79
082 TX OCTETS: 8c
083 TX OCTETS: d8
084 TX OCTETS: b4
085 TX OCTETS: 79
086 TX OCTETS: 8c
087 TX OCTETS: d8
088 TX OCTETS: b4
089 TX OCTETS: 79
090 TX OCTETS: 8c
091 TX OCTETS: d8
092 TX OCTETS: b4
093 TX OCTETS: 79
094 TX OCTETS: 8c
095 TX OCTETS: d8
096 TX OCTETS: b4
097 TX OCTETS: 79
098 TX OCTETS: 8c
099 TX OCTETS: d8
100 TX OCTETS: b4
101 TX OCTETS: 79
102 TX OCTETS: 8c
103 TX OCTETS: d8
104 TX OCTETS: b4
105 TX OCTETS: 79
106 TX OCTETS: 8c
107 TX OCTETS: d8
108 TX OCTETS: b4
109 TX OCTETS: 79
110 TX OCTETS: 8c
111 TX OCTETS: d8
112 TX OCTETS: b4
113 TX OCTETS: 79
114 TX OCTETS: 8c
115 TX OCTETS: d8
116 TX OCTETS: b4
117 TX OCTETS: 79
118 TX OCTETS: 8c
119 TX OCTETS: d8
120 TX OCTETS: b4
121 TX OCTETS: 79
122 TX OCTETS: 8c
123 TX OCTETS: d8
124 TX OCTETS: b4
125 TX OCTETS: 79
126 TX OCTETS: 8c
127 TX OCTETS: d8
128 TX OCTETS: b4
129 TX OCTETS: 79
130 TX OCTETS: 8c
131 TX OCTETS: d8
132 TX OCTETS: b4
133 TX OCTETS: 79
134 TX OCTETS: 8c
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=18572e95, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
138 TX OCTETS: 888218572e951bbf
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