AutobahnServer - Case 2.11 : Pass - 152 ms @ 2013-03-03T15:37:38Z
Case Description
Send 10 Pings with payload. Send out octets in octet-wise chops.
Case Expectation
Pongs for our Pings with all the payloads. Note: This is not required by the Spec .. but we check for this behaviour anyway. Clean close with normal code.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('pong', 'payload-0'), ('pong', 'payload-1'), ('pong', 'payload-2'), ('pong', 'payload-3'), ('pong', 'payload-4'), ('pong', 'payload-5'), ('pong', 'payload-6'), ('pong', 'payload-7'), ('pong', 'payload-8'), ('pong', 'payload-9')]}
Observed:
[('pong', 'payload-0'), ('pong', 'payload-1'), ('pong', 'payload-2'), ('pong', 'payload-3'), ('pong', 'payload-4'), ('pong', 'payload-5'), ('pong', 'payload-6'), ('pong', 'payload-7'), ('pong', 'payload-8'), ('pong', 'payload-9')]
Case Closing Behavior
Connection was properly closed (OK)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.5.2-0.5.9 Host: 127.0.0.1:9001 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: gJGlHXJUWSgvPO8PQW08YQ== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Server: AutobahnPython/0.5.9 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: zV3ub4d8Q5P9dW7n5q8t2jyDSiM=
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. |
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 |
11 | 10 | 110 |
159 | 1 | 159 |
Total | 12 | 273 |
Chop Size | Count | Octets |
1 | 150 | 150 |
8 | 1 | 8 |
239 | 1 | 239 |
Total | 152 | 397 |
Opcode | Count |
8 | 1 |
10 | 10 |
Total | 11 |
Opcode | Count |
8 | 1 |
9 | 10 |
Total | 11 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
322d302e352e390d0a486f73743a203132372e302e302e313a393030310d0a557067726164653a20576562536f636b65740d
0a436f6e6e656374696f6e3a20557067726164650d0a507261676d613a206e6f2d63616368650d0a43616368652d436f6e74
726f6c3a206e6f2d63616368650d0a5365632d576562536f636b65742d4b65793a20674a476c48584a5557536776504f3850
5157303859513d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
507974686f6e2f302e352e390d0a557067726164653a20576562536f636b65740d0a436f6e6e656374696f6e3a2055706772
6164650d0a5365632d576562536f636b65742d4163636570743a207a56337562346438513550396457376e35713874326a79
4453694d3d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=7823a8ad, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=dae32af4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=d330774f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=d2398028, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=1b98764b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=7244e1f5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=ac335e62, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=0eb2634a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=7e3709fd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=c25a37f7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 89
015 TX OCTETS: 78
016 TX OCTETS: 23
017 TX OCTETS: a8
018 TX OCTETS: ad
019 TX OCTETS: 08
020 TX OCTETS: 42
021 TX OCTETS: d1
022 TX OCTETS: c1
023 TX OCTETS: 17
024 TX OCTETS: 42
025 TX OCTETS: cc
026 TX OCTETS: 80
027 TX OCTETS: 48
028 RX OCTETS: 8a097061796c6f61642d30
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-0
030 TX OCTETS: 89
031 TX OCTETS: 89
032 TX OCTETS: da
033 TX OCTETS: e3
034 TX OCTETS: 2a
035 TX OCTETS: f4
036 TX OCTETS: aa
037 TX OCTETS: 82
038 TX OCTETS: 53
039 TX OCTETS: 98
040 TX OCTETS: b5
041 TX OCTETS: 82
042 TX OCTETS: 4e
043 TX OCTETS: d9
044 TX OCTETS: eb
045 RX OCTETS: 8a097061796c6f61642d31
046 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-1
047 TX OCTETS: 89
048 TX OCTETS: 89
049 TX OCTETS: d3
050 TX OCTETS: 30
051 TX OCTETS: 77
052 TX OCTETS: 4f
053 TX OCTETS: a3
054 TX OCTETS: 51
055 TX OCTETS: 0e
056 TX OCTETS: 23
057 TX OCTETS: bc
058 TX OCTETS: 51
059 TX OCTETS: 13
060 TX OCTETS: 62
061 TX OCTETS: e1
062 RX OCTETS: 8a097061796c6f61642d32
063 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-2
064 TX OCTETS: 89
065 TX OCTETS: 89
066 TX OCTETS: d2
067 TX OCTETS: 39
068 TX OCTETS: 80
069 TX OCTETS: 28
070 TX OCTETS: a2
071 TX OCTETS: 58
072 TX OCTETS: f9
073 TX OCTETS: 44
074 TX OCTETS: bd
075 TX OCTETS: 58
076 TX OCTETS: e4
077 TX OCTETS: 05
078 TX OCTETS: e1
079 RX OCTETS: 8a097061796c6f61642d33
080 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-3
081 TX OCTETS: 89
082 TX OCTETS: 89
083 TX OCTETS: 1b
084 TX OCTETS: 98
085 TX OCTETS: 76
086 TX OCTETS: 4b
087 TX OCTETS: 6b
088 TX OCTETS: f9
089 TX OCTETS: 0f
090 TX OCTETS: 27
091 TX OCTETS: 74
092 TX OCTETS: f9
093 TX OCTETS: 12
094 TX OCTETS: 66
095 TX OCTETS: 2f
096 RX OCTETS: 8a097061796c6f61642d34
097 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-4
098 TX OCTETS: 89
099 TX OCTETS: 89
100 TX OCTETS: 72
101 TX OCTETS: 44
102 TX OCTETS: e1
103 TX OCTETS: f5
104 TX OCTETS: 02
105 TX OCTETS: 25
106 TX OCTETS: 98
107 TX OCTETS: 99
108 TX OCTETS: 1d
109 TX OCTETS: 25
110 TX OCTETS: 85
111 TX OCTETS: d8
112 TX OCTETS: 47
113 RX OCTETS: 8a097061796c6f61642d35
114 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-5
115 TX OCTETS: 89
116 TX OCTETS: 89
117 TX OCTETS: ac
118 TX OCTETS: 33
119 TX OCTETS: 5e
120 TX OCTETS: 62
121 TX OCTETS: dc
122 TX OCTETS: 52
123 TX OCTETS: 27
124 TX OCTETS: 0e
125 TX OCTETS: c3
126 TX OCTETS: 52
127 TX OCTETS: 3a
128 TX OCTETS: 4f
129 TX OCTETS: 9a
130 RX OCTETS: 8a097061796c6f61642d36
131 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-6
132 TX OCTETS: 89
133 TX OCTETS: 89
134 TX OCTETS: 0e
135 TX OCTETS: b2
136 TX OCTETS: 63
137 TX OCTETS: 4a
138 TX OCTETS: 7e
139 TX OCTETS: d3
140 TX OCTETS: 1a
141 TX OCTETS: 26
142 TX OCTETS: 61
143 TX OCTETS: d3
144 TX OCTETS: 07
145 TX OCTETS: 67
146 TX OCTETS: 39
147 RX OCTETS: 8a097061796c6f61642d37
148 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-7
149 TX OCTETS: 89
150 TX OCTETS: 89
151 TX OCTETS: 7e
152 TX OCTETS: 37
153 TX OCTETS: 09
154 TX OCTETS: fd
155 TX OCTETS: 0e
156 TX OCTETS: 56
157 TX OCTETS: 70
158 TX OCTETS: 91
159 TX OCTETS: 11
160 TX OCTETS: 56
161 TX OCTETS: 6d
162 TX OCTETS: d0
163 TX OCTETS: 46
164 RX OCTETS: 8a097061796c6f61642d38
165 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-8
166 TX OCTETS: 89
167 TX OCTETS: 89
168 TX OCTETS: c2
169 TX OCTETS: 5a
170 TX OCTETS: 37
171 TX OCTETS: f7
172 TX OCTETS: b2
173 TX OCTETS: 3b
174 TX OCTETS: 4e
175 TX OCTETS: 9b
176 TX OCTETS: ad
177 TX OCTETS: 3b
178 TX OCTETS: 53
179 TX OCTETS: da
180 TX OCTETS: fb
181 RX OCTETS: 8a097061796c6f61642d39
182 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
payload-9
183 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=1efec49f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
è
184 TX OCTETS: 88821efec49f1d16
185 RX OCTETS: 880203e8
186 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
è
187 TCP DROPPED BY PEER