Autobahn WebSockets Testsuite Report
Autobahn WebSockets

ServerFrameworkServer/6.6.5 - Case 2.10 : Pass - 3 ms @ 2017-11-02T08:53:24Z

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', '0x7061796c6f61642d30'), ('pong', '0x7061796c6f61642d31'), ('pong', '0x7061796c6f61642d32'), ('pong', '0x7061796c6f61642d33'), ('pong', '0x7061796c6f61642d34'), ('pong', '0x7061796c6f61642d35'), ('pong', '0x7061796c6f61642d36'), ('pong', '0x7061796c6f61642d37'), ('pong', '0x7061796c6f61642d38'), ('pong', '0x7061796c6f61642d39')]}

Observed:
[('pong', '0x7061796c6f61642d30'), ('pong', '0x7061796c6f61642d31'), ('pong', '0x7061796c6f61642d32'), ('pong', '0x7061796c6f61642d33'), ('pong', '0x7061796c6f61642d34'), ('pong', '0x7061796c6f61642d35'), ('pong', '0x7061796c6f61642d36'), ('pong', '0x7061796c6f61642d37'), ('pong', '0x7061796c6f61642d38'), ('pong', '0x7061796c6f61642d39')]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.5.5-0.5.14
Host: localhost:5051
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: eIwXVC0S85p4mBfwpble4w==
Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: H4ER2Cw4drxDl8nHfU15KIcdoPA=


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
33133
77177
1291129
Total4243

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
1510150
2401240
Total12398

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
               352d302e352e31340d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a557067726164653a20776562736f636b
               65740d0a436f6e6e656374696f6e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=31961f32, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d30
003 TX OCTETS: 898931961f3241f7665e5ef77b1f01
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=f0bf61fd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d31
005 TX OCTETS: 8989f0bf61fd80de18919fde05d0c1
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=fd9fe87c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d32
007 TX OCTETS: 8989fd9fe87c8dfe911092fe8c51cf
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=f46646aa, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d33
009 TX OCTETS: 8989f46646aa84073fc69b072287c7
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=e7271f55, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d34
011 TX OCTETS: 8989e7271f559746663988467b78d3
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=71e29482, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d35
013 TX OCTETS: 898971e294820183edee1e83f0af44
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=24a3f4c2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d36
015 TX OCTETS: 898924a3f4c254c28dae4bc290ef12
016 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=b8e102f8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d37
017 TX OCTETS: 8989b8e102f8c8807b94d78066d58f
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=98962a00, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d38
019 TX OCTETS: 898998962a00e8f7536cf7f74e2da0
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=2b80296b, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x7061796c6f61642d39
021 TX OCTETS: 89892b80296b5be1500744e14d4612
022 CLOSE CONNECTION AFTER 3.000000 sec
023 RX OCTETS: 8a097061796c6f61642d308a097061796c6f61642d318a097061796c6f61642d32
024 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d30
025 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d31
026 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d32
027 RX OCTETS: 8a097061796c6f61642d338a097061796c6f61642d348a097061796c6f61642d358a097061796c6f61642d368a097061796c
               6f61642d378a097061796c6f6164 ...
028 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d33
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d34
030 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d35
031 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d36
032 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d37
033 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d38
034 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=9, MASKED=False, MASK=None
               0x7061796c6f61642d39
035 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=60ac289a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
036 TX OCTETS: 888260ac289a6344
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