Autobahn WebSockets Testsuite Report
Autobahn WebSockets

SwiftWebSocket - Case 12.1.4 : Pass - 218 ms @ 2016-04-13T16:10:46.706Z

Case Description

Send 1000 compressed messages each of payload size 1024, auto-fragment to 0 octets. Use default permessage-deflate offer.

Case Expectation

Receive echo'ed messages (with payload as sent). Timeout case after 240 secs.

Case Outcome

Ok, received all echo'ed messages in time.

Expected:
{}

Observed:
[]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET /runCase?case=309&agent=SwiftWebSocket HTTP/1.1
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits; server_max_window_bits=15
Upgrade: websocket
User-Agent: SwiftWebSocket
Origin: ws://localhost:9001/runCase?case=309&agent=SwiftWebSocket
Sec-WebSocket-Version: 13
Connection: Upgrade
Host: localhost:9001
Sec-WebSocket-Key: Z+Ike3fKt4KGzJxeaB4tJA==
HTTP/1.1 101 Switching Protocols
Server: AutobahnTestSuite/0.7.2-0.10.9
X-Powered-By: AutobahnPython/0.10.9
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: D7g5oiPlso8Dsn1e8ofyqD13BTs=
Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits=15


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.
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).
remoteCloseCodeNoneThe 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
616
3821382
103210001032000
Total10021032388

Octets Transmitted by Chop Size

Chop SizeCountOctets
414
39139
40140
414164
445220
45145
464184
479423
48221056
49321568
50331650
51391989
52713692
53492597
54593186
55603300
56643584
57683876
58271566
59502950
60291740
61191159
6215930
63291827
64201280
65161040
668528
67191273
68201360
69171173
70281960
71201420
72282016
73292117
7411814
7511825
76181368
7710770
788624
794316
803240
82182
832166
843252
863258
87187
88188
893267
912182
922184
944376
96196
97197
992198
1001100
1011101
1041104
1052210
1061106
1071107
1081108
1092218
1101110
1141114
1701170
2791279
Total100260973

Frames Received by Opcode

OpcodeCount
11000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
11000
81
Total1001


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d333039266167656e743d5377696674576562536f636b657420485454502f312e
               310d0a5365632d576562536f636b ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               5465737453756974652f302e372e ...
002 WIRELOG DISABLED
003 CLOSE CONNECTION AFTER 240.000000 sec
004 WIRELOG ENABLED
005 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
006 TX OCTETS: 880203e8
007 RX OCTETS: 8880a798cb28
008 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=True, MASK=6137393863623238
009 TCP DROPPED BY ME