WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.831s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.404s
2019-11-24 20:10:37 |

2019-11-24 20:10:37 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-24 20:10:37 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.698s
2019-11-24 20:10:37 |

2019-11-24 20:10:37 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-24 20:10:37 | ------------------------------------

2019-11-24 20:10:37 | non_ws_ :: ws__6t66sb0133@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-24 20:10:37 | non_ws_ :: ws__6t66sb0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNnQ2NnNiMDEzMyxyPVp1ZUs5eVQ5c1NpWERkVkNmRFdj</auth>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1adWVLOXlUOXNTaVhEZFZDZkRXYzNTTGFabUFIZVp2TXVFV3VUQ1FaLHM9Skd3am52R1B1RkR2N0E9PSxpPTQwOTY=</challenge>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9WnVlSzl5VDlzU2lYRGRWQ2ZEV2MzU0xhWm1BSGVadk11RVd1VENRWixwPWYrbjBtRCs4QjQzZGszQmc4c1gxTlVBWVAxSkVMQ21XbU9OeWFSYkliWXc9</response>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1TZXYrTEp6OHBYOWI4b0tWcjREZjVsK1JCeVViRmhOemhTUmVRSHQ1QkpzPQ==</success>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@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="7etRvi08c1DSCAgh81QLOpuANqY=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps"/></features>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost >> <iq xmlns="jabber:client" id="9thsn5yujJBui4bDnVfO16d" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost << <iq xmlns="jabber:client" to="ws__6t66sb0133@localhost/993927746-tigase-134" type="result" id="9thsn5yujJBui4bDnVfO16d"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__6t66sb0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="IAAfS5hHGGQJJzj1m7iBFkU" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__6t66sb0133@localhost/993927746-tigase-134" type="result" id="IAAfS5hHGGQJJzj1m7iBFkU"/>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="fBB09AusXbt7DAzcphymJCf" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 >> <iq id="JFLBxbviUiDxbxtgVUP7eIr" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@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-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 << <enabled id="837dd9ca-ddde-4c29-8cb2-998412741931" resume="true" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3"/>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__6t66sb0133@localhost/993927746-tigase-134" type="result" from="localhost" id="fBB09AusXbt7DAzcphymJCf"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/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="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="vcard-temp"/><feature var="jabber:iq:auth"/><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-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__6t66sb0133@localhost/993927746-tigase-134" type="result" id="JFLBxbviUiDxbxtgVUP7eIr"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 << <presence to="ws__6t66sb0133@localhost" from="ws__6t66sb0133@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-24 20:10:38 | ws_ :: ws__6t66sb0133@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-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNnQ2NnNiMDEzMyxyPXNLeXB3eXl2TGVSdzJZeTB1TzY0</auth>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1zS3lwd3l5dkxlUncyWXkwdU82NHdGVFpEWlFUUjVucURkWXJEYVNiLHM9Skd3am52R1B1RkR2N0E9PSxpPTQwOTY=</challenge>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9c0t5cHd5eXZMZVJ3Mll5MHVPNjR3RlRaRFpRVFI1bnFEZFlyRGFTYixwPWp2SmlWc29DTFhYMHQyaGtsdG1rc1B6dEJ6ZkxxWmpUUUhWc3NpakhSbFk9</response>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj03cVlOdlNpcm9LeW5LQ25VYU9Yb2NlblVZOTFUY0JIcTBsZVVhN1dFcGwwPQ==</success>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@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="7etRvi08c1DSCAgh81QLOpuANqY=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps"/></features>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost >> <iq xmlns="jabber:client" id="pHPFJw3z8w3gxr1gX0fHR3u" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost << <iq xmlns="jabber:client" to="ws__6t66sb0133@localhost/993927746-tigase-135" type="result" id="pHPFJw3z8w3gxr1gX0fHR3u"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__6t66sb0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="7KWFzl9DEGHv9AusXbt7DAz" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__6t66sb0133@localhost/993927746-tigase-135" type="result" id="7KWFzl9DEGHv9AusXbt7DAz"/>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="OCw3AdHvbLQ5etpOSLGn7nY" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 >> <iq id="5u67Fq5ndLUcJzhQ0u1jJDF" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@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-24 20:10:38 | [Mutex] waiting for: [websocket:message:to:9cb2bf4d-5040-41ee-a07a-22243aeea360]

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 << <enabled id="9ac22b8d-f5b5-4b09-be46-1342b8c182c1" resume="true" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3"/>

2019-11-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__6t66sb0133@localhost/993927746-tigase-135" type="result" id="5u67Fq5ndLUcJzhQ0u1jJDF"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 20:10:38 | non_ws_ :: ws__6t66sb0133@localhost/993927746-tigase-134 << <presence to="ws__6t66sb0133@localhost" from="ws__6t66sb0133@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-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 << <presence to="ws__6t66sb0133@localhost" from="ws__6t66sb0133@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-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 << <presence to="ws__6t66sb0133@localhost" from="ws__6t66sb0133@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-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__6t66sb0133@localhost/993927746-tigase-135" type="result" from="localhost" id="OCw3AdHvbLQ5etpOSLGn7nY"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/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="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="vcard-temp"/><feature var="jabber:iq:auth"/><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-24 20:10:38 | ws_ :: ws__6t66sb0133@localhost/993927746-tigase-135 << <message to="ws__6t66sb0133@localhost/993927746-tigase-135" from="ws__6t66sb0133@localhost/993927746-tigase-134" xmlns="jabber:client"><body>9cb2bf4d-5040-41ee-a07a-22243aeea360</body></message>

2019-11-24 20:10:38 | [Mutex] notify: [websocket:message:to:9cb2bf4d-5040-41ee-a07a-22243aeea360]

2019-11-24 20:10:38 | [Mutex] received everything.

2019-11-24 20:10:39 | [Mutex] isItemNotified: websocket:message:to:9cb2bf4d-5040-41ee-a07a-22243aeea360 :: true