WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.874s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-12-03 20:39:30 |

2019-12-03 20:39:30 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-12-03 20:39:30 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.721s
2019-12-03 20:39:31 |

2019-12-03 20:39:31 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-12-03 20:39:31 | ------------------------------------

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><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><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-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNjFjankwMDEzMyxyPXQzUzFrZ0l0S1hnemZpSEhqNmtM</auth>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj10M1Mxa2dJdEtYZ3pmaUhIajZrTGVvSDM2MzI5Qnh0aHc2eGNNUHlWLHM9Sk1sVS90YXhJeStFbGc9PSxpPTQwOTY=</challenge>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9dDNTMWtnSXRLWGd6ZmlISGo2a0xlb0gzNjMyOUJ4dGh3NnhjTVB5VixwPXZ6NXBhb0RlV1RoaWpiMzRJMFNmK1Z0VURoQzRhbXJtSVdVeFN0aUJRKzQ9</response>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj0ycnNNZzVvdSt5aGI4bUM3NjQ2c3V2QlBDRTNQaWVNcjJ4YjJiUHFxKys0PQ==</success>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@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" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" ver="tayVLFeRarzqpIYlhM87XxlAcgo="/></features>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost >> <iq xmlns="jabber:client" id="Lrb3zxv5vdzvs9mcx6hDjMF" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost << <iq xmlns="jabber:client" id="Lrb3zxv5vdzvs9mcx6hDjMF" type="result" to="ws__61cjy00133@localhost/993927746-tigase-134"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__61cjy00133@localhost/993927746-tigase-134</jid></bind></iq>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="cp3h0dqj1t1nX3to16Gv29n" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" id="cp3h0dqj1t1nX3to16Gv29n" type="result" to="ws__61cjy00133@localhost/993927746-tigase-134"/>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 >> <iq to="localhost" id="HHTDKW5aNZpT7r1pgLAErUT" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 >> <iq id="tq2NFpRSRQV1k9AeTWmax4B" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 << <enabled xmlns="urn:xmpp:sm:3" max="60" id="554577f9-b735-403a-89c4-2e18f8a1e861" resume="true" location="d4270859fb27"/>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" id="HHTDKW5aNZpT7r1pgLAErUT" from="localhost" type="result" to="ws__61cjy00133@localhost/993927746-tigase-134"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" type="im"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/network/serverinfo</value></field><field var="abuse-addresses" type="text-multi"><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="vcard-temp"/><feature var="jabber:iq:auth"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><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 category="pubsub" type="pep"/><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-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" id="tq2NFpRSRQV1k9AeTWmax4B" type="result" to="ws__61cjy00133@localhost/993927746-tigase-134"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 20:39:31 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 << <presence xmlns="jabber:client" from="ws__61cjy00133@localhost/993927746-tigase-134" to="ws__61cjy00133@localhost"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><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><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-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNjFjankwMDEzMyxyPXpnNVdlUTVoZzlLUlkyeEs0Y29h</auth>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj16ZzVXZVE1aGc5S1JZMnhLNGNvYUVsS3J1OVN1dFhuMlpzQThLUFJQLHM9Sk1sVS90YXhJeStFbGc9PSxpPTQwOTY=</challenge>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9emc1V2VRNWhnOUtSWTJ4SzRjb2FFbEtydTlTdXRYbjJac0E4S1BSUCxwPXgwOVlzRXJscXNCRmRQZlZhWUIwbHFiNXRTOUdmZ1ZpeHhpNnhQdDlEV2c9</response>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1wdm5yNWEyM1ZUbFNRZktXWmR2d0FjRWdhWHNjU1hYa3lsSFc3NExvSHVJPQ==</success>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@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" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" ver="tayVLFeRarzqpIYlhM87XxlAcgo="/></features>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost >> <iq xmlns="jabber:client" id="OHPMDBpXh0fyAjEnPHydylR" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost << <iq xmlns="jabber:client" id="OHPMDBpXh0fyAjEnPHydylR" type="result" to="ws__61cjy00133@localhost/993927746-tigase-135"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__61cjy00133@localhost/993927746-tigase-135</jid></bind></iq>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="Swgm5Ct0u7gBhBmPMNLO7w6" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" id="Swgm5Ct0u7gBhBmPMNLO7w6" type="result" to="ws__61cjy00133@localhost/993927746-tigase-135"/>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 >> <iq to="localhost" id="roQRRKzdt6jKJDyBu2vaO4l" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 >> <iq id="qAoxyfw7jFu5iPPWn28HyAC" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 20:39:31 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-12-03 20:39:31 | [Mutex] waiting for: [websocket:message:to:4ec44197-2a39-49be-8f1b-a0d281a1921a]

2019-12-03 20:39:32 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 << <enabled xmlns="urn:xmpp:sm:3" max="60" id="0adbff8c-0ad5-48a4-a821-4e77d4c07c0d" resume="true" location="d4270859fb27"/>

2019-12-03 20:39:32 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" id="qAoxyfw7jFu5iPPWn28HyAC" type="result" to="ws__61cjy00133@localhost/993927746-tigase-135"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 20:39:32 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" id="roQRRKzdt6jKJDyBu2vaO4l" from="localhost" type="result" to="ws__61cjy00133@localhost/993927746-tigase-135"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" type="im"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/network/serverinfo</value></field><field var="abuse-addresses" type="text-multi"><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="vcard-temp"/><feature var="jabber:iq:auth"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><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 category="pubsub" type="pep"/><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-12-03 20:39:32 | non_ws_ :: ws__61cjy00133@localhost/993927746-tigase-134 << <presence xmlns="jabber:client" from="ws__61cjy00133@localhost/993927746-tigase-135" to="ws__61cjy00133@localhost"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-12-03 20:39:32 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 << <presence xmlns="jabber:client" from="ws__61cjy00133@localhost/993927746-tigase-134" to="ws__61cjy00133@localhost"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-12-03 20:39:32 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 << <presence xmlns="jabber:client" from="ws__61cjy00133@localhost/993927746-tigase-135" to="ws__61cjy00133@localhost"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-12-03 20:39:32 | ws_ :: ws__61cjy00133@localhost/993927746-tigase-135 << <message xmlns="jabber:client" from="ws__61cjy00133@localhost/993927746-tigase-134" to="ws__61cjy00133@localhost/993927746-tigase-135"><body>4ec44197-2a39-49be-8f1b-a0d281a1921a</body></message>

2019-12-03 20:39:32 | [Mutex] notify: [websocket:message:to:4ec44197-2a39-49be-8f1b-a0d281a1921a]

2019-12-03 20:39:32 | [Mutex] received everything.

2019-12-03 20:39:33 | [Mutex] isItemNotified: websocket:message:to:4ec44197-2a39-49be-8f1b-a0d281a1921a :: true