WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.804s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-10-13 19:31:39 |

2019-10-13 19:31:39 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-10-13 19:31:39 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.709s
2019-10-13 19:31:39 |

2019-10-13 19:31:39 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-10-13 19:31:39 | ------------------------------------

2019-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@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-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fZWJ5MnJyMDEwNCxyPU1NcXp0TlpSaWZGekZGSjMxclp0</auth>

2019-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1NTXF6dE5aUmlmRnpGRkozMXJadDVmbXdJYllpV2ZHbFpLOUVjaFJCLHM9RCswQVZPYlQvOG1FeFE9PSxpPTQwOTY=</challenge>

2019-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9TU1xenROWlJpZkZ6RkZKMzFyWnQ1Zm13SWJZaVdmR2xaSzlFY2hSQixwPTF3K3h0aFhsNHlsck1LejEvanEvLzFuWis5TzRyRTFGZnRKRUJFc1FhNUU9</response>

2019-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1leEliVDdpQjBkNlpHbE1aaFBEVE1YS09MMFdyek1raXB5SXZNcmprZ2NNPQ==</success>

2019-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@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="fD1ATDhYhT37hyTvdBFDDag+4EU=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps"/></features>

2019-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@localhost >> <iq xmlns="jabber:client" id="KaIdDx8vgxcRUV0jWUfzAiS" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@localhost << <iq to="ws__eby2rr0104@localhost/993927746-tigase-94" id="KaIdDx8vgxcRUV0jWUfzAiS" type="result" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__eby2rr0104@localhost/993927746-tigase-94</jid></bind></iq>

2019-10-13 19:31:39 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 >> <iq xmlns="jabber:client" id="L1gvhCtcpWlSRS3qSbrkMQ1" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 << <iq to="ws__eby2rr0104@localhost/993927746-tigase-94" id="L1gvhCtcpWlSRS3qSbrkMQ1" type="result" xmlns="jabber:client"/>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 >> <iq to="localhost" id="UeRBm1mKVViIILX1dr4jQZj" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 >> <iq id="D4lEtaDBDqQT3azoNITY3gP" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 << <enabled id="6c3e269d-68d9-4652-9ed5-8272dd5d082b" resume="true" location="d4270859fb27" max="60" xmlns="urn:xmpp:sm:3"/>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 << <iq xmlns="jabber:client" to="ws__eby2rr0104@localhost/993927746-tigase-94" id="UeRBm1mKVViIILX1dr4jQZj" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39"/><identity category="server" type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39"/><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 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="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-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 << <iq to="ws__eby2rr0104@localhost/993927746-tigase-94" id="D4lEtaDBDqQT3azoNITY3gP" type="result" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 << <presence xmlns="jabber:client" to="ws__eby2rr0104@localhost" from="ws__eby2rr0104@localhost/993927746-tigase-94"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 << <message xmlns="jabber:client" to="ws__eby2rr0104@localhost" from="localhost"><body>Wecome to f3dba082-8c2c-4f18-a1fe-655042a15cd7
This message was set at: Sun Oct 13 19:25:32 PDT 2019</body><delay xmlns="urn:xmpp:delay" stamp="2019-10-14T02:31:39.673Z" from="localhost">Offline Storage - d4270859fb27</delay></message>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@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-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fZWJ5MnJyMDEwNCxyPWJ4UTdsOThybW9RemkwSFNSTUl2</auth>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1ieFE3bDk4cm1vUXppMEhTUk1JdlhETkhPNGlybFY4QjdkMWtXanN5LHM9RCswQVZPYlQvOG1FeFE9PSxpPTQwOTY=</challenge>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9YnhRN2w5OHJtb1F6aTBIU1JNSXZYRE5ITzRpcmxWOEI3ZDFrV2pzeSxwPXJMRzU4bklqYkowWE0vVXB4MzB6aGdNOG83RlFFNzRZRjVibHVMS2FrdGc9</response>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1kS0s2THFrU2I3bUhXTWJXSGRaK2c3VUMyOHFIYUYxR0NDQmJOSEViQkNJPQ==</success>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@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="fD1ATDhYhT37hyTvdBFDDag+4EU=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps"/></features>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost >> <iq xmlns="jabber:client" id="CfQt8r6vl7oMLNExkFsnWZ8" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost << <iq to="ws__eby2rr0104@localhost/993927746-tigase-95" id="CfQt8r6vl7oMLNExkFsnWZ8" type="result" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__eby2rr0104@localhost/993927746-tigase-95</jid></bind></iq>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 >> <iq xmlns="jabber:client" id="EhULKNVhIq3nORYX2xgDq9C" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 << <iq to="ws__eby2rr0104@localhost/993927746-tigase-95" id="EhULKNVhIq3nORYX2xgDq9C" type="result" xmlns="jabber:client"/>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 >> <iq to="localhost" id="9hSKNVhIq3nORYX2xgDq9Cg" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 >> <iq id="qhQLQIRN2cGHPLHp0bAthZ8" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-10-13 19:31:40 | [Mutex] waiting for: [websocket:message:to:2ba2a026-7665-4189-b5c4-94858d52053e]

2019-10-13 19:31:40 | non_ws_ :: ws__eby2rr0104@localhost/993927746-tigase-94 << <presence xmlns="jabber:client" to="ws__eby2rr0104@localhost" from="ws__eby2rr0104@localhost/993927746-tigase-95"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 << <enabled id="f4d82153-aeec-4bfd-ba8b-f8c0e3a26512" resume="true" location="d4270859fb27" max="60" xmlns="urn:xmpp:sm:3"/>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 << <iq to="ws__eby2rr0104@localhost/993927746-tigase-95" id="qhQLQIRN2cGHPLHp0bAthZ8" type="result" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 << <iq xmlns="jabber:client" to="ws__eby2rr0104@localhost/993927746-tigase-95" id="9hSKNVhIq3nORYX2xgDq9Cg" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39"/><identity category="server" type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39"/><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 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="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-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 << <presence xmlns="jabber:client" to="ws__eby2rr0104@localhost" from="ws__eby2rr0104@localhost/993927746-tigase-94"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 << <presence xmlns="jabber:client" to="ws__eby2rr0104@localhost" from="ws__eby2rr0104@localhost/993927746-tigase-95"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-10-13 19:31:40 | ws_ :: ws__eby2rr0104@localhost/993927746-tigase-95 << <message xmlns="jabber:client" to="ws__eby2rr0104@localhost/993927746-tigase-95" from="ws__eby2rr0104@localhost/993927746-tigase-94"><body>2ba2a026-7665-4189-b5c4-94858d52053e</body></message>

2019-10-13 19:31:40 | [Mutex] notify: [websocket:message:to:2ba2a026-7665-4189-b5c4-94858d52053e]

2019-10-13 19:31:40 | [Mutex] received everything.

2019-10-13 19:31:41 | [Mutex] isItemNotified: websocket:message:to:2ba2a026-7665-4189-b5c4-94858d52053e :: true