pony-websocket - Case 2.6 : Pass - 17 ms @ 2021-03-10T16:19:39.810Z
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.0-0.10.9 Host: 127.0.0.1:8989 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: P6GJNb2jfY4TfkoFoxUhBw== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept:UvrCBzebZLsC7wVA3S89KVKoDxE=
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 |
128 | 1 | 128 |
Total | 3 | 259 |
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
302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=e2b16d32, 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: e2
007 TX OCTETS: b1
008 TX OCTETS: 6d
009 TX OCTETS: 32
010 TX OCTETS: 1c
011 TX OCTETS: 4f
012 TX OCTETS: 93
013 TX OCTETS: cc
014 TX OCTETS: 1c
015 TX OCTETS: 4f
016 TX OCTETS: 93
017 TX OCTETS: cc
018 TX OCTETS: 1c
019 TX OCTETS: 4f
020 TX OCTETS: 93
021 TX OCTETS: cc
022 TX OCTETS: 1c
023 TX OCTETS: 4f
024 TX OCTETS: 93
025 TX OCTETS: cc
026 TX OCTETS: 1c
027 TX OCTETS: 4f
028 TX OCTETS: 93
029 TX OCTETS: cc
030 TX OCTETS: 1c
031 TX OCTETS: 4f
032 TX OCTETS: 93
033 TX OCTETS: cc
034 TX OCTETS: 1c
035 TX OCTETS: 4f
036 TX OCTETS: 93
037 TX OCTETS: cc
038 TX OCTETS: 1c
039 TX OCTETS: 4f
040 TX OCTETS: 93
041 TX OCTETS: cc
042 TX OCTETS: 1c
043 TX OCTETS: 4f
044 TX OCTETS: 93
045 TX OCTETS: cc
046 TX OCTETS: 1c
047 TX OCTETS: 4f
048 TX OCTETS: 93
049 TX OCTETS: cc
050 TX OCTETS: 1c
051 TX OCTETS: 4f
052 TX OCTETS: 93
053 TX OCTETS: cc
054 TX OCTETS: 1c
055 TX OCTETS: 4f
056 TX OCTETS: 93
057 TX OCTETS: cc
058 TX OCTETS: 1c
059 TX OCTETS: 4f
060 TX OCTETS: 93
061 TX OCTETS: cc
062 TX OCTETS: 1c
063 TX OCTETS: 4f
064 TX OCTETS: 93
065 TX OCTETS: cc
066 TX OCTETS: 1c
067 TX OCTETS: 4f
068 TX OCTETS: 93
069 TX OCTETS: cc
070 TX OCTETS: 1c
071 TX OCTETS: 4f
072 TX OCTETS: 93
073 TX OCTETS: cc
074 TX OCTETS: 1c
075 TX OCTETS: 4f
076 TX OCTETS: 93
077 TX OCTETS: cc
078 TX OCTETS: 1c
079 TX OCTETS: 4f
080 TX OCTETS: 93
081 TX OCTETS: cc
082 TX OCTETS: 1c
083 TX OCTETS: 4f
084 TX OCTETS: 93
085 TX OCTETS: cc
086 TX OCTETS: 1c
087 TX OCTETS: 4f
088 TX OCTETS: 93
089 TX OCTETS: cc
090 TX OCTETS: 1c
091 TX OCTETS: 4f
092 TX OCTETS: 93
093 TX OCTETS: cc
094 TX OCTETS: 1c
095 TX OCTETS: 4f
096 TX OCTETS: 93
097 TX OCTETS: cc
098 TX OCTETS: 1c
099 TX OCTETS: 4f
100 TX OCTETS: 93
101 TX OCTETS: cc
102 TX OCTETS: 1c
103 TX OCTETS: 4f
104 TX OCTETS: 93
105 TX OCTETS: cc
106 TX OCTETS: 1c
107 TX OCTETS: 4f
108 TX OCTETS: 93
109 TX OCTETS: cc
110 TX OCTETS: 1c
111 TX OCTETS: 4f
112 TX OCTETS: 93
113 TX OCTETS: cc
114 TX OCTETS: 1c
115 TX OCTETS: 4f
116 TX OCTETS: 93
117 TX OCTETS: cc
118 TX OCTETS: 1c
119 TX OCTETS: 4f
120 TX OCTETS: 93
121 TX OCTETS: cc
122 TX OCTETS: 1c
123 TX OCTETS: 4f
124 TX OCTETS: 93
125 TX OCTETS: cc
126 TX OCTETS: 1c
127 TX OCTETS: 4f
128 TX OCTETS: 93
129 TX OCTETS: cc
130 TX OCTETS: 1c
131 TX OCTETS: 4f
132 TX OCTETS: 93
133 TX OCTETS: cc
134 TX OCTETS: 1c
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=3838b9fa, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
138 TX OCTETS: 88823838b9fa3bd0
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