WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.846s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-25 21:13:43 |

2019-11-25 21:13:43 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-25 21:13:43 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.734s
2019-11-25 21:13:44 |

2019-11-25 21:13:44 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-25 21:13:44 | ------------------------------------

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@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-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fM3V0NXl0MDEzMyxyPWh3VGZIOFdpZWFoa3VhN0Ftck5s</auth>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1od1RmSDhXaWVhaGt1YTdBbXJObG5SQnk2VXJXZENVZkxuRzhZYzI4LHM9UVNuajI5cHRGOUlhNUE9PSxpPTQwOTY=</challenge>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9aHdUZkg4V2llYWhrdWE3QW1yTmxuUkJ5NlVyV2RDVWZMbkc4WWMyOCxwPW5rMnpyTGJYdjBOeUZGNFlVWDRTUnQ1WFdPYlpkbVN5bXJZWk1UbGlLZFE9</response>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1BeWx5WkpHM2hHcXhmb05vbldreUYwR0hodGkrOWo4UnRNb2JYNVlhckJzPQ==</success>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@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 hash="SHA-1" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" ver="bt2mj6vq9J3s6VE0/7D8Mo0TIoU="/></features>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost >> <iq xmlns="jabber:client" id="dfJiLwsg1o0vn3fLT6DFk6f" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost << <iq to="ws__3ut5yt0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result" id="dfJiLwsg1o0vn3fLT6DFk6f"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__3ut5yt0133@localhost/993927746-tigase-133</jid></bind></iq>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 >> <iq xmlns="jabber:client" id="bkWHt5lGMUjYaP1lPVdKVfu" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 << <iq to="ws__3ut5yt0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result" id="bkWHt5lGMUjYaP1lPVdKVfu"/>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 >> <iq to="localhost" id="8AGpat4dzjCEENW6HLPNR5u" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 >> <iq id="4iMreUcKQPMDpZYm4DCspbF" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 << <enabled resume="true" max="60" xmlns="urn:xmpp:sm:3" location="d4270859fb27" id="5be0e93e-d856-4997-b50f-dc17657f6346"/>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 << <iq to="ws__3ut5yt0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result" id="4iMreUcKQPMDpZYm4DCspbF"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 << <iq to="ws__3ut5yt0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result" id="8AGpat4dzjCEENW6HLPNR5u" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" category="server"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><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-25 21:13:44 | non_ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-133 << <presence to="ws__3ut5yt0133@localhost" xmlns="jabber:client" from="ws__3ut5yt0133@localhost/993927746-tigase-133"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@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-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fM3V0NXl0MDEzMyxyPUx2aWJtRWd6eFR1WmdXdzFuTm45</auth>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1MdmlibUVnenhUdVpnV3cxbk5uOWVmeTVyRWNEQWJoRUQ3VjRITTJCLHM9UVNuajI5cHRGOUlhNUE9PSxpPTQwOTY=</challenge>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9THZpYm1FZ3p4VHVaZ1d3MW5ObjllZnk1ckVjREFiaEVEN1Y0SE0yQixwPSt4aXd0cWVMbFhiQThSdXRIYUFVeUdzMHpNbTNqdldxd2w4MTJucklkY2s9</response>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj11VFBsUU4rSnJKS1BUZDQ1aDA5NmM1WGtoSmVPaE1ScUNFR3RwN1dqTFNRPQ==</success>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@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 hash="SHA-1" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" ver="bt2mj6vq9J3s6VE0/7D8Mo0TIoU="/></features>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost >> <iq xmlns="jabber:client" id="uDLdSNWXZaGO0m4hGr1dqgS" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost << <iq to="ws__3ut5yt0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" id="uDLdSNWXZaGO0m4hGr1dqgS"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__3ut5yt0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="8DJvmRQLFv0qcT8utjVZfR2" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 << <iq to="ws__3ut5yt0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" id="8DJvmRQLFv0qcT8utjVZfR2"/>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="tHTSKWVct1eO4wo8pWX3hyw" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 >> <iq id="4mQzuqeOY5iFt7eS6HKIVdJ" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@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-25 21:13:44 | [Mutex] waiting for: [websocket:message:to:1689550c-fd35-4fad-a431-50a44efd7155]

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 << <enabled resume="true" max="60" xmlns="urn:xmpp:sm:3" location="d4270859fb27" id="a0d41bd4-7a84-467a-a48f-fb51e79d79a9"/>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 << <iq to="ws__3ut5yt0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" id="4mQzuqeOY5iFt7eS6HKIVdJ"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 << <iq to="ws__3ut5yt0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" id="tHTSKWVct1eO4wo8pWX3hyw" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" category="server"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><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-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 << <presence to="ws__3ut5yt0133@localhost" xmlns="jabber:client" from="ws__3ut5yt0133@localhost/993927746-tigase-133"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 << <presence to="ws__3ut5yt0133@localhost" xmlns="jabber:client" from="ws__3ut5yt0133@localhost/993927746-tigase-134"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-25 21:13:44 | ws_ :: ws__3ut5yt0133@localhost/993927746-tigase-134 << <message to="ws__3ut5yt0133@localhost/993927746-tigase-134" xmlns="jabber:client" from="ws__3ut5yt0133@localhost/993927746-tigase-133"><body>1689550c-fd35-4fad-a431-50a44efd7155</body></message>

2019-11-25 21:13:44 | [Mutex] notify: [websocket:message:to:1689550c-fd35-4fad-a431-50a44efd7155]

2019-11-25 21:13:44 | [Mutex] received everything.

2019-11-25 21:13:45 | [Mutex] isItemNotified: websocket:message:to:1689550c-fd35-4fad-a431-50a44efd7155 :: true