WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.827s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.407s
2019-11-22 18:39:43 |

2019-11-22 18:39:43 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-22 18:39:43 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.763s
2019-11-22 18:39:44 |

2019-11-22 18:39:44 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-22 18:39:44 | ------------------------------------

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>SCRAM-SHA-256</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNGlpZDdqMDEzMyxyPVhJaFBvSHViSkxGcnpuaFloUENl</auth>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1YSWhQb0h1YkpMRnJ6bmhZaFBDZU1HcktsSzdBZGx1MDJTTXYwSzNTLHM9M3ZmY2JkeGpZSmQ4V1E9PSxpPTQwOTY=</challenge>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9WEloUG9IdWJKTEZyem5oWWhQQ2VNR3JLbEs3QWRsdTAyU012MEszUyxwPXFzTVUxRVM4WXI1QkpDcEM4ODN2TFd5QlRsVWlxank5SjNGZGZhMy9FV3M9</response>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1sUklnVzBuV25HZFQ1YVJqY09LMStXaXhoSzgrTXlZVFBjdlBlYXplYzFBPQ==</success>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><csi xmlns="urn:xmpp:csi:0"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"><optional/></session><c ver="vxsZDK3itTHNCC9pNOSKIQZW/14=" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" hash="SHA-1"/></features>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost >> <iq xmlns="jabber:client" id="KukzAresdDtfCqar5zDu4j6" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost << <iq type="result" to="ws__4iid7j0133@localhost/993927746-tigase-134" xmlns="jabber:client" id="KukzAresdDtfCqar5zDu4j6"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__4iid7j0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="Vr9jJFJX8mTgDweTMCCt5xt" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 << <iq type="result" to="ws__4iid7j0133@localhost/993927746-tigase-134" xmlns="jabber:client" id="Vr9jJFJX8mTgDweTMCCt5xt"/>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="tFNMMEtqXawtWWgLFHNQUgN" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 >> <iq id="mues2gQNNZtaq1w9yi128Ex" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 << <enabled resume="true" max="60" xmlns="urn:xmpp:sm:3" location="d4270859fb27" id="c638ac75-d547-455b-b2b5-c6e17d3533fa"/>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 << <iq type="result" to="ws__4iid7j0133@localhost/993927746-tigase-134" xmlns="jabber:client" id="mues2gQNNZtaq1w9yi128Ex"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 << <iq type="result" to="ws__4iid7j0133@localhost/993927746-tigase-134" xmlns="jabber:client" from="localhost" id="tFNMMEtqXawtWWgLFHNQUgN"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><field type="hidden" var="FORM_TYPE"><value>http://jabber.org/network/serverinfo</value></field><field type="text-multi" var="abuse-addresses"><value>mailto:abuse@localhost</value><value>xmpp:abuse@localhost</value></field></x><feature var="urn:xmpp:carbons:2"/><feature var="http://jabber.org/protocol/stats"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="jabber:iq:auth"/><feature var="vcard-temp"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="urn:xmpp:blocking"/><feature var="urn:xmpp:ping"/><feature var="urn:ietf:params:xml:ns:xmpp-sasl"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/pubsub#owner"/><feature var="http://jabber.org/protocol/pubsub#publish"/><identity type="pep" category="pubsub"/><feature var="urn:xmpp:pep-vcard-conversion:0"/><feature var="urn:xmpp:bookmarks-conversion:0"/><feature var="urn:xmpp:archive:auto"/><feature var="urn:xmpp:archive:manage"/><feature var="urn:xmpp:push:0"/><feature var="tigase:push:away:0"/><feature var="tigase:push:encrypt:0"/><feature var="tigase:push:ignore-unknown:0"/><feature var="tigase:push:muc:0"/><feature var="tigase:push:priority:0"/><feature var="tigase:push:muted:0"/><feature var="jabber:iq:roster"/><feature var="jabber:iq:roster-dynamic"/><feature var="urn:xmpp:mam:1"/><feature var="jabber:iq:version"/><feature var="urn:xmpp:time"/><feature var="jabber:iq:privacy"/><feature var="urn:ietf:params:xml:ns:xmpp-bind"/><feature var="http://jabber.org/protocol/commands"/><feature var="urn:ietf:params:xml:ns:vcard-4.0"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 << <presence to="ws__4iid7j0133@localhost" xmlns="jabber:client" from="ws__4iid7j0133@localhost/993927746-tigase-134"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>SCRAM-SHA-256</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNGlpZDdqMDEzMyxyPVp4dVQ2aEs4MkpqOVdLWkVURWxw</auth>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1aeHVUNmhLODJKajlXS1pFVEVscHNha1pJV014bXlWMjJpNVZYa0JQLHM9M3ZmY2JkeGpZSmQ4V1E9PSxpPTQwOTY=</challenge>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9Wnh1VDZoSzgySmo5V0taRVRFbHBzYWtaSVdNeG15VjIyaTVWWGtCUCxwPXR6dGd6N3RoclJlYVRKazYyNnB1eHNNMHlVNWE4a0xOZ0gvNXdnKzdOODQ9</response>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj05SWpGWTVHQ3VrcUlCR3BNaXRLRG9YeUI2aUUrZTRsUU03KzlVUkFGSE9vPQ==</success>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><csi xmlns="urn:xmpp:csi:0"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"><optional/></session><c ver="vxsZDK3itTHNCC9pNOSKIQZW/14=" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" hash="SHA-1"/></features>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost >> <iq xmlns="jabber:client" id="xt9t3mUfu2s9rfT2i2l24r5" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost << <iq type="result" to="ws__4iid7j0133@localhost/993927746-tigase-135" xmlns="jabber:client" id="xt9t3mUfu2s9rfT2i2l24r5"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__4iid7j0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="nCyV2oTZnfIwdUV6odqUcDp" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 << <iq type="result" to="ws__4iid7j0133@localhost/993927746-tigase-135" xmlns="jabber:client" id="nCyV2oTZnfIwdUV6odqUcDp"/>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="9IOyfR7ucQXgwlTZhGyqX7D" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 >> <iq id="8pRNPNXjSYo3sU7r5t4kY3j" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-22 18:39:44 | [Mutex] waiting for: [websocket:message:to:f1aee7fc-69ab-44d4-85f8-dab7e361acfa]

