lluv-websocket - Case 2.6 : Pass - 1968 ms @ 2016-03-22T16:32:31.937Z
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 /runCase?case=22&agent=lluv-websocket HTTP/1.1 Host: 127.0.0.1:9001 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: D33e+wcATgAFtetrAhwEOA== Sec-WebSocket-Version: 13 Sec-WebSocket-Protocol: echo Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
HTTP/1.1 101 Switching Protocols Server: AutobahnTestSuite/0.7.1-0.10.0 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: VlPnV7dqlk3E8jR9L+jFMRE+MzM=
Key | Value | Description |
isServer | True | 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 | True | True, iff I dropped the TCP connection. |
wasClean | True | True, iff full WebSockets 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 |
8 | 1 | 8 |
131 | 1 | 131 |
289 | 1 | 289 |
Total | 3 | 428 |
Chop Size | Count | Octets |
1 | 127 | 127 |
4 | 1 | 4 |
169 | 1 | 169 |
Total | 129 | 300 |
Opcode | Count |
8 | 1 |
10 | 1 |
Total | 2 |
Opcode | Count |
8 | 1 |
9 | 1 |
Total | 2 |
000 RX OCTETS: 474554202f72756e436173653f636173653d3232266167656e743d6c6c75762d776562736f636b657420485454502f312e31
0d0a486f73743a203132372e302e ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
5465737453756974652f302e372e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefefe ...
003 TX OCTETS: 89
004 CLOSE CONNECTION AFTER 2.000000 sec
005 TX OCTETS: 7d
006 TX OCTETS: fe
007 TX OCTETS: fe
008 TX OCTETS: fe
009 TX OCTETS: fe
010 TX OCTETS: fe
011 TX OCTETS: fe
012 TX OCTETS: fe
013 TX OCTETS: fe
014 TX OCTETS: fe
015 TX OCTETS: fe
016 TX OCTETS: fe
017 TX OCTETS: fe
018 TX OCTETS: fe
019 TX OCTETS: fe
020 TX OCTETS: fe
021 TX OCTETS: fe
022 TX OCTETS: fe
023 TX OCTETS: fe
024 TX OCTETS: fe
025 TX OCTETS: fe
026 TX OCTETS: fe
027 TX OCTETS: fe
028 TX OCTETS: fe
029 TX OCTETS: fe
030 TX OCTETS: fe
031 TX OCTETS: fe
032 TX OCTETS: fe
033 TX OCTETS: fe
034 TX OCTETS: fe
035 TX OCTETS: fe
036 TX OCTETS: fe
037 TX OCTETS: fe
038 TX OCTETS: fe
039 TX OCTETS: fe
040 TX OCTETS: fe
041 TX OCTETS: fe
042 TX OCTETS: fe
043 TX OCTETS: fe
044 TX OCTETS: fe
045 TX OCTETS: fe
046 TX OCTETS: fe
047 TX OCTETS: fe
048 TX OCTETS: fe
049 TX OCTETS: fe
050 TX OCTETS: fe
051 TX OCTETS: fe
052 TX OCTETS: fe
053 TX OCTETS: fe
054 TX OCTETS: fe
055 TX OCTETS: fe
056 TX OCTETS: fe
057 TX OCTETS: fe
058 TX OCTETS: fe
059 TX OCTETS: fe
060 TX OCTETS: fe
061 TX OCTETS: fe
062 TX OCTETS: fe
063 TX OCTETS: fe
064 TX OCTETS: fe
065 TX OCTETS: fe
066 TX OCTETS: fe
067 TX OCTETS: fe
068 TX OCTETS: fe
069 TX OCTETS: fe
070 TX OCTETS: fe
071 TX OCTETS: fe
072 TX OCTETS: fe
073 TX OCTETS: fe
074 TX OCTETS: fe
075 TX OCTETS: fe
076 TX OCTETS: fe
077 TX OCTETS: fe
078 TX OCTETS: fe
079 TX OCTETS: fe
080 TX OCTETS: fe
081 TX OCTETS: fe
082 TX OCTETS: fe
083 TX OCTETS: fe
084 TX OCTETS: fe
085 TX OCTETS: fe
086 TX OCTETS: fe
087 TX OCTETS: fe
088 TX OCTETS: fe
089 TX OCTETS: fe
090 TX OCTETS: fe
091 TX OCTETS: fe
092 TX OCTETS: fe
093 TX OCTETS: fe
094 TX OCTETS: fe
095 TX OCTETS: fe
096 TX OCTETS: fe
097 TX OCTETS: fe
098 TX OCTETS: fe
099 TX OCTETS: fe
100 TX OCTETS: fe
101 TX OCTETS: fe
102 TX OCTETS: fe
103 TX OCTETS: fe
104 TX OCTETS: fe
105 TX OCTETS: fe
106 TX OCTETS: fe
107 TX OCTETS: fe
108 TX OCTETS: fe
109 TX OCTETS: fe
110 TX OCTETS: fe
111 TX OCTETS: fe
112 TX OCTETS: fe
113 TX OCTETS: fe
114 TX OCTETS: fe
115 TX OCTETS: fe
116 TX OCTETS: fe
117 TX OCTETS: fe
118 TX OCTETS: fe
119 TX OCTETS: fe
120 TX OCTETS: fe
121 TX OCTETS: fe
122 TX OCTETS: fe
123 TX OCTETS: fe
124 TX OCTETS: fe
125 TX OCTETS: fe
126 TX OCTETS: fe
127 TX OCTETS: fe
128 TX OCTETS: fe
129 TX OCTETS: fe
130 TX OCTETS: fe
131 RX OCTETS: 8afd29a317cfd75de931d75de931d75de931d75de931d75de931d75de931d75de931d75de931d75de931d75de931d75de931
d75de931d75de931d75de931d75d ...
132 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=125, MASKED=True, MASK=3239613331376366
0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefefe ...
133 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
134 TX OCTETS: 880203e8
135 RX OCTETS: 8882c02d0ad8c3c5
136 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=6330326430616438
0x03e8
137 TCP DROPPED BY ME