Autobahn WebSocket Testsuite Report
Autobahn WebSocket

ESP8266 / WiFi - Case 5.8 : Pass - 152 ms @ 2020-06-03T17:02:03.643Z

Case Description

Send text Message fragmented into 2 fragments, one ping with payload in-between. Octets are sent in octet-wise chops.

Case Expectation

A pong is received, then the message is echo'ed back to us.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('pong', u'ping payload'), ('message', u'fragment1fragment2', False)]}

Observed:
[('pong', u'ping payload'), ('message', u'fragment1fragment2', False)]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.8.0-0.10.9
Host: 192.168.46.182:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: 8OLdUGIRcYM5odZ2kWcTGA==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: YjyEC11kzXhqRUor1B2ydETJT88=


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 WebSocket 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
122
313
32132
33133
97197
Total6167

Octets Transmitted by Chop Size

Chop SizeCountOctets
14848
818
2451245
Total50301

Frames Received by Opcode

OpcodeCount
11
81
101
Total3

Frames Transmitted by Opcode

OpcodeCount
01
11
81
91
Total4


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c73
002 RX OCTETS: 0d0a557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e3a20557067726164650d0a5365632d576562
               536f636b65742d4163636570743a ...
003 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=dc8f736a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               fragment1
004 TX OCTETS: 01
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=12, MASK=7ffb0f85, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               ping payload
006 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=9fda09ba, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               fragment2
007 CLOSE CONNECTION AFTER 1.000000 sec
008 TX OCTETS: 89
009 TX OCTETS: dc
010 TX OCTETS: 8f
011 TX OCTETS: 73
012 TX OCTETS: 6a
013 TX OCTETS: ba
014 TX OCTETS: fd
015 TX OCTETS: 12
016 TX OCTETS: 0d
017 TX OCTETS: b1
018 TX OCTETS: ea
019 TX OCTETS: 1d
020 TX OCTETS: 1e
021 TX OCTETS: ed
022 TX OCTETS: 89
023 TX OCTETS: 8c
024 TX OCTETS: 7f
025 TX OCTETS: fb
026 TX OCTETS: 0f
027 TX OCTETS: 85
028 TX OCTETS: 0f
029 TX OCTETS: 92
030 TX OCTETS: 61
031 TX OCTETS: e2
032 TX OCTETS: 5f
033 TX OCTETS: 8b
034 TX OCTETS: 6e
035 TX OCTETS: fc
036 TX OCTETS: 13
037 TX OCTETS: 94
038 TX OCTETS: 6e
039 TX OCTETS: e1
040 TX OCTETS: 80
041 TX OCTETS: 89
042 TX OCTETS: 9f
043 TX OCTETS: da
044 TX OCTETS: 09
045 TX OCTETS: ba
046 TX OCTETS: f9
047 TX OCTETS: a8
048 TX OCTETS: 68
049 TX OCTETS: dd
050 TX OCTETS: f2
051 TX OCTETS: bf
052 TX OCTETS: 67
053 TX OCTETS: ce
054 TX OCTETS: ad
055 RX OCTETS: 8a
056 RX OCTETS: 0c70696e67207061796c6f61648112667261676d656e7431667261676d656e7432
057 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=12, MASKED=False, MASK=None
               ping payload
058 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=18, MASKED=False, MASK=None
               fragment1fragment2
059 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=62fe892c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
060 TX OCTETS: 888262fe892c6116
061 RX OCTETS: 88
062 RX OCTETS: 0203e8
063 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
064 TCP DROPPED BY PEER