WebSockets Protocol Test Report
Autobahn WebSockets

AutobahnClient/0.4.10 - Case 2.11 : Pass - 12 ms @ 2012-01-09T14:53:45Z

Case Description

Send 10 Pings with payload. Send out octets in octet-wise chops.

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 /runCase?case=27&agent=AutobahnClient/0.4.10 HTTP/1.1
User-Agent: AutobahnWebSockets/0.4.10
Host: localhost:9001
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: cJMNdOdvxHhcG7NUVVquQA==
Sec-WebSocket-Version: 8
HTTP/1.1 101 Switching Protocols
Server: AutobahnWebSocketsTestSuite/0.4.10
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: w5O1WfeRYBex0Sia/cSHmkJgqiA=


Closing Behavior

KeyValueDescription
isServerTrueTrue, 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.
droppedByMeTrueTrue, 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.
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
818
15230
1201120
2341234
Total5392

Octets Transmitted by Chop Size

Chop SizeCountOctets
1110110
414
1731173
Total112287

Frames Received by Opcode

OpcodeCount
81
1010
Total11

Frames Transmitted by Opcode

OpcodeCount
81
910
Total11


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d3237266167656e743d4175746f6261686e436c69656e742f302e342e31302048
               5454502f312e310d0a557365722d4167656e743a204175746f6261686e576562536f636b6574732f302e342e31300d0a486f
               73743a206c6f63616c686f73743a393030310d0a557067726164653a20776562736f636b65740d0a436f6e6e656374696f6e
               3a20557067726164650d0a5365632d576562536f636b65742d4b65793a20634a4d4e644f64767848686347374e5556567175
               51413d3d0d0a5365632d576562536f636b65742d56657273696f6e3a20380d0a0d0a
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               576562536f636b6574735465737453756974652f302e342e31300d0a557067726164653a20776562736f636b65740d0a436f
               6e6e656374696f6e3a20557067726164650d0a5365632d576562536f636b65742d4163636570743a2077354f315766655259
               426578305369612f6353486d6b4a677169413d0d0a0d0a
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-0
003 TX OCTETS: 89
004 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-1
005 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-2
006 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-3
007 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-4
008 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-5
009 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-6
010 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-7
011 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-8
012 TX FRAME : OPCODE=9, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               payload-9
013 CLOSE CONNECTION AFTER 3.000000 sec
014 TX OCTETS: 09
015 TX OCTETS: 70
016 TX OCTETS: 61
017 TX OCTETS: 79
018 TX OCTETS: 6c
019 TX OCTETS: 6f
020 TX OCTETS: 61
021 TX OCTETS: 64
022 TX OCTETS: 2d
023 TX OCTETS: 30
024 TX OCTETS: 89
025 TX OCTETS: 09
026 TX OCTETS: 70
027 TX OCTETS: 61
028 TX OCTETS: 79
029 TX OCTETS: 6c
030 TX OCTETS: 6f
031 TX OCTETS: 61
032 TX OCTETS: 64
033 TX OCTETS: 2d
034 TX OCTETS: 31
035 TX OCTETS: 89
036 TX OCTETS: 09
037 TX OCTETS: 70
038 TX OCTETS: 61
039 TX OCTETS: 79
040 TX OCTETS: 6c
041 TX OCTETS: 6f
042 TX OCTETS: 61
043 TX OCTETS: 64
044 TX OCTETS: 2d
045 TX OCTETS: 32
046 TX OCTETS: 89
047 TX OCTETS: 09
048 TX OCTETS: 70
049 TX OCTETS: 61
050 TX OCTETS: 79
051 TX OCTETS: 6c
052 TX OCTETS: 6f
053 TX OCTETS: 61
054 TX OCTETS: 64
055 TX OCTETS: 2d
056 TX OCTETS: 33
057 TX OCTETS: 89
058 TX OCTETS: 09
059 TX OCTETS: 70
060 TX OCTETS: 61
061 TX OCTETS: 79
062 TX OCTETS: 6c
063 TX OCTETS: 6f
064 TX OCTETS: 61
065 TX OCTETS: 64
066 TX OCTETS: 2d
067 TX OCTETS: 34
068 TX OCTETS: 89
069 TX OCTETS: 09
070 TX OCTETS: 70
071 TX OCTETS: 61
072 TX OCTETS: 79
073 TX OCTETS: 6c
074 TX OCTETS: 6f
075 TX OCTETS: 61
076 TX OCTETS: 64
077 TX OCTETS: 2d
078 TX OCTETS: 35
079 TX OCTETS: 89
080 TX OCTETS: 09
081 TX OCTETS: 70
082 TX OCTETS: 61
083 TX OCTETS: 79
084 TX OCTETS: 6c
085 TX OCTETS: 6f
086 TX OCTETS: 61
087 TX OCTETS: 64
088 TX OCTETS: 2d
089 TX OCTETS: 36
090 TX OCTETS: 89
091 TX OCTETS: 09
092 TX OCTETS: 70
093 TX OCTETS: 61
094 TX OCTETS: 79
095 TX OCTETS: 6c
096 TX OCTETS: 6f
097 TX OCTETS: 61
098 TX OCTETS: 64
099 TX OCTETS: 2d
100 TX OCTETS: 37
101 TX OCTETS: 89
102 TX OCTETS: 09
103 TX OCTETS: 70
104 TX OCTETS: 61
105 TX OCTETS: 79
106 TX OCTETS: 6c
107 TX OCTETS: 6f
108 RX OCTETS: 8a89a2076c40d266152ccd66086d928a89d4a7fd6ca4c68400bbc69941e58a8914e3187a648261167b827c57268a89edd641
               509db7383c82b7257dde8a89e067033490067a588f066719d48a89be34d173ce55a81fd155b55e8b8a89cb41c460bb20bd0c
               a420a04dfd8a89782e145e084f6d32174f70734f
109 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=a2076c40
               payload-0
110 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=d4a7fd6c
               payload-1
111 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=14e3187a
               payload-2
112 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=edd64150
               payload-3
113 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=e0670334
               payload-4
114 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=be34d173
               payload-5
115 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=cb41c460
               payload-6
116 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=782e145e
               payload-7
117 TX OCTETS: 61
118 TX OCTETS: 64
119 TX OCTETS: 2d
120 TX OCTETS: 38
121 TX OCTETS: 89
122 RX OCTETS: 8a8930f14f6e409036025f902b4308
123 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=30f14f6e
               payload-8
124 TX OCTETS: 09
125 TX OCTETS: 70
126 TX OCTETS: 61
127 TX OCTETS: 79
128 TX OCTETS: 6c
129 TX OCTETS: 6f
130 TX OCTETS: 61
131 TX OCTETS: 64
132 TX OCTETS: 2d
133 TX OCTETS: 39
134 RX OCTETS: 8a89034b45a9732a3cc56c2a21843a
135 RX FRAME : OPCODE=10, FIN=True, RSV=0, MASKED=True, MASK=034b45a9
               payload-9
136 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
137 TX OCTETS: 880203e8
138 RX OCTETS: 88827c2c1bff7fc4
139 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=True, MASK=7c2c1bff
140 TCP DROPPED BY ME