WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.705s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-11-26 19:12:39 |

2019-11-26 19:12:39 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-26 19:12:39 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.654s
2019-11-26 19:12:39 |

2019-11-26 19:12:39 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-26 19:12:39 | ------------------------------------

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@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-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fbXRkNGpzMDEzMyxyPTNGc09seWxJamtGNlV6MnE1VHdC</auth>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj0zRnNPbHlsSWprRjZVejJxNVR3QjRVbnVWdkRhUWVubGpYbEN6cnk0LHM9NGRWZGQwNkVwUDA2d1E9PSxpPTQwOTY=</challenge>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9M0ZzT2x5bElqa0Y2VXoycTVUd0I0VW51VnZEYVFlbmxqWGxDenJ5NCxwPXdKSmJpWVpXNnArRExhL1RlMEhYYWpTV3IyNmdxVkdzNmpTa2dmc043SW89</response>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1XSFowYmVJK3k1d0s2QWRiUU0rTDJRVXozWVUyc3RjdDFCemFTazQxVjhnPQ==</success>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@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" ver="BTEL0uZZSv4xXXpA3cLLdyyHkxk=" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps"/></features>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost >> <iq xmlns="jabber:client" id="tCQEnScHJxiLM0eHshMNQIx" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost << <iq to="ws__mtd4js0133@localhost/993927746-tigase-133" id="tCQEnScHJxiLM0eHshMNQIx" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__mtd4js0133@localhost/993927746-tigase-133</jid></bind></iq>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost/993927746-tigase-133 >> <iq xmlns="jabber:client" id="ThNhYpcKW9nScHJxiLM0eHs" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost/993927746-tigase-133 << <iq to="ws__mtd4js0133@localhost/993927746-tigase-133" id="ThNhYpcKW9nScHJxiLM0eHs" xmlns="jabber:client" type="result"/>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost/993927746-tigase-133 >> <iq to="localhost" id="xESKPJGxk6q5ePSZeu5fukE" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost/993927746-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@localhost/993927746-tigase-133 >> <iq id="ldxY24yzwoeJxcQZjHCp4Ao" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-26 19:12:39 | non_ws_ :: ws__mtd4js0133@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-26 19:12:40 | non_ws_ :: ws__mtd4js0133@localhost/993927746-tigase-133 << <enabled location="d4270859fb27" id="d2ea933d-bddc-4ccd-8390-584cdca4b387" xmlns="urn:xmpp:sm:3" resume="true" max="60"/>

2019-11-26 19:12:40 | non_ws_ :: ws__mtd4js0133@localhost/993927746-tigase-133 << <iq from="localhost" to="ws__mtd4js0133@localhost/993927746-tigase-133" id="xESKPJGxk6q5ePSZeu5fukE" xmlns="jabber:client" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10591/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10591/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="jabber:iq:auth"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-11-26 19:12:40 | non_ws_ :: ws__mtd4js0133@localhost/993927746-tigase-133 << <iq to="ws__mtd4js0133@localhost/993927746-tigase-133" id="ldxY24yzwoeJxcQZjHCp4Ao" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

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

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@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-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fbXRkNGpzMDEzMyxyPWE4WU9MclpVallKOUZFZFBXdXVO</auth>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1hOFlPTHJaVWpZSjlGRWRQV3V1TlNsdHlkZFVHRzhJRUc0dkpFMGhsLHM9NGRWZGQwNkVwUDA2d1E9PSxpPTQwOTY=</challenge>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9YThZT0xyWlVqWUo5RkVkUFd1dU5TbHR5ZGRVR0c4SUVHNHZKRTBobCxwPUR5OWhrdncxd2RHbUwyRnVheWNUTGN3NE9BRGZBSk1PVDltMGF3MkJLTms9</response>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1Nb1oxdk0yeUxHSUQwYkQ3dTZPYytaYy9RNUdVNy82SGlLRjVSYXpKZVpRPQ==</success>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@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" ver="BTEL0uZZSv4xXXpA3cLLdyyHkxk=" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps"/></features>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost >> <iq xmlns="jabber:client" id="Cp57GApS7s9y8nPEEiNGm8J" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost << <iq to="ws__mtd4js0133@localhost/993927746-tigase-134" id="Cp57GApS7s9y8nPEEiNGm8J" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__mtd4js0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="cCGhNQIx9iWSX00qj0maBhG" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 << <iq to="ws__mtd4js0133@localhost/993927746-tigase-134" id="cCGhNQIx9iWSX00qj0maBhG" xmlns="jabber:client" type="result"/>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="ogAh1qcQXZ6EBx9wdGOQVUb" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 >> <iq id="9vhu2r6r8iHtWes7kEITaGO" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@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-26 19:12:40 | [Mutex] waiting for: [websocket:message:to:caf1d8f6-e599-424d-b902-93ef5fcf5b5d]

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

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 << <enabled location="d4270859fb27" id="d4ca266d-b11f-473f-9fd3-de42b2d514e2" xmlns="urn:xmpp:sm:3" resume="true" max="60"/>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 << <iq to="ws__mtd4js0133@localhost/993927746-tigase-134" id="9vhu2r6r8iHtWes7kEITaGO" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

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

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

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 << <message from="ws__mtd4js0133@localhost/993927746-tigase-133" to="ws__mtd4js0133@localhost/993927746-tigase-134" xmlns="jabber:client"><body>caf1d8f6-e599-424d-b902-93ef5fcf5b5d</body></message>

2019-11-26 19:12:40 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 << <iq from="localhost" to="ws__mtd4js0133@localhost/993927746-tigase-134" id="ogAh1qcQXZ6EBx9wdGOQVUb" xmlns="jabber:client" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10591/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10591/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="jabber:iq:auth"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-11-26 19:12:40 | [Mutex] notify: [websocket:message:to:caf1d8f6-e599-424d-b902-93ef5fcf5b5d]

2019-11-26 19:12:40 | [Mutex] received everything.

2019-11-26 19:12:41 | [Mutex] isItemNotified: websocket:message:to:caf1d8f6-e599-424d-b902-93ef5fcf5b5d :: true

2019-11-26 19:12:41 | ws_ :: ws__mtd4js0133@localhost/993927746-tigase-134 << <presence from="ws__mtd4js0133@localhost/993927746-tigase-133" to="ws__mtd4js0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="unavailable"/>