WebSocket: Test WebSocket connectivity - #3305

Test duration: 3.071s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-10-13 20:11:04 |

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

2019-10-13 20:11:04 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.713s
2019-10-13 20:11:05 |

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

2019-10-13 20:11:05 | ------------------------------------

2019-10-13 20:11:05 | non_ws_ :: ws__ieu8520104@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19faWV1ODUyMDEwNCxyPWw5NHQzeWFOa2NiSThyTlpOSWNo</auth>

2019-10-13 20:11:05 | non_ws_ :: ws__ieu8520104@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:11:05 | non_ws_ :: ws__ieu8520104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1sOTR0M3lhTmtjYkk4ck5aTkljaHV2THhRb2lCQzN6OXphSnVTRE5wLHM9SkI2b095bTBvMEtTYkE9PSxpPTQwOTY=</challenge>

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

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

2019-10-13 20:11:05 | non_ws_ :: ws__ieu8520104@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=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps"/></features>

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

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

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

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

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

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

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

2019-10-13 20:11:06 | non_ws_ :: ws__ieu8520104@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:11:06 | non_ws_ :: ws__ieu8520104@localhost/993927746-tigase-94 << <enabled id="02002f0b-64c4-4be6-bc19-fe83afc94627" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" resume="true"/>

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

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

2019-10-13 20:11:06 | non_ws_ :: ws__ieu8520104@localhost/993927746-tigase-94 << <message from="localhost" to="ws__ieu8520104@localhost" xmlns="jabber:client"><body>Wecome to b7b8c55c-f7d5-4be8-b8cd-c3020f363d56
This message was set at: Sun Oct 13 20:04:55 PDT 2019</body><delay stamp="2019-10-14T03:11:05.742Z" from="localhost" xmlns="urn:xmpp:delay">Offline Storage - d4270859fb27</delay></message>

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

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

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

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

2019-10-13 20:11:06 | ws_ :: ws__ieu8520104@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=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps"/></features>

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

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

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

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

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

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

2019-10-13 20:11:06 | ws_ :: ws__ieu8520104@localhost/993927746-tigase-95 >> <iq id="uBOvv8peIqTY7Bo7zsaFAkM" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 20:11:06 | ws_ :: ws__ieu8520104@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:11:06 | [Mutex] waiting for: [websocket:message:to:79abce83-444d-440f-b65f-928693c5f2a8]

2019-10-13 20:11:06 | ws_ :: ws__ieu8520104@localhost/993927746-tigase-95 << <enabled id="a1ee7d12-6cdc-4f38-be89-1b0bcb55cb25" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" resume="true"/>

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

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

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

2019-10-13 20:11:06 | ws_ :: ws__ieu8520104@localhost/993927746-tigase-95 << <message from="ws__ieu8520104@localhost/993927746-tigase-94" to="ws__ieu8520104@localhost/993927746-tigase-95" xmlns="jabber:client"><body>79abce83-444d-440f-b65f-928693c5f2a8</body></message>

2019-10-13 20:11:06 | [Mutex] notify: [websocket:message:to:79abce83-444d-440f-b65f-928693c5f2a8]

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

2019-10-13 20:11:07 | [Mutex] isItemNotified: websocket:message:to:79abce83-444d-440f-b65f-928693c5f2a8 :: true