WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.722s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-21 04:50:57 |

2019-11-21 04:50:57 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-21 04:50:57 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.710s
2019-11-21 04:50:57 |

2019-11-21 04:50:57 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-21 04:50:57 | ------------------------------------

2019-11-21 04:50:57 | non_ws_ :: ws__d4nawp0133@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-21 04:50:57 | non_ws_ :: ws__d4nawp0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fZDRuYXdwMDEzMyxyPW43YnJMWkI4ZVhtSE5OMmRVVjdj</auth>

2019-11-21 04:50:57 | non_ws_ :: ws__d4nawp0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1uN2JyTFpCOGVYbUhOTjJkVVY3Y0NRa0pHN3MzT2hXMVN2SXVaQTNxLHM9WEhVWEtBdmxSNFZIT1E9PSxpPTQwOTY=</challenge>

2019-11-21 04:50:57 | non_ws_ :: ws__d4nawp0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9bjdickxaQjhlWG1ITk4yZFVWN2NDUWtKRzdzM09oVzFTdkl1WkEzcSxwPVdnYUM0SGNzMDlJYUF2bVFPQjFmdnk2NVJMWUE1bjZmZGlhMmFBSnpFTWM9</response>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1SdFRJOHFLZ2JPMEV3UnR2RVUrbXZSZkpTTVZQRFFDeVZsYXM1Wm0vZFBBPQ==</success>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@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" node="https://tigase.net/tigase-xmpp-server" hash="SHA-1" ver="2tp/q0iZDbq1z+CS1yFGZIkNy2A="/></features>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost >> <iq xmlns="jabber:client" id="HsepUY1bsaqVjGJRbr2s9xf" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost << <iq to="ws__d4nawp0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" id="HsepUY1bsaqVjGJRbr2s9xf"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__d4nawp0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="vq6WiRSKQHHwm4mY2exdwiG" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 << <iq to="ws__d4nawp0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" id="vq6WiRSKQHHwm4mY2exdwiG"/>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="TDHurX4whNLzynUOYXdyqcC" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 >> <iq id="nEIwv5k2jRTP4pYWetfCys8" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@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-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 << <enabled xmlns="urn:xmpp:sm:3" resume="true" max="60" location="d4270859fb27" id="51ddf4e6-d408-4c13-b135-b03042d4ed98"/>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 << <iq to="ws__d4nawp0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" from="localhost" id="TDHurX4whNLzynUOYXdyqcC"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" type="im" 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="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: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-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 << <iq to="ws__d4nawp0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" id="nEIwv5k2jRTP4pYWetfCys8"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 04:50:58 | non_ws_ :: ws__d4nawp0133@localhost/993927746-tigase-134 << <presence to="ws__d4nawp0133@localhost" xmlns="jabber:client" from="ws__d4nawp0133@localhost/993927746-tigase-134"><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@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-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fZDRuYXdwMDEzMyxyPUJrQUFySWVralVOaTdVSXdkWFc5</auth>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1Ca0FBcklla2pVTmk3VUl3ZFhXOTYxb1pVWEo5a2FPek5SQU1Ya0VuLHM9WEhVWEtBdmxSNFZIT1E9PSxpPTQwOTY=</challenge>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9QmtBQXJJZWtqVU5pN1VJd2RYVzk2MW9aVVhKOWthT3pOUkFNWGtFbixwPVkxdE1tV1dTTEpCUjV5T2FmU2JMb0Uxd3JtYlE3UUppbURtQy94UU1IemM9</response>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1ENWRKdHdmOFY5L0dYTkdDMmkyVmdPK2FlM2k0WXJ6VEVGWW1LRll6dHVjPQ==</success>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@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" node="https://tigase.net/tigase-xmpp-server" hash="SHA-1" ver="2tp/q0iZDbq1z+CS1yFGZIkNy2A="/></features>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost >> <iq xmlns="jabber:client" id="LnRycEoRbqdP7jMW7t7hYdA" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost << <iq to="ws__d4nawp0133@localhost/993927746-tigase-135" xmlns="jabber:client" type="result" id="LnRycEoRbqdP7jMW7t7hYdA"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__d4nawp0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="HxjzeCjLCu4dTQ3vt1cMNPP" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 << <iq to="ws__d4nawp0133@localhost/993927746-tigase-135" xmlns="jabber:client" type="result" id="HxjzeCjLCu4dTQ3vt1cMNPP"/>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="Xu8lV5lJS1co8hRQ0mW8mSP" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 >> <iq id="WqUFIFzjFKLGm49BkYiOSQQ" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@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-21 04:50:58 | [Mutex] waiting for: [websocket:message:to:983ed06a-b08b-4325-b03e-bf3776837858]

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 << <enabled xmlns="urn:xmpp:sm:3" resume="true" max="60" location="d4270859fb27" id="a9af8236-9b6d-44bb-9c98-f17323651480"/>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 << <iq to="ws__d4nawp0133@localhost/993927746-tigase-135" xmlns="jabber:client" type="result" from="localhost" id="Xu8lV5lJS1co8hRQ0mW8mSP"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" type="im" 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="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: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-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 << <iq to="ws__d4nawp0133@localhost/993927746-tigase-135" xmlns="jabber:client" type="result" id="WqUFIFzjFKLGm49BkYiOSQQ"><query xmlns="jabber:iq:roster"/></iq>

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

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 << <presence to="ws__d4nawp0133@localhost" xmlns="jabber:client" from="ws__d4nawp0133@localhost/993927746-tigase-135"><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-21 04:50:58 | ws_ :: ws__d4nawp0133@localhost/993927746-tigase-135 << <message to="ws__d4nawp0133@localhost/993927746-tigase-135" xmlns="jabber:client" from="ws__d4nawp0133@localhost/993927746-tigase-134"><body>983ed06a-b08b-4325-b03e-bf3776837858</body></message>

2019-11-21 04:50:58 | [Mutex] notify: [websocket:message:to:983ed06a-b08b-4325-b03e-bf3776837858]

2019-11-21 04:50:58 | [Mutex] received everything.

2019-11-21 04:50:59 | [Mutex] isItemNotified: websocket:message:to:983ed06a-b08b-4325-b03e-bf3776837858 :: true