Autobahn WebSockets Testsuite Report
Autobahn WebSockets

async_echo_server - Case 2.6 : Pass - 131 ms @ 2017-01-28T01:22:12.023Z

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)



Opening Handshake

GET / HTTP/1.1

User-Agent: AutobahnTestSuite/0.7.5-0.10.9

Host: 127.0.0.1:6000

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: p2A37coY1Ba+J5SarLyEoA==

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

Upgrade: websocket

Sec-WebSocket-Accept: HfzfikQUlaPQOnZQ8tl4FP/MJXc=

Server: async_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
1271127
1561156
Total3287

Octets Transmitted by Chop Size

Chop SizeCountOctets
1131131
818
2401240
Total133379

Frames Received by Opcode

OpcodeCount
81
101
Total2

Frames Transmitted by Opcode

OpcodeCount
81
91
Total2


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e372e
               352d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a5365632d576562536f63 ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=ea5aded9, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
003 TX OCTETS: 89
004 CLOSE CONNECTION AFTER 2.000000 sec
005 TX OCTETS: fd
006 TX OCTETS: ea
007 TX OCTETS: 5a
008 TX OCTETS: de
009 TX OCTETS: d9
010 TX OCTETS: 14
011 TX OCTETS: a4
012 TX OCTETS: 20
013 TX OCTETS: 27
014 TX OCTETS: 14
015 TX OCTETS: a4
016 TX OCTETS: 20
017 TX OCTETS: 27
018 TX OCTETS: 14
019 TX OCTETS: a4
020 TX OCTETS: 20
021 TX OCTETS: 27
022 TX OCTETS: 14
023 TX OCTETS: a4
024 TX OCTETS: 20
025 TX OCTETS: 27
026 TX OCTETS: 14
027 TX OCTETS: a4
028 TX OCTETS: 20
029 TX OCTETS: 27
030 TX OCTETS: 14
031 TX OCTETS: a4
032 TX OCTETS: 20
033 TX OCTETS: 27
034 TX OCTETS: 14
035 TX OCTETS: a4
036 TX OCTETS: 20
037 TX OCTETS: 27
038 TX OCTETS: 14
039 TX OCTETS: a4
040 TX OCTETS: 20
041 TX OCTETS: 27
042 TX OCTETS: 14
043 TX OCTETS: a4
044 TX OCTETS: 20
045 TX OCTETS: 27
046 TX OCTETS: 14
047 TX OCTETS: a4
048 TX OCTETS: 20
049 TX OCTETS: 27
050 TX OCTETS: 14
051 TX OCTETS: a4
052 TX OCTETS: 20
053 TX OCTETS: 27
054 TX OCTETS: 14
055 TX OCTETS: a4
056 TX OCTETS: 20
057 TX OCTETS: 27
058 TX OCTETS: 14
059 TX OCTETS: a4
060 TX OCTETS: 20
061 TX OCTETS: 27
062 TX OCTETS: 14
063 TX OCTETS: a4
064 TX OCTETS: 20
065 TX OCTETS: 27
066 TX OCTETS: 14
067 TX OCTETS: a4
068 TX OCTETS: 20
069 TX OCTETS: 27
070 TX OCTETS: 14
071 TX OCTETS: a4
072 TX OCTETS: 20
073 TX OCTETS: 27
074 TX OCTETS: 14
075 TX OCTETS: a4
076 TX OCTETS: 20
077 TX OCTETS: 27
078 TX OCTETS: 14
079 TX OCTETS: a4
080 TX OCTETS: 20
081 TX OCTETS: 27
082 TX OCTETS: 14
083 TX OCTETS: a4
084 TX OCTETS: 20
085 TX OCTETS: 27
086 TX OCTETS: 14
087 TX OCTETS: a4
088 TX OCTETS: 20
089 TX OCTETS: 27
090 TX OCTETS: 14
091 TX OCTETS: a4
092 TX OCTETS: 20
093 TX OCTETS: 27
094 TX OCTETS: 14
095 TX OCTETS: a4
096 TX OCTETS: 20
097 TX OCTETS: 27
098 TX OCTETS: 14
099 TX OCTETS: a4
100 TX OCTETS: 20
101 TX OCTETS: 27
102 TX OCTETS: 14
103 TX OCTETS: a4
104 TX OCTETS: 20
105 TX OCTETS: 27
106 TX OCTETS: 14
107 TX OCTETS: a4
108 TX OCTETS: 20
109 TX OCTETS: 27
110 TX OCTETS: 14
111 TX OCTETS: a4
112 TX OCTETS: 20
113 TX OCTETS: 27
114 TX OCTETS: 14
115 TX OCTETS: a4
116 TX OCTETS: 20
117 TX OCTETS: 27
118 TX OCTETS: 14
119 TX OCTETS: a4
120 TX OCTETS: 20
121 TX OCTETS: 27
122 TX OCTETS: 14
123 TX OCTETS: a4
124 TX OCTETS: 20
125 TX OCTETS: 27
126 TX OCTETS: 14
127 TX OCTETS: a4
128 TX OCTETS: 20
129 TX OCTETS: 27
130 TX OCTETS: 14
131 TX OCTETS: a4
132 TX OCTETS: 20
133 TX OCTETS: 27
134 TX OCTETS: 14
135 RX OCTETS: 8a7dfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefe ...
136 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=125, MASKED=False, MASK=None
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
137 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=33449537, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
138 TX OCTETS: 88823344953730ac
139 RX OCTETS: 880203e8
140 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
141 TCP DROPPED BY PEER