WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.824s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-12-03 19:08:52 |

2019-12-03 19:08:52 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-12-03 19:08:52 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.725s
2019-12-03 19:08:53 |

2019-12-03 19:08:53 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-12-03 19:08:53 | ------------------------------------

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@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-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fanE5b2J4MDEzMyxyPTg5MXFDUEZlYU1wQ1VsNkRic3BU</auth>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj04OTFxQ1BGZWFNcENVbDZEYnNwVHk2Qnd4Yk1Eejk2TnVWQ0tTMDg2LHM9UGJEN2syeHZQTGwrVWc9PSxpPTQwOTY=</challenge>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9ODkxcUNQRmVhTXBDVWw2RGJzcFR5NkJ3eGJNRHo5Nk51VkNLUzA4NixwPTRuZWM5RnRGRE90Z1Y5bjVJTVZhenZ5L1YyV1hLL1R2QkNlb1RNZ0hCZmM9</response>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1ERHpsSlNqK3NRN0t5amt0Z3cxdFR3YlFxZkxiOFhnZFdWcm92Y3RZRldjPQ==</success>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@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 xmlns="http://jabber.org/protocol/caps" ver="tayVLFeRarzqpIYlhM87XxlAcgo=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost >> <iq xmlns="jabber:client" id="lse9xrTWiHBeBm2eT5xiFmc" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost << <iq type="result" id="lse9xrTWiHBeBm2eT5xiFmc" to="ws__jq9obx0133@localhost/993927746-tigase-134" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__jq9obx0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="uhFauiKV9FybogJwx5iRLHv" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 << <iq type="result" id="uhFauiKV9FybogJwx5iRLHv" to="ws__jq9obx0133@localhost/993927746-tigase-134" xmlns="jabber:client"/>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="8iGxhCJt4pRTTfwgwhVRSar" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 >> <iq id="ujHeCygXdNOHqkRM37mZ1dx" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 << <enabled id="56139d8e-bd42-4869-b225-bf8033b728d9" max="60" resume="true" xmlns="urn:xmpp:sm:3" location="d4270859fb27"/>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 << <iq type="result" id="8iGxhCJt4pRTTfwgwhVRSar" from="localhost" to="ws__jq9obx0133@localhost/993927746-tigase-134" xmlns="jabber:client"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" category="server"/><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="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 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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 << <iq type="result" id="ujHeCygXdNOHqkRM37mZ1dx" to="ws__jq9obx0133@localhost/993927746-tigase-134" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 19:08:53 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 << <presence from="ws__jq9obx0133@localhost/993927746-tigase-134" to="ws__jq9obx0133@localhost" xmlns="jabber:client"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://tigase.org/jaxmpp"/></presence>

2019-12-03 19:08:53 | ws_ :: ws__jq9obx0133@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-12-03 19:08:53 | ws_ :: ws__jq9obx0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fanE5b2J4MDEzMyxyPUFGczRQZU16alRqbTJCZXBBSFZU</auth>

2019-12-03 19:08:53 | ws_ :: ws__jq9obx0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1BRnM0UGVNempUam0yQmVwQUhWVG1QN1l3NlR5RnRFc3ZRU1o5SGl4LHM9UGJEN2syeHZQTGwrVWc9PSxpPTQwOTY=</challenge>

2019-12-03 19:08:53 | ws_ :: ws__jq9obx0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9QUZzNFBlTXpqVGptMkJlcEFIVlRtUDdZdzZUeUZ0RXN2UVNaOUhpeCxwPWgwK1Vha1o5NDA1T3VkcEVxTmp3cEd2ZFlnV2I4R3prZm5HQ2ZDeTQ2bXM9</response>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj13MU43WkRacGJGWldKdVYyR3FYTm9pN2J0VDM2MkNwbXF2WXNPcnJoZWZRPQ==</success>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@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 xmlns="http://jabber.org/protocol/caps" ver="tayVLFeRarzqpIYlhM87XxlAcgo=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost >> <iq xmlns="jabber:client" id="kkIlGBz9skLJu7o6m9BzmNC" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost << <iq type="result" id="kkIlGBz9skLJu7o6m9BzmNC" to="ws__jq9obx0133@localhost/993927746-tigase-135" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__jq9obx0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="6xjoO6pSfv8x7pVjEw2jZZ8" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 << <iq type="result" id="6xjoO6pSfv8x7pVjEw2jZZ8" to="ws__jq9obx0133@localhost/993927746-tigase-135" xmlns="jabber:client"/>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="Gxhj7fCv3hFNCsU3tX4ydDi" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 >> <iq id="wv9jMZhV4dsoZ2z9q7hJzBe" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-12-03 19:08:54 | [Mutex] waiting for: [websocket:message:to:06e4b14b-a090-4ddc-a21a-586f8a4efba3]

2019-12-03 19:08:54 | non_ws_ :: ws__jq9obx0133@localhost/993927746-tigase-134 << <presence from="ws__jq9obx0133@localhost/993927746-tigase-135" to="ws__jq9obx0133@localhost" xmlns="jabber:client"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://tigase.org/jaxmpp"/></presence>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 << <enabled id="4d7ca716-f493-4c83-b5ac-f60212e6eab1" max="60" resume="true" xmlns="urn:xmpp:sm:3" location="d4270859fb27"/>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 << <iq type="result" id="wv9jMZhV4dsoZ2z9q7hJzBe" to="ws__jq9obx0133@localhost/993927746-tigase-135" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 << <iq type="result" id="Gxhj7fCv3hFNCsU3tX4ydDi" from="localhost" to="ws__jq9obx0133@localhost/993927746-tigase-135" xmlns="jabber:client"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" category="server"/><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="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 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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 << <presence from="ws__jq9obx0133@localhost/993927746-tigase-134" to="ws__jq9obx0133@localhost" xmlns="jabber:client"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://tigase.org/jaxmpp"/></presence>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 << <presence from="ws__jq9obx0133@localhost/993927746-tigase-135" to="ws__jq9obx0133@localhost" xmlns="jabber:client"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://tigase.org/jaxmpp"/></presence>

2019-12-03 19:08:54 | ws_ :: ws__jq9obx0133@localhost/993927746-tigase-135 << <message from="ws__jq9obx0133@localhost/993927746-tigase-134" to="ws__jq9obx0133@localhost/993927746-tigase-135" xmlns="jabber:client"><body>06e4b14b-a090-4ddc-a21a-586f8a4efba3</body></message>

2019-12-03 19:08:54 | [Mutex] notify: [websocket:message:to:06e4b14b-a090-4ddc-a21a-586f8a4efba3]

2019-12-03 19:08:54 | [Mutex] received everything.

2019-12-03 19:08:55 | [Mutex] isItemNotified: websocket:message:to:06e4b14b-a090-4ddc-a21a-586f8a4efba3 :: true