WebSocket: Test WebSocket connectivity - #3305

Test duration: 3.144s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-20 20:29:53 |

2019-11-20 20:29:53 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-20 20:29:53 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.781s
2019-11-20 20:29:54 |

2019-11-20 20:29:54 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-20 20:29:54 | ------------------------------------

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@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-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdnIzaDZzMDEyMSxyPWdaUHZKVmZkZHhFVWNPYk1rdWdq</auth>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1nWlB2SlZmZGR4RVVjT2JNa3VnakNGb011OUc5VmVYTEJ0dEZSMnB6LHM9R05TeHd6SzRTMFJEWlE9PSxpPTQwOTY=</challenge>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9Z1pQdkpWZmRkeEVVY09iTWt1Z2pDRm9NdTlHOVZlWExCdHRGUjJweixwPXg2TUpBTXBqMmI4QTlOZ09UMXkzQ3dudDBYL1hTaW5HNHBadTUyakxBbVU9</response>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj12TWNXbVNac1hnZkV5bFY3alE3a1dUY0dKcmZ2cEtMTlNSYk53ZWR2ZXhrPQ==</success>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@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 ver="8SAx7sxxLI3422mjAeBbH2oWxJg=" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server" hash="SHA-1"/></features>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost >> <iq xmlns="jabber:client" id="a6Y7kW9qcoTOJu9CIOP7JIv" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost << <iq id="a6Y7kW9qcoTOJu9CIOP7JIv" xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-122" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__vr3h6s0121@localhost/993927746-tigase-122</jid></bind></iq>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 >> <iq xmlns="jabber:client" id="IVpPVYiAhAhAl0umVj7u3qU" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 << <iq id="IVpPVYiAhAhAl0umVj7u3qU" xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-122" type="result"/>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 >> <iq to="localhost" id="IWqRZ6y6jEpQR2yubP9ybGq" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 >> <iq id="hR98iHq1mcMLZtctgAkFAhH" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 << <enabled resume="true" id="d9ce461a-db17-4b2c-bf3d-f68aeb958d06" xmlns="urn:xmpp:sm:3" location="d4270859fb27" max="60"/>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 << <iq id="hR98iHq1mcMLZtctgAkFAhH" xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-122" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 << <iq id="IWqRZ6y6jEpQR2yubP9ybGq" xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-122" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" type="im" category="server"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><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="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:muted:0"/><feature var="tigase:push:priority: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-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 << <presence xmlns="jabber:client" to="ws__vr3h6s0121@localhost" from="ws__vr3h6s0121@localhost/993927746-tigase-122"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" hash="sha-1"/></presence>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@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-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdnIzaDZzMDEyMSxyPTg5U3doaXBkYTFrb1JVR1dRclVB</auth>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj04OVN3aGlwZGExa29SVUdXUXJVQWpkaFlGV3E4YVRCcmh0d2ZpWW5BLHM9R05TeHd6SzRTMFJEWlE9PSxpPTQwOTY=</challenge>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9ODlTd2hpcGRhMWtvUlVHV1FyVUFqZGhZRldxOGFUQnJodHdmaVluQSxwPVJHS2M2T2Fmd2FQZS9Tc25hVCtJR3ZtY3pTNjRwRHJTaTgveGxQS1J2Wjg9</response>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1QRW1jNVRqaVBGTlNnVnN2Z090NlU4KzdPS0lCT0tUdGVtWHo1cEYxTTdjPQ==</success>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@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 ver="8SAx7sxxLI3422mjAeBbH2oWxJg=" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server" hash="SHA-1"/></features>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost >> <iq xmlns="jabber:client" id="x2E2kLFmbIR0s0iRQ24fw9k" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost << <iq id="x2E2kLFmbIR0s0iRQ24fw9k" xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-123" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__vr3h6s0121@localhost/993927746-tigase-123</jid></bind></iq>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 >> <iq xmlns="jabber:client" id="Gb3hEAr0mIx6jEtg0oZrn05" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-20 20:29:54 | [Mutex] waiting for: [websocket:message:to:7fd90e21-2be6-4ced-997e-3928052b58b4]

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 << <iq id="Gb3hEAr0mIx6jEtg0oZrn05" xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-123" type="result"/>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 >> <iq to="localhost" id="A1xWUhUfM06ufCAarUVSVaO" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 >> <iq id="CXjOYn2w8ynS6cv2boXeWgJ" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-20 20:29:54 | non_ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-122 << <presence xmlns="jabber:client" to="ws__vr3h6s0121@localhost" from="ws__vr3h6s0121@localhost/993927746-tigase-123"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" hash="sha-1"/></presence>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 << <enabled resume="true" id="abaa18be-6df8-46e8-8472-d62883186239" xmlns="urn:xmpp:sm:3" location="d4270859fb27" max="60"/>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 << <iq id="CXjOYn2w8ynS6cv2boXeWgJ" xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-123" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 << <message xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-123" from="ws__vr3h6s0121@localhost/993927746-tigase-122"><body>7fd90e21-2be6-4ced-997e-3928052b58b4</body></message>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 << <presence xmlns="jabber:client" to="ws__vr3h6s0121@localhost" from="ws__vr3h6s0121@localhost/993927746-tigase-122"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" hash="sha-1"/></presence>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 << <presence xmlns="jabber:client" to="ws__vr3h6s0121@localhost" from="ws__vr3h6s0121@localhost/993927746-tigase-123"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" hash="sha-1"/></presence>

2019-11-20 20:29:54 | ws_ :: ws__vr3h6s0121@localhost/993927746-tigase-123 << <iq id="A1xWUhUfM06ufCAarUVSVaO" xmlns="jabber:client" to="ws__vr3h6s0121@localhost/993927746-tigase-123" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" type="im" category="server"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><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="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:muted:0"/><feature var="tigase:push:priority: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-20 20:29:54 | [Mutex] notify: [websocket:message:to:7fd90e21-2be6-4ced-997e-3928052b58b4]

2019-11-20 20:29:54 | [Mutex] received everything.

2019-11-20 20:29:55 | [Mutex] isItemNotified: websocket:message:to:7fd90e21-2be6-4ced-997e-3928052b58b4 :: true