AutobahnServer - Case 2.10 : Pass - 6 ms @ 2013-03-03T15:37:38Z

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', 'payload-0'), ('pong', 'payload-1'), ('pong', 'payload-2'), ('pong', 'payload-3'), ('pong', 'payload-4'), ('pong', 'payload-5'), ('pong', 'payload-6'), ('pong', 'payload-7'), ('pong', 'payload-8'), ('pong', 'payload-9')]}

Observed:
[('pong', 'payload-0'), ('pong', 'payload-1'), ('pong', 'payload-2'), ('pong', 'payload-3'), ('pong', 'payload-4'), ('pong', 'payload-5'), ('pong', 'payload-6'), ('pong', 'payload-7'), ('pong', 'payload-8'), ('pong', 'payload-9')]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1

User-Agent: AutobahnTestSuite/0.5.2-0.5.9

Host: 127.0.0.1:9001

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: y91SjorBFL2I6KXyipncrw==

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

Server: AutobahnPython/0.5.9

Upgrade: WebSocket

Connection: Upgrade

Sec-WebSocket-Accept: fMmU9/SpjSPUwaUQ8yeEuQpgFkw=


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
1101110
1591159
Total3273

Octets Transmitted by Chop Size

Chop SizeCountOctets
818
1510150
2391239
Total12397

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
               322d302e352e390d0a486f73743a203132372e302e302e313a393030310d0a557067726164653a20576562536f636b65740d
               0a436f6e6e656374696f6e3a20557067726164650d0a507261676d613a206e6f2d63616368650d0a43616368652d436f6e74
               726f6c3a206e6f2d63616368650d0a5365632d576562536f636b65742d4b65793a20793931536a6f7242464c3249364b5879
               69706e6372773d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               507974686f6e2f302e352e390d0a557067726164653a20576562536f636b65740d0a436f6e6e656374696f6e3a2055706772
               6164650d0a5365632d576562536f636b65742d4163636570743a20664d6d55392f53706a5350557761555138796545755170
               67466b773d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=ac141de8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-0
003 TX OCTETS: 8989ac141de8dc756484c37579c59c
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=8a3171c6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-1
005 TX OCTETS: 89898a3171c6fa5008aae55015ebbb
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=b7f06fad, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-2
007 TX OCTETS: 8989b7f06fadc79116c1d8910b8085
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=8e868f63, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-3
009 TX OCTETS: 89898e868f63fee7f60fe1e7eb4ebd
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=5b9b8ab0, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-4
011 TX OCTETS: 89895b9b8ab02bfaf3dc34faee9d6f
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=160563fa, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-5
013 TX OCTETS: 8989160563fa66641a96796407d723
014 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=25443831, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-6
015 TX OCTETS: 8989254438315525415d4a255c1c13
016 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=e0f7f3eb, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-7
017 TX OCTETS: 8989e0f7f3eb90968a878f9697c6d7
018 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=afaa1699, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-8
019 TX OCTETS: 8989afaa1699dfcb6ff5c0cb72b497
020 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=e0a53be2, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               payload-9
021 TX OCTETS: 8989e0a53be290c4428e8fc45fcfd9
022 CLOSE CONNECTION AFTER 3.000000 sec
023 RX OCTETS: 8a097061796c6f61642d308a097061796c6f61642d318a097061796c6f61642d328a097061796c6f61642d338a097061796c
               6f61642d348a097061796c6f61642d358a097061796c6f61642d368a097061796c6f61642d378a097061796c6f61642d388a
               097061796c6f61642d39
024 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-0
025 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-1
026 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-2
027 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-3
028 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-4
029 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-5
030 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-6
031 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-7
032 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-8
033 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=False, MASK=None
               payload-9
034 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=a298e95a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
035 TX OCTETS: 8882a298e95aa170
036 RX OCTETS: 880203e8
037 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
038 TCP DROPPED BY PEER