Autobahn WebSocket Testsuite Report
Autobahn WebSocket

non-tls - Case 2.10 : Pass - 10 ms @ 2021-07-05T07:51:27.187Z

Case Description

Send 10 Pings with payload.

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 /echo/message HTTP/1.1
User-Agent: AutobahnTestSuite/0.8.2-0.10.9
Host: localhost:9998
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: c6/adHiPnn3i9DvYW1uCiw==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Content-Length: 0
Date: Mon, 05 Jul 2021 07:51:27 GMT
Server: nbio
Upgrade: websocket
Connection: Upgrade
Sec-Websocket-Accept: u46U/lpuxcj74dP5w1BU5Z3JHjE=


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
414
44144
66166
1991199
Total4313

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
1510150
2521252
Total12410

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f6563686f2f6d65737361676520485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465
               737453756974652f302e382e322d ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a436f6e74656e742d4c656e6774683a20
               300d0a446174653a204d6f6e2c20 ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=bb8f37fc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-0
003 TX OCTETS: 8989bb8f37fccbee4e90d4ee53d18b
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=e2056ea0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-1
005 TX OCTETS: 8989e2056ea0926417cc8d640a8dd3
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=929e5fa1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-2
007 TX OCTETS: 8989929e5fa1e2ff26cdfdff3b8ca0
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=2f8aaddc, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-3
009 TX OCTETS: 89892f8aaddc5febd4b040ebc9f11c
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=3f2073d3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-4
011 TX OCTETS: 89893f2073d34f410abf504117fe0b
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=16691798, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-5
013 TX OCTETS: 89891669179866086ef4790873b523
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=0ab73046, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-6
015 TX OCTETS: 89890ab730467ad6492a65d6546b3c
016 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=7a276919, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-7
017 TX OCTETS: 89897a2769190a46107515460d344d
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=bc862b81, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-8
019 TX OCTETS: 8989bc862b81cce752edd3e74fac84
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=81c34abd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-9
021 TX OCTETS: 898981c34abdf1a233d1eea22e90b8
022 CLOSE CONNECTION AFTER 3.000000 sec
023 RX OCTETS: 8a097061796c6f61642d308a097061796c6f61642d318a097061796c6f61642d328a097061796c6f61642d33
024 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-0
025 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-1
026 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-2
027 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-3
028 RX OCTETS: 8a097061796c6f61642d348a097061796c6f61642d358a097061796c6f61642d368a097061796c6f61642d378a097061796c
               6f61642d388a097061796c6f6164 ...
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-4
030 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-5
031 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-6
032 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-7
033 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-8
034 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               payload-9
035 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=4b932684, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
036 TX OCTETS: 88824b932684487b
037 RX OCTETS: 880203e8
038 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
               0x03e8
039 TCP DROPPED BY PEER