WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.871s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-25 20:14:32 |

2019-11-25 20:14:32 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-25 20:14:32 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.759s
2019-11-25 20:14:32 |

2019-11-25 20:14:32 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-25 20:14:32 | ------------------------------------

2019-11-25 20:14:32 | non_ws_ :: ws__thuszy0133@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 20:14:32 | non_ws_ :: ws__thuszy0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdGh1c3p5MDEzMyxyPXVIWnBNb2pjalc4Z3JyV1doQlhD</auth>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj11SFpwTW9qY2pXOGdycldXaEJYQ1ZMRnBYSU9uaWg3S1dsUG94WVlrLHM9NENxVllKTGg2QUdMd1E9PSxpPTQwOTY=</challenge>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9dUhacE1vamNqVzhncnJXV2hCWENWTEZwWElPbmloN0tXbFBveFlZayxwPWtpa1lncXl1ZDhMQWIwVnZmQVRYamR3YW83Z1BtOXRCMUl5UWxuR1pGaVk9</response>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj0zcDZFMGxYYUNQbnF3VnhhZm5ZMG9aNHJmblBMTTRuRXRGUWU0V1hRdlMwPQ==</success>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@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 20:14:33 | non_ws_ :: ws__thuszy0133@localhost >> <iq xmlns="jabber:client" id="EvvTVgAkHykVhCtr5xrhWXm" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost << <iq to="ws__thuszy0133@localhost/993927746-tigase-133" type="result" xmlns="jabber:client" id="EvvTVgAkHykVhCtr5xrhWXm"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__thuszy0133@localhost/993927746-tigase-133</jid></bind></iq>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 >> <iq xmlns="jabber:client" id="kqeEvn7DEncLVQU1mOFzrXf" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 << <iq to="ws__thuszy0133@localhost/993927746-tigase-133" type="result" xmlns="jabber:client" id="kqeEvn7DEncLVQU1mOFzrXf"/>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 >> <iq to="localhost" id="fm0V7Fo1xhVdP29KR7eGzs0" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 >> <iq id="tAEoMMLQMBrbrdCnaoWV0eJ" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@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 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 << <enabled max="60" resume="true" location="d4270859fb27" xmlns="urn:xmpp:sm:3" id="2bf21e34-c283-41b4-939c-eb2affa6b9f1"/>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 << <iq to="ws__thuszy0133@localhost/993927746-tigase-133" type="result" xmlns="jabber:client" id="tAEoMMLQMBrbrdCnaoWV0eJ"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 << <iq to="ws__thuszy0133@localhost/993927746-tigase-133" from="localhost" type="result" xmlns="jabber:client" id="fm0V7Fo1xhVdP29KR7eGzs0"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="im" category="server"/><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="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="jabber:iq:auth"/><feature var="vcard-temp"/><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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-25 20:14:33 | non_ws_ :: ws__thuszy0133@localhost/993927746-tigase-133 << <presence to="ws__thuszy0133@localhost" from="ws__thuszy0133@localhost/993927746-tigase-133" xmlns="jabber:client"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@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 20:14:33 | ws_ :: ws__thuszy0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdGh1c3p5MDEzMyxyPUdRbjVkWWs4bmtpSmZJMHl0UVhz</auth>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1HUW41ZFlrOG5raUpmSTB5dFFYczNJTEhVc2w5YTRSVng0MDdwOTc3LHM9NENxVllKTGg2QUdMd1E9PSxpPTQwOTY=</challenge>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9R1FuNWRZazhua2lKZkkweXRRWHMzSUxIVXNsOWE0UlZ4NDA3cDk3NyxwPVVTVDZPRDZIUlhiNjRNaU4vQzJSMUlpcTdQeDNaZVo4bTR4bE1HaHRYK289</response>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1oRDJrZ2kwdWJ6ZHdobEZ0MUNjeGlPdnA5d2dEeTlFbGNHRnVXb1dpbEpnPQ==</success>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@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 20:14:33 | ws_ :: ws__thuszy0133@localhost >> <iq xmlns="jabber:client" id="MseqhCtr5xrhWXm5z8ubGsX" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost << <iq to="ws__thuszy0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client" id="MseqhCtr5xrhWXm5z8ubGsX"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__thuszy0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="ZCGsU2hSQJHHthKDGq03gKL" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 << <iq to="ws__thuszy0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client" id="ZCGsU2hSQJHHthKDGq03gKL"/>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="FsaaKygziOTdudV3tj1qViX" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 >> <iq id="HHRt6fEwj3azDtjZn8l8DFk" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@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 20:14:33 | [Mutex] waiting for: [websocket:message:to:39a378cf-3d6a-4554-8265-e725e53277e8]

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

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 << <enabled max="60" resume="true" location="d4270859fb27" xmlns="urn:xmpp:sm:3" id="0ddda6d2-a80f-4922-ab86-1dc052dbcece"/>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 << <iq to="ws__thuszy0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client" id="HHRt6fEwj3azDtjZn8l8DFk"><query xmlns="jabber:iq:roster"/></iq>

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

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

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 << <message to="ws__thuszy0133@localhost/993927746-tigase-134" from="ws__thuszy0133@localhost/993927746-tigase-133" xmlns="jabber:client"><body>39a378cf-3d6a-4554-8265-e725e53277e8</body></message>

2019-11-25 20:14:33 | ws_ :: ws__thuszy0133@localhost/993927746-tigase-134 << <iq to="ws__thuszy0133@localhost/993927746-tigase-134" from="localhost" type="result" xmlns="jabber:client" id="FsaaKygziOTdudV3tj1qViX"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="im" category="server"/><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="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><feature var="jabber:iq:auth"/><feature var="vcard-temp"/><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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-25 20:14:33 | [Mutex] notify: [websocket:message:to:39a378cf-3d6a-4554-8265-e725e53277e8]

2019-11-25 20:14:33 | [Mutex] received everything.

2019-11-25 20:14:34 | [Mutex] isItemNotified: websocket:message:to:39a378cf-3d6a-4554-8265-e725e53277e8 :: true