Autobahn WebSockets Testsuite Report
Autobahn WebSockets

lluv-websocket (Lua 5.1 / WS) - Case 2.6 : Pass - 2047 ms @ 2016-03-22T18:40:19.765Z

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.1-0.10.0

Host: 127.0.0.1:9000

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: 3TC03ywLOjPWpvvze3LnYw==

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

Upgrade: websocket

Connection: upgrade

Sec-WebSocket-Accept: h/BXGOURZDUf6QJunZ430jI0Bwg=


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.
localCloseCodeNoneThe 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
616
2401240
Total133377

Frames Received by Opcode

OpcodeCount
81
101
Total2

Frames Transmitted by Opcode

OpcodeCount
81
91
Total2


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e372e
               312d302e31302e300d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=da5c0686, 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: da
007 TX OCTETS: 5c
008 TX OCTETS: 06
009 TX OCTETS: 86
010 TX OCTETS: 24
011 TX OCTETS: a2
012 TX OCTETS: f8
013 TX OCTETS: 78
014 TX OCTETS: 24
015 TX OCTETS: a2
016 TX OCTETS: f8
017 TX OCTETS: 78
018 TX OCTETS: 24
019 TX OCTETS: a2
020 TX OCTETS: f8
021 TX OCTETS: 78
022 TX OCTETS: 24
023 TX OCTETS: a2
024 TX OCTETS: f8
025 TX OCTETS: 78
026 TX OCTETS: 24
027 TX OCTETS: a2
028 TX OCTETS: f8
029 TX OCTETS: 78
030 TX OCTETS: 24
031 TX OCTETS: a2
032 TX OCTETS: f8
033 TX OCTETS: 78
034 TX OCTETS: 24
035 TX OCTETS: a2
036 TX OCTETS: f8
037 TX OCTETS: 78
038 TX OCTETS: 24
039 TX OCTETS: a2
040 TX OCTETS: f8
041 TX OCTETS: 78
042 TX OCTETS: 24
043 TX OCTETS: a2
044 TX OCTETS: f8
045 TX OCTETS: 78
046 TX OCTETS: 24
047 TX OCTETS: a2
048 TX OCTETS: f8
049 TX OCTETS: 78
050 TX OCTETS: 24
051 TX OCTETS: a2
052 TX OCTETS: f8
053 TX OCTETS: 78
054 TX OCTETS: 24
055 TX OCTETS: a2
056 TX OCTETS: f8
057 TX OCTETS: 78
058 TX OCTETS: 24
059 TX OCTETS: a2
060 TX OCTETS: f8
061 TX OCTETS: 78
062 TX OCTETS: 24
063 TX OCTETS: a2
064 TX OCTETS: f8
065 TX OCTETS: 78
066 TX OCTETS: 24
067 TX OCTETS: a2
068 TX OCTETS: f8
069 TX OCTETS: 78
070 TX OCTETS: 24
071 TX OCTETS: a2
072 TX OCTETS: f8
073 TX OCTETS: 78
074 TX OCTETS: 24
075 TX OCTETS: a2
076 TX OCTETS: f8
077 TX OCTETS: 78
078 TX OCTETS: 24
079 TX OCTETS: a2
080 TX OCTETS: f8
081 TX OCTETS: 78
082 TX OCTETS: 24
083 TX OCTETS: a2
084 TX OCTETS: f8
085 TX OCTETS: 78
086 TX OCTETS: 24
087 TX OCTETS: a2
088 TX OCTETS: f8
089 TX OCTETS: 78
090 TX OCTETS: 24
091 TX OCTETS: a2
092 TX OCTETS: f8
093 TX OCTETS: 78
094 TX OCTETS: 24
095 TX OCTETS: a2
096 TX OCTETS: f8
097 TX OCTETS: 78
098 TX OCTETS: 24
099 TX OCTETS: a2
100 TX OCTETS: f8
101 TX OCTETS: 78
102 TX OCTETS: 24
103 TX OCTETS: a2
104 TX OCTETS: f8
105 TX OCTETS: 78
106 TX OCTETS: 24
107 TX OCTETS: a2
108 TX OCTETS: f8
109 TX OCTETS: 78
110 TX OCTETS: 24
111 TX OCTETS: a2
112 TX OCTETS: f8
113 TX OCTETS: 78
114 TX OCTETS: 24
115 TX OCTETS: a2
116 TX OCTETS: f8
117 TX OCTETS: 78
118 TX OCTETS: 24
119 TX OCTETS: a2
120 TX OCTETS: f8
121 TX OCTETS: 78
122 TX OCTETS: 24
123 TX OCTETS: a2
124 TX OCTETS: f8
125 TX OCTETS: 78
126 TX OCTETS: 24
127 TX OCTETS: a2
128 TX OCTETS: f8
129 TX OCTETS: 78
130 TX OCTETS: 24
131 TX OCTETS: a2
132 TX OCTETS: f8
133 CLOSING CONNECTION
134 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASK=ee78a7c1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
135 TX OCTETS: 78
136 TX OCTETS: 24
137 RX OCTETS: 8a7dfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefe ...
138 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=125, MASKED=False, MASK=None
               0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
               fefefefefefefefefefefefefefefe ...
139 TX OCTETS: 8880ee78a7c1
140 RX OCTETS: 880203e8
141 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
142 TCP DROPPED BY PEER