WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.937s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-11-21 04:01:34 |

2019-11-21 04:01:34 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-21 04:01:34 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.696s
2019-11-21 04:01:35 |

2019-11-21 04:01:35 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-21 04:01:35 | ------------------------------------

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@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-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fbnczMnRuMDEzMyxyPXFleE1OV1NCUEtpcEc4VVZ4bE14</auth>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1xZXhNTldTQlBLaXBHOFVWeGxNeHVERGU3c1RBRmx6M3Jndm1tQm9BLHM9RVUza0dSOGpMSEhic0E9PSxpPTQwOTY=</challenge>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9cWV4TU5XU0JQS2lwRzhVVnhsTXh1RERlN3NUQUZsejNyZ3ZtbUJvQSxwPUQyazdkSFhxQTlOVmdUUTFEZ3A5Z2lsSTRSOVpmaTY1bUdaaGx0MmNEdEE9</response>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj04aWVoVk9xZ1QwWlkrZXY1d1dyeWI4aThuZGlyNXpTeEsvRWNwWkx6RUxrPQ==</success>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@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 node="https://tigase.net/tigase-xmpp-server" ver="2tp/q0iZDbq1z+CS1yFGZIkNy2A=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps"/></features>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost >> <iq xmlns="jabber:client" id="2BF8p9lTZYiXYW05gHvnKPY" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost << <iq xmlns="jabber:client" to="ws__nw32tn0133@localhost/993927746-tigase-134" type="result" id="2BF8p9lTZYiXYW05gHvnKPY"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__nw32tn0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="jCG3rcraFk19Ey8Dl3dztZb" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__nw32tn0133@localhost/993927746-tigase-134" type="result" id="jCG3rcraFk19Ey8Dl3dztZb"/>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="KoYIwdxrS5u1kZYjJOSMVVd" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 >> <iq id="DuemIMVUOKzeDn7eNUR0lGJ" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@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-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 << <enabled id="eab8f270-d748-4c10-8871-53b1bfdbd905" resume="true" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3"/>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__nw32tn0133@localhost/993927746-tigase-134" type="result" id="DuemIMVUOKzeDn7eNUR0lGJ"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 << <presence to="ws__nw32tn0133@localhost" from="ws__nw32tn0133@localhost/993927746-tigase-134" xmlns="jabber:client"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-11-21 04:01:35 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__nw32tn0133@localhost/993927746-tigase-134" from="localhost" type="result" id="KoYIwdxrS5u1kZYjJOSMVVd"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" type="im" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><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 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: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-21 04:01:35 | ws_ :: ws__nw32tn0133@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-11-21 04:01:35 | ws_ :: ws__nw32tn0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fbnczMnRuMDEzMyxyPXB2QUMwYXNnUkJCdWNlZk9zMDJU</auth>

2019-11-21 04:01:35 | ws_ :: ws__nw32tn0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1wdkFDMGFzZ1JCQnVjZWZPczAyVFF4dlp1NTQyckRUUVgxeHhyRjdQLHM9RVUza0dSOGpMSEhic0E9PSxpPTQwOTY=</challenge>

2019-11-21 04:01:35 | ws_ :: ws__nw32tn0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9cHZBQzBhc2dSQkJ1Y2VmT3MwMlRReHZadTU0MnJEVFFYMXh4ckY3UCxwPVhvYlI0cGFScnpWSVZibEVWYTdDWHJCRUpDWG45NlFseUR5Y2FrZkxtWXc9</response>

2019-11-21 04:01:35 | ws_ :: ws__nw32tn0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1CamV2WkgrOWk1M1MzbEF2RFNXWlovRHYra1RmdUlId1NnMGp6aGc0Uit3PQ==</success>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@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 node="https://tigase.net/tigase-xmpp-server" ver="2tp/q0iZDbq1z+CS1yFGZIkNy2A=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps"/></features>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost >> <iq xmlns="jabber:client" id="jFJ9DAdILwpVcEk17BjLRLJ" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost << <iq xmlns="jabber:client" to="ws__nw32tn0133@localhost/993927746-tigase-135" type="result" id="jFJ9DAdILwpVcEk17BjLRLJ"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__nw32tn0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="4s4anX7eOZ24gBiLDDgR27w" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__nw32tn0133@localhost/993927746-tigase-135" type="result" id="4s4anX7eOZ24gBiLDDgR27w"/>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="0HLiX1bHr5nKQ3akMDmTT9i" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 >> <iq id="8yihUbqQOHu9pbm3qT4tWfB" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@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-21 04:01:36 | [Mutex] waiting for: [websocket:message:to:881d4d96-d998-47ad-a4e0-2ff8efc765aa]

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 << <enabled id="6601a31c-ffea-4d88-9665-79b02e649542" resume="true" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3"/>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__nw32tn0133@localhost/993927746-tigase-135" from="localhost" type="result" id="0HLiX1bHr5nKQ3akMDmTT9i"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" type="im" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><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 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: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-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 << <message to="ws__nw32tn0133@localhost/993927746-tigase-135" from="ws__nw32tn0133@localhost/993927746-tigase-134" xmlns="jabber:client"><body>881d4d96-d998-47ad-a4e0-2ff8efc765aa</body></message>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__nw32tn0133@localhost/993927746-tigase-135" type="result" id="8yihUbqQOHu9pbm3qT4tWfB"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 04:01:36 | [Mutex] notify: [websocket:message:to:881d4d96-d998-47ad-a4e0-2ff8efc765aa]

2019-11-21 04:01:36 | [Mutex] received everything.

2019-11-21 04:01:36 | non_ws_ :: ws__nw32tn0133@localhost/993927746-tigase-134 << <presence to="ws__nw32tn0133@localhost" from="ws__nw32tn0133@localhost/993927746-tigase-135" xmlns="jabber:client"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 << <presence to="ws__nw32tn0133@localhost" from="ws__nw32tn0133@localhost/993927746-tigase-134" xmlns="jabber:client"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-11-21 04:01:36 | ws_ :: ws__nw32tn0133@localhost/993927746-tigase-135 << <presence to="ws__nw32tn0133@localhost" from="ws__nw32tn0133@localhost/993927746-tigase-135" xmlns="jabber:client"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-11-21 04:01:37 | [Mutex] isItemNotified: websocket:message:to:881d4d96-d998-47ad-a4e0-2ff8efc765aa :: true