WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.784s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-24 19:07:46 |

2019-11-24 19:07:46 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-24 19:07:46 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.704s
2019-11-24 19:07:47 |

2019-11-24 19:07:47 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-24 19:07:47 | ------------------------------------

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><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><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-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNWN3Y2l2MDEzMyxyPXdIcGdiNU9xTmVFVGpnRVpjVUtr</auth>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj13SHBnYjVPcU5lRVRqZ0VaY1VLa3pxT2hKREpYbm5hNnFkbUJKTkwzLHM9WDBpTmdpd0lKRnF3RGc9PSxpPTQwOTY=</challenge>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9d0hwZ2I1T3FOZUVUamdFWmNVS2t6cU9oSkRKWG5uYTZxZG1CSk5MMyxwPWRydHFvYStkQkFRNXpFeVl4WmZlaE5LeEFNSGpvd2UvVmtXRzA1bjZNbnM9</response>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1BVHEvT2hEVUVpbTBiayt1YTN4UWRjVjBETUUyU2dzbEZxWDNvRGVEbXFJPQ==</success>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@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="7etRvi08c1DSCAgh81QLOpuANqY="/></features>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost >> <iq xmlns="jabber:client" id="pdD0azAbDBeNIDl0mYdsgX7" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost << <iq id="pdD0azAbDBeNIDl0mYdsgX7" xmlns="jabber:client" to="ws__5cwciv0133@localhost/993927746-tigase-133" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__5cwciv0133@localhost/993927746-tigase-133</jid></bind></iq>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 >> <iq xmlns="jabber:client" id="epbfCGviTgJMAdt6rkFBx6x" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 << <iq id="epbfCGviTgJMAdt6rkFBx6x" xmlns="jabber:client" to="ws__5cwciv0133@localhost/993927746-tigase-133" type="result"/>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 >> <iq to="localhost" id="GeChZbAmQ8p6vubGoPHyl8h" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 >> <iq id="UfD03gLYXbHqbubrcKKLysl" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@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-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 << <enabled max="60" location="d4270859fb27" resume="true" id="0037f7e4-1a55-411f-9a11-f5008d665a3d" xmlns="urn:xmpp:sm:3"/>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 << <iq from="localhost" id="GeChZbAmQ8p6vubGoPHyl8h" xmlns="jabber:client" type="result" to="ws__5cwciv0133@localhost/993927746-tigase-133"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/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="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-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 << <iq id="UfD03gLYXbHqbubrcKKLysl" xmlns="jabber:client" to="ws__5cwciv0133@localhost/993927746-tigase-133" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 19:07:47 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 << <presence from="ws__5cwciv0133@localhost/993927746-tigase-133" xmlns="jabber:client" to="ws__5cwciv0133@localhost"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-24 19:07:47 | ws_ :: ws__5cwciv0133@localhost << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><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><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-24 19:07:47 | ws_ :: ws__5cwciv0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNWN3Y2l2MDEzMyxyPTU1VTRDVllKbGMyeTBUckM4S3lJ</auth>

2019-11-24 19:07:47 | ws_ :: ws__5cwciv0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj01NVU0Q1ZZSmxjMnkwVHJDOEt5STNUeUtDa0FhdVo4RHQzdGV0UmZULHM9WDBpTmdpd0lKRnF3RGc9PSxpPTQwOTY=</challenge>

2019-11-24 19:07:47 | ws_ :: ws__5cwciv0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9NTVVNENWWUpsYzJ5MFRyQzhLeUkzVHlLQ2tBYXVaOER0M3RldFJmVCxwPWY3UjFDMVNLSVIrMEQ5Z0FhR3ZRd0Vvdk1hMDBpQ1VGeVN0K3lhUEorMDA9</response>

2019-11-24 19:07:47 | ws_ :: ws__5cwciv0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1OK2ZWTWYrRjVicjVvVTZ1eVJHMGRzV2ZmdHBqV0ZxWURCMkFzYmtoSVpVPQ==</success>

2019-11-24 19:07:47 | ws_ :: ws__5cwciv0133@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="7etRvi08c1DSCAgh81QLOpuANqY="/></features>

2019-11-24 19:07:47 | ws_ :: ws__5cwciv0133@localhost >> <iq xmlns="jabber:client" id="WhHfJUPVbo7mVVaGCv2qhLK" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost << <iq id="WhHfJUPVbo7mVVaGCv2qhLK" xmlns="jabber:client" to="ws__5cwciv0133@localhost/993927746-tigase-134" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__5cwciv0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="wAAT7mVVaGCv2qhLKGuqZgP" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 << <iq id="wAAT7mVVaGCv2qhLKGuqZgP" xmlns="jabber:client" to="ws__5cwciv0133@localhost/993927746-tigase-134" type="result"/>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="qjJjRalXfwnSXZiW8x6yxhM" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 >> <iq id="HDFs7s6k6lYfY9Cgzbwh01j" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@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-24 19:07:48 | [Mutex] waiting for: [websocket:message:to:abc791ce-8c9b-42f2-a32c-3246a24fadeb]

2019-11-24 19:07:48 | non_ws_ :: ws__5cwciv0133@localhost/993927746-tigase-133 << <presence from="ws__5cwciv0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__5cwciv0133@localhost"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 << <enabled max="60" location="d4270859fb27" resume="true" id="7e921f5b-fc86-4f8e-ad76-b9c58e8ad078" xmlns="urn:xmpp:sm:3"/>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 << <iq from="localhost" id="qjJjRalXfwnSXZiW8x6yxhM" xmlns="jabber:client" type="result" to="ws__5cwciv0133@localhost/993927746-tigase-134"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/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="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-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 << <iq id="HDFs7s6k6lYfY9Cgzbwh01j" xmlns="jabber:client" to="ws__5cwciv0133@localhost/993927746-tigase-134" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 << <message from="ws__5cwciv0133@localhost/993927746-tigase-133" xmlns="jabber:client" to="ws__5cwciv0133@localhost/993927746-tigase-134"><body>abc791ce-8c9b-42f2-a32c-3246a24fadeb</body></message>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 << <presence from="ws__5cwciv0133@localhost/993927746-tigase-133" xmlns="jabber:client" to="ws__5cwciv0133@localhost"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-24 19:07:48 | ws_ :: ws__5cwciv0133@localhost/993927746-tigase-134 << <presence from="ws__5cwciv0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__5cwciv0133@localhost"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-24 19:07:48 | [Mutex] notify: [websocket:message:to:abc791ce-8c9b-42f2-a32c-3246a24fadeb]

2019-11-24 19:07:48 | [Mutex] received everything.

2019-11-24 19:07:49 | [Mutex] isItemNotified: websocket:message:to:abc791ce-8c9b-42f2-a32c-3246a24fadeb :: true