sgcWebSockets - Case 2.11 : Pass - 150 ms @ 2013-03-03T15:44:16Z

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)



Opening Handshake

GET / HTTP/1.1

User-Agent: AutobahnTestSuite/0.5.2-0.5.9

Host: 127.0.0.1:5500

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: RET9DQ9Os8CqtWnzBMm3KA==

Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols

Upgrade: websocket

Connection: Upgrade

Sec-WebSocket-Accept: tXQ8B7AY8TZvAKzmmX6HLqBwQeM=


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 WebSockets 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
1110110
1291129
Total12243

Octets Transmitted by Chop Size

Chop SizeCountOctets
1150150
818
2391239
Total152397

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
               322d302e352e390d0a486f73743a203132372e302e302e313a353530300d0a557067726164653a20576562536f636b65740d
               0a436f6e6e656374696f6e3a20557067726164650d0a507261676d613a206e6f2d63616368650d0a43616368652d436f6e74
               726f6c3a206e6f2d63616368650d0a5365632d576562536f636b65742d4b65793a20524554394451394f7338437174576e7a
               424d6d334b413d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a20745851
               384237415938545a76414b7a6d6d5836484c71427751654d3d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=3c380548, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=9c66a25e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=858a957a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=f5927565, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=32bca996, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=26d4a635, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=5c5fcff5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=35bb6fa5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=23a970f6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=762ea884, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 89
015 TX OCTETS: 3c
016 TX OCTETS: 38
017 TX OCTETS: 05
018 TX OCTETS: 48
019 TX OCTETS: 4c
020 TX OCTETS: 59
021 TX OCTETS: 7c
022 TX OCTETS: 24
023 TX OCTETS: 53
024 TX OCTETS: 59
025 TX OCTETS: 61
026 TX OCTETS: 65
027 TX OCTETS: 0c
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: 9c
033 TX OCTETS: 66
034 TX OCTETS: a2
035 TX OCTETS: 5e
036 TX OCTETS: ec
037 TX OCTETS: 07
038 TX OCTETS: db
039 TX OCTETS: 32
040 TX OCTETS: f3
041 TX OCTETS: 07
042 TX OCTETS: c6
043 TX OCTETS: 73
044 TX OCTETS: ad
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: 85
050 TX OCTETS: 8a
051 TX OCTETS: 95
052 TX OCTETS: 7a
053 TX OCTETS: f5
054 TX OCTETS: eb
055 TX OCTETS: ec
056 TX OCTETS: 16
057 TX OCTETS: ea
058 TX OCTETS: eb
059 TX OCTETS: f1
060 TX OCTETS: 57
061 TX OCTETS: b7
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: f5
067 TX OCTETS: 92
068 TX OCTETS: 75
069 TX OCTETS: 65
070 TX OCTETS: 85
071 TX OCTETS: f3
072 TX OCTETS: 0c
073 TX OCTETS: 09
074 TX OCTETS: 9a
075 TX OCTETS: f3
076 TX OCTETS: 11
077 TX OCTETS: 48
078 TX OCTETS: c6
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: 32
084 TX OCTETS: bc
085 TX OCTETS: a9
086 TX OCTETS: 96
087 TX OCTETS: 42
088 TX OCTETS: dd
089 TX OCTETS: d0
090 TX OCTETS: fa
091 TX OCTETS: 5d
092 TX OCTETS: dd
093 TX OCTETS: cd
094 TX OCTETS: bb
095 TX OCTETS: 06
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: 26
101 TX OCTETS: d4
102 TX OCTETS: a6
103 TX OCTETS: 35
104 TX OCTETS: 56
105 TX OCTETS: b5
106 TX OCTETS: df
107 TX OCTETS: 59
108 TX OCTETS: 49
109 TX OCTETS: b5
110 TX OCTETS: c2
111 TX OCTETS: 18
112 TX OCTETS: 13
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: 5c
118 TX OCTETS: 5f
119 TX OCTETS: cf
120 TX OCTETS: f5
121 TX OCTETS: 2c
122 TX OCTETS: 3e
123 TX OCTETS: b6
124 TX OCTETS: 99
125 TX OCTETS: 33
126 TX OCTETS: 3e
127 TX OCTETS: ab
128 TX OCTETS: d8
129 TX OCTETS: 6a
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: 35
135 TX OCTETS: bb
136 TX OCTETS: 6f
137 TX OCTETS: a5
138 TX OCTETS: 45
139 TX OCTETS: da
140 TX OCTETS: 16
141 TX OCTETS: c9
142 TX OCTETS: 5a
143 TX OCTETS: da
144 TX OCTETS: 0b
145 TX OCTETS: 88
146 TX OCTETS: 02
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: 23
152 TX OCTETS: a9
153 TX OCTETS: 70
154 TX OCTETS: f6
155 TX OCTETS: 53
156 TX OCTETS: c8
157 TX OCTETS: 09
158 TX OCTETS: 9a
159 TX OCTETS: 4c
160 TX OCTETS: c8
161 TX OCTETS: 14
162 TX OCTETS: db
163 TX OCTETS: 1b
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: 76
169 TX OCTETS: 2e
170 TX OCTETS: a8
171 TX OCTETS: 84
172 TX OCTETS: 06
173 TX OCTETS: 4f
174 TX OCTETS: d1
175 TX OCTETS: e8
176 TX OCTETS: 19
177 TX OCTETS: 4f
178 TX OCTETS: cc
179 TX OCTETS: a9
180 TX OCTETS: 4f
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=e63e2a5e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
184 TX OCTETS: 8882e63e2a5ee5d6
185 RX OCTETS: 880203e8
186 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
187 TCP DROPPED BY PEER