Autobahn WebSockets Testsuite Report
Autobahn WebSockets

PocketSocketServer - Case 2.6 : Pass - 12 ms @ 2016-03-30T11:58:49.711Z

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:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: F+aPAjYycRC9FWflshTA+w==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: op4mf5tpcuTcCxKRNXRuZdRXQBU=


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
1291129
Total3260

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
               65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=ea27bf31, 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: 27
008 TX OCTETS: bf
009 TX OCTETS: 31
010 TX OCTETS: 14
011 TX OCTETS: d9
012 TX OCTETS: 41
013 TX OCTETS: cf
014 TX OCTETS: 14
015 TX OCTETS: d9
016 TX OCTETS: 41
017 TX OCTETS: cf
018 TX OCTETS: 14
019 TX OCTETS: d9
020 TX OCTETS: 41
021 TX OCTETS: cf
022 TX OCTETS: 14
023 TX OCTETS: d9
024 TX OCTETS: 41
025 TX OCTETS: cf
026 TX OCTETS: 14
027 TX OCTETS: d9
028 TX OCTETS: 41
029 TX OCTETS: cf
030 TX OCTETS: 14
031 TX OCTETS: d9
032 TX OCTETS: 41
033 TX OCTETS: cf
034 TX OCTETS: 14
035 TX OCTETS: d9
036 TX OCTETS: 41
037 TX OCTETS: cf
038 TX OCTETS: 14
039 TX OCTETS: d9
040 TX OCTETS: 41
041 TX OCTETS: cf
042 TX OCTETS: 14
043 TX OCTETS: d9
044 TX OCTETS: 41
045 TX OCTETS: cf
046 TX OCTETS: 14
047 TX OCTETS: d9
048 TX OCTETS: 41
049 TX OCTETS: cf
050 TX OCTETS: 14
051 TX OCTETS: d9
052 TX OCTETS: 41
053 TX OCTETS: cf
054 TX OCTETS: 14
055 TX OCTETS: d9
056 TX OCTETS: 41
057 TX OCTETS: cf
058 TX OCTETS: 14
059 TX OCTETS: d9
060 TX OCTETS: 41
061 TX OCTETS: cf
062 TX OCTETS: 14
063 TX OCTETS: d9
064 TX OCTETS: 41
065 TX OCTETS: cf
066 TX OCTETS: 14
067 TX OCTETS: d9
068 TX OCTETS: 41
069 TX OCTETS: cf
070 TX OCTETS: 14
071 TX OCTETS: d9
072 TX OCTETS: 41
073 TX OCTETS: cf
074 TX OCTETS: 14
075 TX OCTETS: d9
076 TX OCTETS: 41
077 TX OCTETS: cf
078 TX OCTETS: 14
079 TX OCTETS: d9
080 TX OCTETS: 41
081 TX OCTETS: cf
082 TX OCTETS: 14
083 TX OCTETS: d9
084 TX OCTETS: 41
085 TX OCTETS: cf
086 TX OCTETS: 14
087 TX OCTETS: d9
088 TX OCTETS: 41
089 TX OCTETS: cf
090 TX OCTETS: 14
091 TX OCTETS: d9
092 TX OCTETS: 41
093 TX OCTETS: cf
094 TX OCTETS: 14
095 TX OCTETS: d9
096 TX OCTETS: 41
097 TX OCTETS: cf
098 TX OCTETS: 14
099 TX OCTETS: d9
100 TX OCTETS: 41
101 TX OCTETS: cf
102 TX OCTETS: 14
103 TX OCTETS: d9
104 TX OCTETS: 41
105 TX OCTETS: cf
106 TX OCTETS: 14
107 TX OCTETS: d9
108 TX OCTETS: 41
109 TX OCTETS: cf
110 TX OCTETS: 14
111 TX OCTETS: d9
112 TX OCTETS: 41
113 TX OCTETS: cf
114 TX OCTETS: 14
115 TX OCTETS: d9
116 TX OCTETS: 41
117 TX OCTETS: cf
118 TX OCTETS: 14
119 TX OCTETS: d9
120 TX OCTETS: 41
121 TX OCTETS: cf
122 TX OCTETS: 14
123 TX OCTETS: d9
124 TX OCTETS: 41
125 TX OCTETS: cf
126 TX OCTETS: 14
127 TX OCTETS: d9
128 TX OCTETS: 41
129 TX OCTETS: cf
130 TX OCTETS: 14
131 TX OCTETS: d9
132 TX OCTETS: 41
133 TX OCTETS: cf
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=de2882ce, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
138 TX OCTETS: 8882de2882ceddc0
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