wslay - Case 2.6 : Pass - 9 ms @ 2012-01-09T14:45:54Z
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', '\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe')]}
Observed:
[('pong', '\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe')]
Case Closing Behavior
Connection was properly closed (OK)
GET / HTTP/1.1 User-Agent: AutobahnWebSocketsTestSuite/0.4.10 Host: localhost:9090 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: XtCUsspAiVWBSQhnhmYJjA== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: UnEutNXXTyoionFjrMKVWp+tWew=
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 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. |
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 |
201 | 1 | 201 |
Total | 133 | 340 |
Opcode | Count |
8 | 1 |
10 | 1 |
Total | 2 |
Opcode | Count |
8 | 1 |
9 | 1 |
Total | 2 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b65747354657374
53756974652f302e342e31300d0a486f73743a206c6f63616c686f73743a393039300d0a557067726164653a20776562736f
636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4b65793a2058744355
73737041695657425351686e686d594a6a413d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d
0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20556e45
75744e585854796f696f6e466a724d4b5657702b745765773d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=ef240859, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
þþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþ
þþþþþþþþþþþþþþþþþþþþþþþþþ
003 TX OCTETS: 89
004 CLOSE CONNECTION AFTER 2.000000 sec
005 TX OCTETS: fd
006 TX OCTETS: ef
007 TX OCTETS: 24
008 TX OCTETS: 08
009 TX OCTETS: 59
010 TX OCTETS: 11
011 TX OCTETS: da
012 TX OCTETS: f6
013 TX OCTETS: a7
014 TX OCTETS: 11
015 TX OCTETS: da
016 TX OCTETS: f6
017 TX OCTETS: a7
018 TX OCTETS: 11
019 TX OCTETS: da
020 TX OCTETS: f6
021 TX OCTETS: a7
022 TX OCTETS: 11
023 TX OCTETS: da
024 TX OCTETS: f6
025 TX OCTETS: a7
026 TX OCTETS: 11
027 TX OCTETS: da
028 TX OCTETS: f6
029 TX OCTETS: a7
030 TX OCTETS: 11
031 TX OCTETS: da
032 TX OCTETS: f6
033 TX OCTETS: a7
034 TX OCTETS: 11
035 TX OCTETS: da
036 TX OCTETS: f6
037 TX OCTETS: a7
038 TX OCTETS: 11
039 TX OCTETS: da
040 TX OCTETS: f6
041 TX OCTETS: a7
042 TX OCTETS: 11
043 TX OCTETS: da
044 TX OCTETS: f6
045 TX OCTETS: a7
046 TX OCTETS: 11
047 TX OCTETS: da
048 TX OCTETS: f6
049 TX OCTETS: a7
050 TX OCTETS: 11
051 TX OCTETS: da
052 TX OCTETS: f6
053 TX OCTETS: a7
054 TX OCTETS: 11
055 TX OCTETS: da
056 TX OCTETS: f6
057 TX OCTETS: a7
058 TX OCTETS: 11
059 TX OCTETS: da
060 TX OCTETS: f6
061 TX OCTETS: a7
062 TX OCTETS: 11
063 TX OCTETS: da
064 TX OCTETS: f6
065 TX OCTETS: a7
066 TX OCTETS: 11
067 TX OCTETS: da
068 TX OCTETS: f6
069 TX OCTETS: a7
070 TX OCTETS: 11
071 TX OCTETS: da
072 TX OCTETS: f6
073 TX OCTETS: a7
074 TX OCTETS: 11
075 TX OCTETS: da
076 TX OCTETS: f6
077 TX OCTETS: a7
078 TX OCTETS: 11
079 TX OCTETS: da
080 TX OCTETS: f6
081 TX OCTETS: a7
082 TX OCTETS: 11
083 TX OCTETS: da
084 TX OCTETS: f6
085 TX OCTETS: a7
086 TX OCTETS: 11
087 TX OCTETS: da
088 TX OCTETS: f6
089 TX OCTETS: a7
090 TX OCTETS: 11
091 TX OCTETS: da
092 TX OCTETS: f6
093 TX OCTETS: a7
094 TX OCTETS: 11
095 TX OCTETS: da
096 TX OCTETS: f6
097 TX OCTETS: a7
098 TX OCTETS: 11
099 TX OCTETS: da
100 TX OCTETS: f6
101 TX OCTETS: a7
102 TX OCTETS: 11
103 TX OCTETS: da
104 TX OCTETS: f6
105 TX OCTETS: a7
106 TX OCTETS: 11
107 TX OCTETS: da
108 TX OCTETS: f6
109 TX OCTETS: a7
110 TX OCTETS: 11
111 TX OCTETS: da
112 TX OCTETS: f6
113 TX OCTETS: a7
114 TX OCTETS: 11
115 TX OCTETS: da
116 TX OCTETS: f6
117 TX OCTETS: a7
118 TX OCTETS: 11
119 TX OCTETS: da
120 TX OCTETS: f6
121 TX OCTETS: a7
122 TX OCTETS: 11
123 TX OCTETS: da
124 TX OCTETS: f6
125 TX OCTETS: a7
126 TX OCTETS: 11
127 TX OCTETS: da
128 TX OCTETS: f6
129 TX OCTETS: a7
130 TX OCTETS: 11
131 TX OCTETS: da
132 TX OCTETS: f6
133 TX OCTETS: a7
134 TX OCTETS: 11
135 RX OCTETS: 8a7dfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefefefefefefefefefefefefefefe
136 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
þþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþþ
þþþþþþþþþþþþþþþþþþþþþþþþþ
137 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=17b07295, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
è
138 TX OCTETS: 888217b072951458
139 RX OCTETS: 880203e8
140 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
è
141 TCP DROPPED BY PEER