2019-11-22 18:39:44 | non_ws_ :: ws__4iid7j0133@localhost/993927746-tigase-134 << <presence to="ws__4iid7j0133@localhost" xmlns="jabber:client" from="ws__4iid7j0133@localhost/993927746-tigase-135"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 << <enabled resume="true" max="60" xmlns="urn:xmpp:sm:3" location="d4270859fb27" id="890cb41c-7bd6-421e-a11d-74b9181ed7e7"/>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 << <iq type="result" to="ws__4iid7j0133@localhost/993927746-tigase-135" xmlns="jabber:client" from="localhost" id="9IOyfR7ucQXgwlTZhGyqX7D"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><field type="hidden" var="FORM_TYPE"><value>http://jabber.org/network/serverinfo</value></field><field type="text-multi" var="abuse-addresses"><value>mailto:abuse@localhost</value><value>xmpp:abuse@localhost</value></field></x><feature var="urn:xmpp:carbons:2"/><feature var="http://jabber.org/protocol/stats"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="jabber:iq:auth"/><feature var="vcard-temp"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="urn:xmpp:blocking"/><feature var="urn:xmpp:ping"/><feature var="urn:ietf:params:xml:ns:xmpp-sasl"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/pubsub#owner"/><feature var="http://jabber.org/protocol/pubsub#publish"/><identity type="pep" category="pubsub"/><feature var="urn:xmpp:pep-vcard-conversion:0"/><feature var="urn:xmpp:bookmarks-conversion:0"/><feature var="urn:xmpp:archive:auto"/><feature var="urn:xmpp:archive:manage"/><feature var="urn:xmpp:push:0"/><feature var="tigase:push:away:0"/><feature var="tigase:push:encrypt:0"/><feature var="tigase:push:ignore-unknown:0"/><feature var="tigase:push:muc:0"/><feature var="tigase:push:priority:0"/><feature var="tigase:push:muted:0"/><feature var="jabber:iq:roster"/><feature var="jabber:iq:roster-dynamic"/><feature var="urn:xmpp:mam:1"/><feature var="jabber:iq:version"/><feature var="urn:xmpp:time"/><feature var="jabber:iq:privacy"/><feature var="urn:ietf:params:xml:ns:xmpp-bind"/><feature var="http://jabber.org/protocol/commands"/><feature var="urn:ietf:params:xml:ns:vcard-4.0"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 << <iq type="result" to="ws__4iid7j0133@localhost/993927746-tigase-135" xmlns="jabber:client" id="8pRNPNXjSYo3sU7r5t4kY3j"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 << <presence to="ws__4iid7j0133@localhost" xmlns="jabber:client" from="ws__4iid7j0133@localhost/993927746-tigase-134"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 << <presence to="ws__4iid7j0133@localhost" xmlns="jabber:client" from="ws__4iid7j0133@localhost/993927746-tigase-135"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2019-11-22 18:39:44 | ws_ :: ws__4iid7j0133@localhost/993927746-tigase-135 << <message to="ws__4iid7j0133@localhost/993927746-tigase-135" xmlns="jabber:client" from="ws__4iid7j0133@localhost/993927746-tigase-134"><body>f1aee7fc-69ab-44d4-85f8-dab7e361acfa</body></message>

2019-11-22 18:39:44 | [Mutex] notify: [websocket:message:to:f1aee7fc-69ab-44d4-85f8-dab7e361acfa]

2019-11-22 18:39:44 | [Mutex] received everything.

2019-11-22 18:39:45 | [Mutex] isItemNotified: websocket:message:to:f1aee7fc-69ab-44d4-85f8-dab7e361acfa :: true