WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.870s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-10-13 20:50:57 |

2019-10-13 20:50:57 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-10-13 20:50:57 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.729s
2019-10-13 20:50:57 |

2019-10-13 20:50:57 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-10-13 20:50:57 | ------------------------------------

2019-10-13 20:50:57 | non_ws_ :: ws__ydx3vn0104@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 20:50:57 | non_ws_ :: ws__ydx3vn0104@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19feWR4M3ZuMDEwNCxyPWRHZW54QjM4RnZwRnhVMVQ0a1Ix</auth>

2019-10-13 20:50:57 | non_ws_ :: ws__ydx3vn0104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1kR2VueEIzOEZ2cEZ4VTFUNGtSMU5wRUNsdmlKNEFmbG1TSVU3WjkxLHM9N295YjlwVzZURGRWckE9PSxpPTQwOTY=</challenge>

2019-10-13 20:50:57 | non_ws_ :: ws__ydx3vn0104@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9ZEdlbnhCMzhGdnBGeFUxVDRrUjFOcEVDbHZpSjRBZmxtU0lVN1o5MSxwPTZvNXovcXF5Um5aekwyWWhmZUZKMlVmZ2pzR1lyOFRvakprcUpGTGx3K3M9</response>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1uTUZmVmdJb3JMZTVBL2pzcWxmazlrcWNQQUN6UXdCMEE3dDVUMG5PR2lZPQ==</success>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@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 ver="fD1ATDhYhT37hyTvdBFDDag+4EU=" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server" hash="SHA-1"/></features>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost >> <iq xmlns="jabber:client" id="vtDxds1r1m01ncRR5kR6ses" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost << <iq to="ws__ydx3vn0104@localhost/993927746-tigase-94" xmlns="jabber:client" type="result" id="vtDxds1r1m01ncRR5kR6ses"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__ydx3vn0104@localhost/993927746-tigase-94</jid></bind></iq>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 >> <iq xmlns="jabber:client" id="y3mBBl0iBxwv9FubKKOCj3i" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 << <iq to="ws__ydx3vn0104@localhost/993927746-tigase-94" xmlns="jabber:client" type="result" id="y3mBBl0iBxwv9FubKKOCj3i"/>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 >> <iq to="localhost" id="SeRLQSbvhOQ9MHqXjLQYXfW" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 >> <iq id="xcJgDFtgODBELFHyj0gQGrj" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@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 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 << <enabled resume="true" max="60" xmlns="urn:xmpp:sm:3" location="d4270859fb27" id="fe157d5a-dc3c-4247-99fc-51014a28cf19"/>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 << <iq to="ws__ydx3vn0104@localhost/993927746-tigase-94" xmlns="jabber:client" type="result" id="xcJgDFtgODBELFHyj0gQGrj"><query xmlns="jabber:iq:roster"/></iq>

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

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 << <iq to="ws__ydx3vn0104@localhost/993927746-tigase-94" xmlns="jabber:client" type="result" from="localhost" id="SeRLQSbvhOQ9MHqXjLQYXfW"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/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="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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-10-13 20:50:58 | non_ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-94 << <message to="ws__ydx3vn0104@localhost" xmlns="jabber:client" from="localhost"><body>Wecome to ddda36aa-c44c-4540-a526-2921772ec60c
This message was set at: Sun Oct 13 20:44:43 PDT 2019</body><delay xmlns="urn:xmpp:delay" from="localhost" stamp="2019-10-14T03:50:57.784Z">Offline Storage - d4270859fb27</delay></message>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@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 20:50:58 | ws_ :: ws__ydx3vn0104@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19feWR4M3ZuMDEwNCxyPXF2Z1pJUTJIdldZaHVYMUxTUnVH</auth>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1xdmdaSVEySHZXWWh1WDFMU1J1R0tzSHRZTURERktlaWU1aWhKdEhzLHM9N295YjlwVzZURGRWckE9PSxpPTQwOTY=</challenge>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9cXZnWklRMkh2V1lodVgxTFNSdUdLc0h0WU1EREZLZWllNWloSnRIcyxwPWNYKzZ6WFdPZjhncFpvWVZLb2YxVVJRdmlVVUw4VkE1NVZ4aEM3OGdOSVE9</response>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1vMHJDSlVxUXE5TWY3NTNXa0QrL3NpcWpOVHNFRk9Na1phd0g1SGNYSU1BPQ==</success>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@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 ver="fD1ATDhYhT37hyTvdBFDDag+4EU=" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server" hash="SHA-1"/></features>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost >> <iq xmlns="jabber:client" id="drqMLU4sUTdCvkQ7n1iO5Er" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost << <iq to="ws__ydx3vn0104@localhost/993927746-tigase-95" xmlns="jabber:client" type="result" id="drqMLU4sUTdCvkQ7n1iO5Er"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__ydx3vn0104@localhost/993927746-tigase-95</jid></bind></iq>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 >> <iq xmlns="jabber:client" id="xeLkLVZiSLRaNJPOP2kYWXl" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 << <iq to="ws__ydx3vn0104@localhost/993927746-tigase-95" xmlns="jabber:client" type="result" id="xeLkLVZiSLRaNJPOP2kYWXl"/>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 >> <iq to="localhost" id="kbAnW9CqhHFAofY5cvpXeKv" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 >> <iq id="qyFfLMM1wboTbvkWT7GPNX4" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@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 20:50:58 | [Mutex] waiting for: [websocket:message:to:c82030f3-b515-4313-9c68-a0a6daebdccc]

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 << <enabled resume="true" max="60" xmlns="urn:xmpp:sm:3" location="d4270859fb27" id="fa6d94f4-3519-4542-8ab7-daa18522dc38"/>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 << <iq to="ws__ydx3vn0104@localhost/993927746-tigase-95" xmlns="jabber:client" type="result" id="qyFfLMM1wboTbvkWT7GPNX4"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 << <iq to="ws__ydx3vn0104@localhost/993927746-tigase-95" xmlns="jabber:client" type="result" from="localhost" id="kbAnW9CqhHFAofY5cvpXeKv"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/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="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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-10-13 20:50:58 | ws_ :: ws__ydx3vn0104@localhost/993927746-tigase-95 << <message to="ws__ydx3vn0104@localhost/993927746-tigase-95" xmlns="jabber:client" from="ws__ydx3vn0104@localhost/993927746-tigase-94"><body>c82030f3-b515-4313-9c68-a0a6daebdccc</body></message>

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

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

2019-10-13 20:50:58 | [Mutex] notify: [websocket:message:to:c82030f3-b515-4313-9c68-a0a6daebdccc]

2019-10-13 20:50:58 | [Mutex] received everything.

2019-10-13 20:50:59 | [Mutex] isItemNotified: websocket:message:to:c82030f3-b515-4313-9c68-a0a6daebdccc :: true