Autobahn WebSockets Testsuite Report
Autobahn WebSockets

sync_echo_server - Case 2.11 : Pass - 150 ms @ 2017-01-28T01:36:23.206Z

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', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]}

Observed:
[('pong', u'payload-0'), ('pong', u'payload-1'), ('pong', u'payload-2'), ('pong', u'payload-3'), ('pong', u'payload-4'), ('pong', u'payload-5'), ('pong', u'payload-6'), ('pong', u'payload-7'), ('pong', u'payload-8'), ('pong', u'payload-9')]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1

User-Agent: AutobahnTestSuite/0.7.5-0.10.9

Host: 127.0.0.1:6001

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: IdjbMF8ahc/SY9rFFVr0TA==

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

Upgrade: websocket

Sec-WebSocket-Accept: +7OFUw/CIDOisFzRx1/sZAY4a8g=

Server: sync_echo_server

Connection: upgrade


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
1551155
Total12269

Octets Transmitted by Chop Size

Chop SizeCountOctets
1150150
818
2401240
Total152398

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e372e
               352d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a5365632d576562536f63 ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=b4a9c2ca, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=cd1fbf8c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=09d48461, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=e4607931, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=032bb59c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=b41e426a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=d839466f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=9f4665b7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=41fb90f4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=a36616bf, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 89
015 TX OCTETS: b4
016 TX OCTETS: a9
017 TX OCTETS: c2
018 TX OCTETS: ca
019 TX OCTETS: c4
020 TX OCTETS: c8
021 TX OCTETS: bb
022 TX OCTETS: a6
023 TX OCTETS: db
024 TX OCTETS: c8
025 TX OCTETS: a6
026 TX OCTETS: e7
027 TX OCTETS: 84
028 RX OCTETS: 8a097061796c6f61642d30
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-0
030 TX OCTETS: 89
031 TX OCTETS: 89
032 TX OCTETS: cd
033 TX OCTETS: 1f
034 TX OCTETS: bf
035 TX OCTETS: 8c
036 TX OCTETS: bd
037 TX OCTETS: 7e
038 TX OCTETS: c6
039 TX OCTETS: e0
040 TX OCTETS: a2
041 TX OCTETS: 7e
042 TX OCTETS: db
043 TX OCTETS: a1
044 TX OCTETS: fc
045 RX OCTETS: 8a097061796c6f61642d31
046 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-1
047 TX OCTETS: 89
048 TX OCTETS: 89
049 TX OCTETS: 09
050 TX OCTETS: d4
051 TX OCTETS: 84
052 TX OCTETS: 61
053 TX OCTETS: 79
054 TX OCTETS: b5
055 TX OCTETS: fd
056 TX OCTETS: 0d
057 TX OCTETS: 66
058 TX OCTETS: b5
059 TX OCTETS: e0
060 TX OCTETS: 4c
061 TX OCTETS: 3b
062 RX OCTETS: 8a097061796c6f61642d32
063 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-2
064 TX OCTETS: 89
065 TX OCTETS: 89
066 TX OCTETS: e4
067 TX OCTETS: 60
068 TX OCTETS: 79
069 TX OCTETS: 31
070 TX OCTETS: 94
071 TX OCTETS: 01
072 TX OCTETS: 00
073 TX OCTETS: 5d
074 TX OCTETS: 8b
075 TX OCTETS: 01
076 TX OCTETS: 1d
077 TX OCTETS: 1c
078 TX OCTETS: d7
079 RX OCTETS: 8a097061796c6f61642d33
080 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-3
081 TX OCTETS: 89
082 TX OCTETS: 89
083 TX OCTETS: 03
084 TX OCTETS: 2b
085 TX OCTETS: b5
086 TX OCTETS: 9c
087 TX OCTETS: 73
088 TX OCTETS: 4a
089 TX OCTETS: cc
090 TX OCTETS: f0
091 TX OCTETS: 6c
092 TX OCTETS: 4a
093 TX OCTETS: d1
094 TX OCTETS: b1
095 TX OCTETS: 37
096 RX OCTETS: 8a097061796c6f61642d34
097 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-4
098 TX OCTETS: 89
099 TX OCTETS: 89
100 TX OCTETS: b4
101 TX OCTETS: 1e
102 TX OCTETS: 42
103 TX OCTETS: 6a
104 TX OCTETS: c4
105 TX OCTETS: 7f
106 TX OCTETS: 3b
107 TX OCTETS: 06
108 TX OCTETS: db
109 TX OCTETS: 7f
110 TX OCTETS: 26
111 TX OCTETS: 47
112 TX OCTETS: 81
113 RX OCTETS: 8a097061796c6f61642d35
114 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-5
115 TX OCTETS: 89
116 TX OCTETS: 89
117 TX OCTETS: d8
118 TX OCTETS: 39
119 TX OCTETS: 46
120 TX OCTETS: 6f
121 TX OCTETS: a8
122 TX OCTETS: 58
123 TX OCTETS: 3f
124 TX OCTETS: 03
125 TX OCTETS: b7
126 TX OCTETS: 58
127 TX OCTETS: 22
128 TX OCTETS: 42
129 TX OCTETS: ee
130 RX OCTETS: 8a097061796c6f61642d36
131 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-6
132 TX OCTETS: 89
133 TX OCTETS: 89
134 TX OCTETS: 9f
135 TX OCTETS: 46
136 TX OCTETS: 65
137 TX OCTETS: b7
138 TX OCTETS: ef
139 TX OCTETS: 27
140 TX OCTETS: 1c
141 TX OCTETS: db
142 TX OCTETS: f0
143 TX OCTETS: 27
144 TX OCTETS: 01
145 TX OCTETS: 9a
146 TX OCTETS: a8
147 RX OCTETS: 8a097061796c6f61642d37
148 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-7
149 TX OCTETS: 89
150 TX OCTETS: 89
151 TX OCTETS: 41
152 TX OCTETS: fb
153 TX OCTETS: 90
154 TX OCTETS: f4
155 TX OCTETS: 31
156 TX OCTETS: 9a
157 TX OCTETS: e9
158 TX OCTETS: 98
159 TX OCTETS: 2e
160 TX OCTETS: 9a
161 TX OCTETS: f4
162 TX OCTETS: d9
163 TX OCTETS: 79
164 RX OCTETS: 8a097061796c6f61642d38
165 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-8
166 TX OCTETS: 89
167 TX OCTETS: 89
168 TX OCTETS: a3
169 TX OCTETS: 66
170 TX OCTETS: 16
171 TX OCTETS: bf
172 TX OCTETS: d3
173 TX OCTETS: 07
174 TX OCTETS: 6f
175 TX OCTETS: d3
176 TX OCTETS: cc
177 TX OCTETS: 07
178 TX OCTETS: 72
179 TX OCTETS: 92
180 TX OCTETS: 9a
181 RX OCTETS: 8a097061796c6f61642d39
182 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-9
183 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=ca6f1d50, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
184 TX OCTETS: 8882ca6f1d50c987
185 RX OCTETS: 880203e8
186 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
187 TCP DROPPED BY PEER