Autobahn WebSockets Testsuite Report
Autobahn WebSockets

SwiftWebSocket - Case 12.5.4 : Pass - 387 ms @ 2016-04-13T16:14:35.352Z

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=381&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=381&agent=SwiftWebSocket
Sec-WebSocket-Version: 13
Connection: Upgrade
Host: localhost:9001
Sec-WebSocket-Key: a89KFHNwuEXNOWAReDsOJg==
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: ZwpCSCMgDK8kunszfLQgd2yUUMc=
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
16580
177119
29129
37137
38276
393117
40140
41282
423126
433129
44288
45290
47147
484192
51151
522104
544216
562112
57157
58158
592118
60160
612122
62162
642128
65165
662132
67167
68168
69169
71171
73173
74174
76176
782156
80180
81181
822164
83183
84184
85185
862172
872174
88188
89189
932186
94194
952190
992198
1002200
1012202
1052210
1061106
1071107
1081108
1121112
1131113
1181118
1231123
1241124
1311131
1331133
1391139
1431143
1451145
1471147
1521152
1552310
1592318
1631163
1661166
1741174
1811181
1862372
1871187
1921192
1941194
2021202
2081208
2101210
2131213
2161216
2181218
2202440
2221222
2241224
2251225
2271227
2331233
2391239
2441244
2501250
2672534
2741274
2781278
2792558
2821282
2831283
2841284
2881288
2941294
2971297
2981298
2991299
3041304
3061306
3071307
3111311
3172634
3231323
3241324
3252650
3341334
3441344
3481348
3501350
3522704
3552710
3561356
3611361
3652730
3691369
3721372
3832766
3872774
4092818
4111411
4141414
4191419
4221422
4312862
4421442
4611461
4631463
4711471
4821482
4841484
4901490
5041504
5071507
5341534
5391539
54221084
5431543
5451545
5571557
5591559
5611561
5661566
57621152
5771577
5781578
5821582
5901590
59321186
5961596
6041604
6071607
6151615
6221622
6281628
63621272
6381638
6391639
6451645
6461646
6481648
6531653
6541654
65521310
6571657
6681668
6931693
6941694
6981698
7031703
7111711
7141714
7161716
7171717
7231723
7291729
7311731
7341734
7351735
7361736
73921478
7401740
7421742
74321486
7471747
7491749
7511751
7561756
7651765
7661766
7671767
7711771
77221544
7761776
77721554
78221564
7881788
7911791
7921792
7931793
7941794
7991799
80421608
8061806
8101810
81421628
81521630
8161816
8171817
8201820
8211821
8221822
8231823
8241824
8271827
8281828
83021660
8311831
83221664
83432502
8351835
83932517
8401840
84121682
8421842
8441844
8451845
84621692
8471847
84832544
84921698
85021700
8511851
8531853
8541854
85521710
8561856
8571857
8581858
85921718
8601860
86221724
86321726
8641864
86521730
86621732
8671867
8701870
8731873
87443496
87543500
8761876
87743508
87821756
87932637
8811881
88221764
88321766
8861886
88721774
8881888
88921778
89132673
89321786
89532685
8971897
8981898
89943596
90021800
90143604
90321806
9091909
91032730
9111911
9121912
91321826
91521830
91654580
9171917
9181918
9191919
9201920
92121842
9231923
92632778
92721854
92921858
9301930
9311931
93221864
93332799
9351935
9361936
93732811
93821876
9391939
94032820
94143764
94343772
94521890
9461946
9471947
94821896
9501950
95121902
9521952
9551955
9561956
9571957
9601960
96132883
96221924
96321926
97021940
9731973
97421948
9761976
97921958
98021960
9851985
9871987
9901990
99421988
9951995
100011000
100322006
100611006
100711007
100911009
101722034
101833054
102111021
102222044
102333069
102511025
102833084
103111031
1034493509762
Total1002808983

Frames Received by Opcode

OpcodeCount
21000
81
Total1001

Frames Transmitted by Opcode

OpcodeCount
21000
81
Total1001


Wire Log

000 RX OCTETS: 474554202f72756e436173653f636173653d333831266167656e743d5377696674576562536f636b657420485454502f312e
               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: 888080e339b0
008 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=True, MASK=3830653333396230
009 TCP DROPPED BY ME