WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.786s

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

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

2019-11-22 20:08:57 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.718s
2019-11-22 20:08:58 |

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

2019-11-22 20:08:58 | ------------------------------------

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@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-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdDAxMWUyMDEzMyxyPUNBa29vN3RLUW9pN2JrZW11V1RF</auth>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1DQWtvbzd0S1FvaTdia2VtdVdURWJrSGNORHJrblpPWWtWcGZjQU8yLHM9SkowRHptVmpOejJxeUE9PSxpPTQwOTY=</challenge>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9Q0Frb283dEtRb2k3YmtlbXVXVEVia0hjTkRya25aT1lrVnBmY0FPMixwPVE0K2ZVajJGOGI2TVErNlZLY3dVcXdsL1VmVnBtY0J4MWx1R3FaZUE1LzA9</response>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj14RTFqMjhpdy9Va3FuMG5hS28vL3RMSzZUZEd1K3I1cU9PYlF3UWM2VlNRPQ==</success>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@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" xmlns="http://jabber.org/protocol/caps" ver="vxsZDK3itTHNCC9pNOSKIQZW/14=" hash="SHA-1"/></features>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost >> <iq xmlns="jabber:client" id="Poaw3xcTbEEs8q3eDClXl7l" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost << <iq type="result" to="ws__t011e20133@localhost/993927746-tigase-133" id="Poaw3xcTbEEs8q3eDClXl7l" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__t011e20133@localhost/993927746-tigase-133</jid></bind></iq>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost/993927746-tigase-133 >> <iq xmlns="jabber:client" id="0jTEEp5BDnQbp5DgXjNKLKZ" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost/993927746-tigase-133 << <iq type="result" to="ws__t011e20133@localhost/993927746-tigase-133" id="0jTEEp5BDnQbp5DgXjNKLKZ" xmlns="jabber:client"/>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost/993927746-tigase-133 >> <iq to="localhost" id="itlBHpfCJR0mSY6pW3s1j3x" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost/993927746-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost/993927746-tigase-133 >> <iq id="ZrdhLEtiHFLX18Lzphyxt7o" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@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-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost/993927746-tigase-133 << <enabled resume="true" id="4fa0099c-dfe5-4fab-8426-5b9c394d07e2" xmlns="urn:xmpp:sm:3" max="60" location="d4270859fb27"/>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost/993927746-tigase-133 << <iq type="result" to="ws__t011e20133@localhost/993927746-tigase-133" id="itlBHpfCJR0mSY6pW3s1j3x" xmlns="jabber:client" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-22 20:08:58 | non_ws_ :: ws__t011e20133@localhost/993927746-tigase-133 << <iq type="result" to="ws__t011e20133@localhost/993927746-tigase-133" id="ZrdhLEtiHFLX18Lzphyxt7o" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

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

2019-11-22 20:08:58 | ws_ :: ws__t011e20133@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-22 20:08:58 | ws_ :: ws__t011e20133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdDAxMWUyMDEzMyxyPTBFa3RNUkt0eWFNaUR6MVRTcDlz</auth>

2019-11-22 20:08:58 | ws_ :: ws__t011e20133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj0wRWt0TVJLdHlhTWlEejFUU3A5c3FaYjNEdVpwbkRXRWcyZmZRMEdrLHM9SkowRHptVmpOejJxeUE9PSxpPTQwOTY=</challenge>

2019-11-22 20:08:58 | ws_ :: ws__t011e20133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9MEVrdE1SS3R5YU1pRHoxVFNwOXNxWmIzRHVacG5EV0VnMmZmUTBHayxwPWRqbmg2WnpVMG5wTVhjUUFlT012S25ONFRFZTNDK3AvdGVLWndMdllkYVE9</response>

2019-11-22 20:08:58 | ws_ :: ws__t011e20133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1QcXdnSWE2dVIyTlpSNUJZMW9jemh0d3cxZGJwUkVJVVoyVkJ5TmhEYmVjPQ==</success>

2019-11-22 20:08:58 | ws_ :: ws__t011e20133@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" xmlns="http://jabber.org/protocol/caps" ver="vxsZDK3itTHNCC9pNOSKIQZW/14=" hash="SHA-1"/></features>

2019-11-22 20:08:58 | ws_ :: ws__t011e20133@localhost >> <iq xmlns="jabber:client" id="GhHmbm9HziRWnLX2zxm4iOM" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost << <iq type="result" to="ws__t011e20133@localhost/993927746-tigase-134" id="GhHmbm9HziRWnLX2zxm4iOM" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__t011e20133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="ttflTUZkLN1t3cTPVjCFJDq" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 << <iq type="result" to="ws__t011e20133@localhost/993927746-tigase-134" id="ttflTUZkLN1t3cTPVjCFJDq" xmlns="jabber:client"/>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 >> <iq to="localhost" id="UL5gOY6q0dyhUV7FLDmdtdT" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 >> <iq id="VGOBygKEv8rezpfVX0v3ndq" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@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-22 20:08:59 | [Mutex] waiting for: [websocket:message:to:3c9c44d8-eb8e-4b1e-81e3-f556af7fc4c9]

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

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 << <enabled resume="true" id="dc6b3da2-616c-4326-aac6-ea3fccf4c4ff" xmlns="urn:xmpp:sm:3" max="60" location="d4270859fb27"/>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 << <iq type="result" to="ws__t011e20133@localhost/993927746-tigase-134" id="UL5gOY6q0dyhUV7FLDmdtdT" xmlns="jabber:client" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 << <message to="ws__t011e20133@localhost/993927746-tigase-134" xmlns="jabber:client" from="ws__t011e20133@localhost/993927746-tigase-133"><body>3c9c44d8-eb8e-4b1e-81e3-f556af7fc4c9</body></message>

2019-11-22 20:08:59 | ws_ :: ws__t011e20133@localhost/993927746-tigase-134 << <iq type="result" to="ws__t011e20133@localhost/993927746-tigase-134" id="VGOBygKEv8rezpfVX0v3ndq" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

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

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

2019-11-22 20:08:59 | [Mutex] notify: [websocket:message:to:3c9c44d8-eb8e-4b1e-81e3-f556af7fc4c9]

2019-11-22 20:08:59 | [Mutex] received everything.

2019-11-22 20:09:00 | [Mutex] isItemNotified: websocket:message:to:3c9c44d8-eb8e-4b1e-81e3-f556af7fc4c9 :: true