WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.952s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-20 19:59:21 |

2019-11-20 19:59:21 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-20 19:59:21 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.695s
2019-11-20 19:59:21 |

2019-11-20 19:59:21 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-20 19:59:21 | ------------------------------------

2019-11-20 19:59:21 | non_ws_ :: ws__5a3kw90121@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-20 19:59:21 | non_ws_ :: ws__5a3kw90121@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNWEza3c5MDEyMSxyPUhlOFQweldrSGFMR3JZQXBibjIw</auth>

2019-11-20 19:59:21 | non_ws_ :: ws__5a3kw90121@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1IZThUMHpXa0hhTEdyWUFwYm4yMHBRM1I3MFBaQldEQWx5WkdJdmxTLHM9RFhDWjBXendGYTlVNWc9PSxpPTQwOTY=</challenge>

2019-11-20 19:59:21 | non_ws_ :: ws__5a3kw90121@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9SGU4VDB6V2tIYUxHcllBcGJuMjBwUTNSNzBQWkJXREFseVpHSXZsUyxwPVdOWTRwdGZIeG9TRU5yNDFqVmVVMkZ0Ny9KY00xNEl6RmYxaEVSNXdWVEk9</response>

2019-11-20 19:59:21 | non_ws_ :: ws__5a3kw90121@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj01S1oySGYzSVZzVlJMZDFna2VHbWdzRG9tYUIyNVQrZFQwYmt3dEFLaTRzPQ==</success>

2019-11-20 19:59:21 | non_ws_ :: ws__5a3kw90121@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 hash="SHA-1" ver="8SAx7sxxLI3422mjAeBbH2oWxJg=" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-20 19:59:21 | non_ws_ :: ws__5a3kw90121@localhost >> <iq xmlns="jabber:client" id="UXFv1uZYWeVXmRXWnbnaKAF" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-20 19:59:21 | non_ws_ :: ws__5a3kw90121@localhost << <iq to="ws__5a3kw90121@localhost/993927746-tigase-121" type="result" xmlns="jabber:client" id="UXFv1uZYWeVXmRXWnbnaKAF"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__5a3kw90121@localhost/993927746-tigase-121</jid></bind></iq>

2019-11-20 19:59:21 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 >> <iq xmlns="jabber:client" id="abjrn9EqR8JU08ymViBEjCe" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 << <iq to="ws__5a3kw90121@localhost/993927746-tigase-121" type="result" xmlns="jabber:client" id="abjrn9EqR8JU08ymViBEjCe"/>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 >> <iq to="localhost" id="uM4dTTeBrUj37EIwxtiIri3" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 >> <iq id="K999j2xweAsaxw3y7esgZ5C" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 << <enabled resume="true" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" id="7fce0cf4-35b9-4311-a002-229c761eb8fd"/>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 << <iq to="ws__5a3kw90121@localhost/993927746-tigase-121" type="result" xmlns="jabber:client" id="K999j2xweAsaxw3y7esgZ5C"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 << <iq to="ws__5a3kw90121@localhost/993927746-tigase-121" type="result" xmlns="jabber:client" id="uM4dTTeBrUj37EIwxtiIri3" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10574/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:encrypt:0"/><feature var="tigase:push:ignore-unknown:0"/><feature var="tigase:push:muc:0"/><feature var="tigase:push:muted:0"/><feature var="tigase:push:priority: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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 << <presence to="ws__5a3kw90121@localhost" xmlns="jabber:client" from="ws__5a3kw90121@localhost/993927746-tigase-121"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@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-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNWEza3c5MDEyMSxyPXVRbWJDdjh3SGRBczdTaWVvcDR3</auth>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj11UW1iQ3Y4d0hkQXM3U2llb3A0d09TM0owUE1EUXk0clBOM1VxS2dkLHM9RFhDWjBXendGYTlVNWc9PSxpPTQwOTY=</challenge>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9dVFtYkN2OHdIZEFzN1NpZW9wNHdPUzNKMFBNRFF5NHJQTjNVcUtnZCxwPTVScUFvUHd1OXVnR1FMOXI1cGJUVlV0KzVucXpsM3ZxYmxpUERMMWY5Vkk9</response>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj11K1h2dVdpMFk1MzU0UktaRitheDdoMXpUUDFJQ1JwM2h3NmNZdmU0ZFVRPQ==</success>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@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 hash="SHA-1" ver="8SAx7sxxLI3422mjAeBbH2oWxJg=" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost >> <iq xmlns="jabber:client" id="0hvQ8p38LXVgWYrhUWTcRaw" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost << <iq to="ws__5a3kw90121@localhost/993927746-tigase-122" type="result" xmlns="jabber:client" id="0hvQ8p38LXVgWYrhUWTcRaw"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__5a3kw90121@localhost/993927746-tigase-122</jid></bind></iq>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 >> <iq xmlns="jabber:client" id="CkCoN0qWn9EqR8JU08ymViB" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 << <iq to="ws__5a3kw90121@localhost/993927746-tigase-122" type="result" xmlns="jabber:client" id="CkCoN0qWn9EqR8JU08ymViB"/>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 >> <iq to="localhost" id="1Xt7nZ0vrTcOIVfQODGP6oU" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 >> <iq id="YSc7eO5h09x6HPFKUUj1oUP" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-20 19:59:22 | [Mutex] waiting for: [websocket:message:to:6e683ecb-3590-4e7f-9df8-c52bb80999de]

2019-11-20 19:59:22 | non_ws_ :: ws__5a3kw90121@localhost/993927746-tigase-121 << <presence to="ws__5a3kw90121@localhost" xmlns="jabber:client" from="ws__5a3kw90121@localhost/993927746-tigase-122"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 << <enabled resume="true" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" id="4a11375e-df56-471c-b966-240340395cee"/>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 << <iq to="ws__5a3kw90121@localhost/993927746-tigase-122" type="result" xmlns="jabber:client" id="YSc7eO5h09x6HPFKUUj1oUP"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 << <message to="ws__5a3kw90121@localhost/993927746-tigase-122" xmlns="jabber:client" from="ws__5a3kw90121@localhost/993927746-tigase-121"><body>6e683ecb-3590-4e7f-9df8-c52bb80999de</body></message>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 << <iq to="ws__5a3kw90121@localhost/993927746-tigase-122" type="result" xmlns="jabber:client" id="1Xt7nZ0vrTcOIVfQODGP6oU" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10574/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:encrypt:0"/><feature var="tigase:push:ignore-unknown:0"/><feature var="tigase:push:muc:0"/><feature var="tigase:push:muted:0"/><feature var="tigase:push:priority: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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 << <presence to="ws__5a3kw90121@localhost" xmlns="jabber:client" from="ws__5a3kw90121@localhost/993927746-tigase-121"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-11-20 19:59:22 | ws_ :: ws__5a3kw90121@localhost/993927746-tigase-122 << <presence to="ws__5a3kw90121@localhost" xmlns="jabber:client" from="ws__5a3kw90121@localhost/993927746-tigase-122"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-11-20 19:59:22 | [Mutex] notify: [websocket:message:to:6e683ecb-3590-4e7f-9df8-c52bb80999de]

2019-11-20 19:59:22 | [Mutex] received everything.

2019-11-20 19:59:23 | [Mutex] isItemNotified: websocket:message:to:6e683ecb-3590-4e7f-9df8-c52bb80999de :: true