WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.104s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.411s
2019-03-02 14:11:42 |

2019-03-02 14:11:42 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-03-02 14:11:42 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.241s
2019-03-02 14:11:42 |

2019-03-02 14:11:42 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-03-02 14:11:42 | ------------------------------------

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost << <features xmlns="http://etherx.jabber.org/streams"><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-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fY3FzZDlrMDA5MSxyPVpkN3RveXJLRnNDdEZIWWc0elhl</auth>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1aZDd0b3lyS0ZzQ3RGSFlnNHpYZWRndmNVNEdkbGpIeEduUlA1bXR4LHM9QmcySTlYcmk3aGhFN2c9PSxpPTQwOTY=</challenge>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9WmQ3dG95cktGc0N0RkhZZzR6WGVkZ3ZjVTRHZGxqSHhHblJQNW10eCxwPUlrb0ZEVjVqUjBCYlowY1JEUHNFd1hUbHdRMkpuQWJocDVxVUdudE1ZMTQ9</response>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj16cHpYVDFZNnNsT3N6NUpycG9BQ3BTN1ovemdSL2VnUUFER2FlYWxIOFZrPQ==</success>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost << <features xmlns="http://etherx.jabber.org/streams"><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></features>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost >> <iq xmlns="jabber:client" id="stLCHS" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost << <iq to="ws__cqsd9k0091@localhost/422068608-tigase-85" id="stLCHS" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__cqsd9k0091@localhost/422068608-tigase-85</jid></bind></iq>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 >> <iq xmlns="jabber:client" id="pOKKCg" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 << <iq to="ws__cqsd9k0091@localhost/422068608-tigase-85" id="pOKKCg" xmlns="jabber:client" type="result"/>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 >> <iq to="localhost" id="YvNGP8" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 >> <iq id="SSSZl2" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="GDJeU2PgGrtUeUH62yXz3492Sf0=" hash="sha-1"/></presence>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 << <iq to="ws__cqsd9k0091@localhost/422068608-tigase-85" id="SSSZl2" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 << <presence to="ws__cqsd9k0091@localhost" xmlns="jabber:client" from="ws__cqsd9k0091@localhost/422068608-tigase-85"><c ver="GDJeU2PgGrtUeUH62yXz3492Sf0=" hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 << <iq to="ws__cqsd9k0091@localhost/422068608-tigase-85" id="YvNGP8" xmlns="jabber:client" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.0.0-b10083/6923973a" category="component" type="im"/><identity name="Tigase ver. 8.0.0-b10083/6923973a" category="server" type="im"/><feature var="http://jabber.org/protocol/commands"/><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 category="pubsub" type="pep"/><feature var="urn:xmpp:archive:auto"/><feature var="urn:xmpp:archive:manage"/><feature var="urn:xmpp:push: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-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost << <features xmlns="http://etherx.jabber.org/streams"><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-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fY3FzZDlrMDA5MSxyPVQwV1dEUVpmQnpGdWEzcktJNktl</auth>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1UMFdXRFFaZkJ6RnVhM3JLSTZLZW52cUtWanF0U2hnaUs1RFgwM0xHLHM9QmcySTlYcmk3aGhFN2c9PSxpPTQwOTY=</challenge>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9VDBXV0RRWmZCekZ1YTNyS0k2S2VudnFLVmpxdFNoZ2lLNURYMDNMRyxwPVk3bGtWVEp1Q2pYMnlUbnJVdlRqcmkwdFlrODVLVWY0bnZyR2dVQ0VnQ3M9</response>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1hM3RnSkQ3WGFiR3JzYU0wQTZuNUV5UUhtYW81MzM5L3VFYTZDaUVBVU5BPQ==</success>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost << <features xmlns="http://etherx.jabber.org/streams"><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></features>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost >> <iq xmlns="jabber:client" id="2AY4o1" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost << <iq to="ws__cqsd9k0091@localhost/422068608-tigase-86" id="2AY4o1" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__cqsd9k0091@localhost/422068608-tigase-86</jid></bind></iq>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 >> <iq xmlns="jabber:client" id="ITRJKy" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 << <iq to="ws__cqsd9k0091@localhost/422068608-tigase-86" id="ITRJKy" xmlns="jabber:client" type="result"/>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 >> <iq to="localhost" id="KPD7wa" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 >> <iq id="hGaujE" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="GDJeU2PgGrtUeUH62yXz3492Sf0=" hash="sha-1"/></presence>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 << <iq to="ws__cqsd9k0091@localhost/422068608-tigase-86" id="hGaujE" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-03-02 14:11:42 | non_ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-85 << <presence to="ws__cqsd9k0091@localhost" xmlns="jabber:client" from="ws__cqsd9k0091@localhost/422068608-tigase-86"><c ver="GDJeU2PgGrtUeUH62yXz3492Sf0=" hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 << <presence to="ws__cqsd9k0091@localhost" xmlns="jabber:client" from="ws__cqsd9k0091@localhost/422068608-tigase-85"><c ver="GDJeU2PgGrtUeUH62yXz3492Sf0=" hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 << <presence to="ws__cqsd9k0091@localhost" xmlns="jabber:client" from="ws__cqsd9k0091@localhost/422068608-tigase-86"><c ver="GDJeU2PgGrtUeUH62yXz3492Sf0=" hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-03-02 14:11:42 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 << <iq to="ws__cqsd9k0091@localhost/422068608-tigase-86" id="KPD7wa" xmlns="jabber:client" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.0.0-b10083/6923973a" category="component" type="im"/><identity name="Tigase ver. 8.0.0-b10083/6923973a" category="server" type="im"/><feature var="http://jabber.org/protocol/commands"/><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 category="pubsub" type="pep"/><feature var="urn:xmpp:archive:auto"/><feature var="urn:xmpp:archive:manage"/><feature var="urn:xmpp:push: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-03-02 14:11:42 | [Mutex] waiting for: [websocket:message:to:53360e17-9ef3-4e3d-b5e2-1c70f44a866e]

2019-03-02 14:11:43 | ws_ :: ws__cqsd9k0091@localhost/422068608-tigase-86 << <message to="ws__cqsd9k0091@localhost/422068608-tigase-86" from="ws__cqsd9k0091@localhost/422068608-tigase-85" xmlns="jabber:client"><body>53360e17-9ef3-4e3d-b5e2-1c70f44a866e</body></message>

2019-03-02 14:11:43 | [Mutex] notify: [websocket:message:to:53360e17-9ef3-4e3d-b5e2-1c70f44a866e]

2019-03-02 14:11:43 | [Mutex] received everything.

2019-03-02 14:11:44 | [Mutex] isItemNotified: websocket:message:to:53360e17-9ef3-4e3d-b5e2-1c70f44a866e :: true