Autobahn WebSocket Testsuite Report
Autobahn WebSocket

faye-websocket ruby-3.1 goliath - Case 2.6 : Pass - 3 ms @ 2023-09-07T20:38:36.776Z

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:7011
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: JBcgM07mnm0zZN8GTXjUAA==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: /7On3Nfwwf3P7GIIjVPHSkMLiFM=


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