WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.945s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-27 20:30:22 |

2019-11-27 20:30:22 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-27 20:30:22 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.724s
2019-11-27 20:30:23 |

2019-11-27 20:30:23 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-27 20:30:23 | ------------------------------------

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@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-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNGI3YXVtMDEzMyxyPTlaeHAydWNRZGdzZnZUNEFLRDE1</auth>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj05WnhwMnVjUWRnc2Z2VDRBS0QxNVJVOTlSdHBXSTIwQm5vbVprOEJaLHM9cFhRZmx0T25sYkFjZGc9PSxpPTQwOTY=</challenge>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9OVp4cDJ1Y1FkZ3NmdlQ0QUtEMTVSVTk5UnRwV0kyMEJub21aazhCWixwPW9kQ1piWEk3TTlwM1hIZ3VsK0NBeGxEcS9FV2RXelNEb21QRGN0b3NuYUU9</response>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1YbDVTQnl2WkxUd1VSV2lUbWlwYTBjeTBIdHQwVlh1YSs3WTAzYTdXb044PQ==</success>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@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" hash="SHA-1" xmlns="http://jabber.org/protocol/caps" ver="TbICgu8ra7zV0VOWQA2Ec+/yqKw="/></features>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost >> <iq xmlns="jabber:client" id="Xeygx9rnS8phEo3zDtoVhCI" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost << <iq type="result" id="Xeygx9rnS8phEo3zDtoVhCI" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-134"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__4b7aum0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="LJ1ev7Bo7IHNCgwv17nfCCn" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 << <iq type="result" id="LJ1ev7Bo7IHNCgwv17nfCCn" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-134"/>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="5mSxl9NN2dRM2zbtjOXo3v2" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 >> <iq id="gM6WZlS5Ezx6esnLBlbumRb" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 << <enabled resume="true" id="e3a1cf3c-2cbc-4bb3-8fe0-cb0a465a0b19" xmlns="urn:xmpp:sm:3" max="60" location="d4270859fb27"/>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 << <iq from="localhost" type="result" id="5mSxl9NN2dRM2zbtjOXo3v2" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-134"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/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="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="vcard-temp"/><feature var="jabber:iq:auth"/><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-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 << <iq type="result" id="gM6WZlS5Ezx6esnLBlbumRb" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-134"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 << <presence from="ws__4b7aum0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__4b7aum0133@localhost"><c node="http://tigase.org/jaxmpp" hash="sha-1" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@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-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNGI3YXVtMDEzMyxyPW9zSnB2Y0VKYTBUeVdaaFZVZkQ4</auth>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1vc0pwdmNFSmEwVHlXWmhWVWZEOFNiU1hRb251WWI5bGZ0Z1FxQVBILHM9cFhRZmx0T25sYkFjZGc9PSxpPTQwOTY=</challenge>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9b3NKcHZjRUphMFR5V1poVlVmRDhTYlNYUW9udVliOWxmdGdRcUFQSCxwPW1yclAzSkNXLzJmWkpJNEtYUEdBaTV4bmlsZDF4WXdBemIwMjlKYjdEZUE9</response>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1jSGNrN0pJNVU4Zk00c1FGZ20rTHo2eFE5RWg5ZUNzV1p0djhXMGpjOTBBPQ==</success>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@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" hash="SHA-1" xmlns="http://jabber.org/protocol/caps" ver="TbICgu8ra7zV0VOWQA2Ec+/yqKw="/></features>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost >> <iq xmlns="jabber:client" id="FN78IzzcSfxbJEDKLVSMyz9" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost << <iq type="result" id="FN78IzzcSfxbJEDKLVSMyz9" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-135"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__4b7aum0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="enPP9lNX6xyn9kGmbnPN5iY" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 << <iq type="result" id="enPP9lNX6xyn9kGmbnPN5iY" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-135"/>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="qmKbPFpXpWgFNGsbP9vs3x8" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 >> <iq id="Qxfwwj14ak7fzh3eQP7kKLZ" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-27 20:30:23 | [Mutex] waiting for: [websocket:message:to:85939e61-16f9-4d29-81f8-35693ea73bf0]

2019-11-27 20:30:23 | non_ws_ :: ws__4b7aum0133@localhost/993927746-tigase-134 << <presence from="ws__4b7aum0133@localhost/993927746-tigase-135" xmlns="jabber:client" to="ws__4b7aum0133@localhost"><c node="http://tigase.org/jaxmpp" hash="sha-1" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 << <enabled resume="true" id="c7306a99-a03a-4de1-9aca-bf74c5c69c26" xmlns="urn:xmpp:sm:3" max="60" location="d4270859fb27"/>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 << <iq type="result" id="Qxfwwj14ak7fzh3eQP7kKLZ" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-135"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 << <presence from="ws__4b7aum0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__4b7aum0133@localhost"><c node="http://tigase.org/jaxmpp" hash="sha-1" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 << <presence from="ws__4b7aum0133@localhost/993927746-tigase-135" xmlns="jabber:client" to="ws__4b7aum0133@localhost"><c node="http://tigase.org/jaxmpp" hash="sha-1" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 << <iq from="localhost" type="result" id="qmKbPFpXpWgFNGsbP9vs3x8" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-135"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/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="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="vcard-temp"/><feature var="jabber:iq:auth"/><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-11-27 20:30:23 | ws_ :: ws__4b7aum0133@localhost/993927746-tigase-135 << <message from="ws__4b7aum0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__4b7aum0133@localhost/993927746-tigase-135"><body>85939e61-16f9-4d29-81f8-35693ea73bf0</body></message>

2019-11-27 20:30:23 | [Mutex] notify: [websocket:message:to:85939e61-16f9-4d29-81f8-35693ea73bf0]

2019-11-27 20:30:23 | [Mutex] received everything.

2019-11-27 20:30:24 | [Mutex] isItemNotified: websocket:message:to:85939e61-16f9-4d29-81f8-35693ea73bf0 :: true