WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.830s

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

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

2019-10-13 20:31:10 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.691s
2019-10-13 20:31:10 |

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

2019-10-13 20:31:10 | ------------------------------------

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

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1NVkhEZno3ZExHalRKeEVHZmlwMU1ZUER5YWtmRzNIaEVDQjhSbUNhLHM9cnEzMzh1ak9OVno1UEE9PSxpPTQwOTY=</challenge>

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9TVZIRGZ6N2RMR2pUSnhFR2ZpcDFNWVBEeWFrZkczSGhFQ0I4Um1DYSxwPVBmTWZoQlUzL0N5WERJUVYzVnJDV2t3SlF5aGsyT2JvT1RxMmcxL2lHRlE9</response>

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1QQmJrUVlVYjlYczhrVDR0YXJUdEF5Q1pITDhQRmdmQXFJQnBFd0JzVStBPQ==</success>

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@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" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@localhost >> <iq xmlns="jabber:client" id="rkcnSMEsi03eEITdEJELAEt" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

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

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

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@localhost/993927746-tigase-94 << <iq type="result" xmlns="jabber:client" id="z4pICELX8HADk8rmSfFnO6g" to="ws__we9uq40104@localhost/993927746-tigase-94"/>

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

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

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@localhost/993927746-tigase-94 >> <iq id="LePUYr39mcseDFEu6eygUev" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@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:31:11 | non_ws_ :: ws__we9uq40104@localhost/993927746-tigase-94 << <enabled location="d4270859fb27" xmlns="urn:xmpp:sm:3" id="db741e97-90d8-46cf-96e8-00ee36d1e5bd" resume="true" max="60"/>

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@localhost/993927746-tigase-94 << <iq type="result" xmlns="jabber:client" id="LePUYr39mcseDFEu6eygUev" to="ws__we9uq40104@localhost/993927746-tigase-94"><query xmlns="jabber:iq:roster"/></iq>

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

2019-10-13 20:31:11 | non_ws_ :: ws__we9uq40104@localhost/993927746-tigase-94 << <iq type="result" from="localhost" xmlns="jabber:client" id="VdONU08iGwqgzgIQ9JGNM16" to="ws__we9uq40104@localhost/993927746-tigase-94"><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 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="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 20:31:11 | non_ws_ :: ws__we9uq40104@localhost/993927746-tigase-94 << <message from="localhost" xmlns="jabber:client" to="ws__we9uq40104@localhost"><body>Wecome to e5994931-3008-46b7-b74c-644605d6b646
This message was set at: Sun Oct 13 20:24:57 PDT 2019</body><delay from="localhost" stamp="2019-10-14T03:31:10.888Z" xmlns="urn:xmpp:delay">Offline Storage - d4270859fb27</delay></message>

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

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj11eUc1RzRIZnZ3WGM0UXFVbnpWSjVJY3d5QTJsazFzbzQ1QXJ6M0hULHM9cnEzMzh1ak9OVno1UEE9PSxpPTQwOTY=</challenge>

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9dXlHNUc0SGZ2d1hjNFFxVW56Vko1SWN3eUEybGsxc280NUFyejNIVCxwPXNxc3ljMzdBbld3TFN6cTdnd3RpQi85VlpYY0c0MzlyY0NJOHJSbzZjZHc9</response>

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj0zT1ZqZm1VbmU2ZGZTUnlFdEZwVHRNd0plY1ZibFlQcEI4Q20yNllhUXdzPQ==</success>

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@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" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost >> <iq xmlns="jabber:client" id="YgTGoSUcOFs6CHPSbyzcSVk" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

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

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

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost/993927746-tigase-95 << <iq type="result" xmlns="jabber:client" id="bhU3aON4i5lJww6wdPY8oOI" to="ws__we9uq40104@localhost/993927746-tigase-95"/>

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

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

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost/993927746-tigase-95 >> <iq id="0hQQ6fCqgZp2vcRM2fY6Hzb" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@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:31:11 | [Mutex] waiting for: [websocket:message:to:719b8d6b-0ac6-4510-aa6c-5a7258102d0c]

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost/993927746-tigase-95 << <enabled location="d4270859fb27" xmlns="urn:xmpp:sm:3" id="0e8680e6-fdc7-43f7-afde-33c72f398fd3" resume="true" max="60"/>

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost/993927746-tigase-95 << <iq type="result" xmlns="jabber:client" id="0hQQ6fCqgZp2vcRM2fY6Hzb" to="ws__we9uq40104@localhost/993927746-tigase-95"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost/993927746-tigase-95 << <iq type="result" from="localhost" xmlns="jabber:client" id="mANqavp8s26iKSanSWi3xi1" to="ws__we9uq40104@localhost/993927746-tigase-95"><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 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="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 20:31:11 | ws_ :: ws__we9uq40104@localhost/993927746-tigase-95 << <presence from="ws__we9uq40104@localhost/993927746-tigase-94" xmlns="jabber:client" to="ws__we9uq40104@localhost"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://tigase.org/jaxmpp"/></presence>

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

2019-10-13 20:31:11 | ws_ :: ws__we9uq40104@localhost/993927746-tigase-95 << <message from="ws__we9uq40104@localhost/993927746-tigase-94" xmlns="jabber:client" to="ws__we9uq40104@localhost/993927746-tigase-95"><body>719b8d6b-0ac6-4510-aa6c-5a7258102d0c</body></message>

2019-10-13 20:31:11 | [Mutex] notify: [websocket:message:to:719b8d6b-0ac6-4510-aa6c-5a7258102d0c]

2019-10-13 20:31:11 | [Mutex] received everything.

2019-10-13 20:31:12 | [Mutex] isItemNotified: websocket:message:to:719b8d6b-0ac6-4510-aa6c-5a7258102d0c :: true