WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.882s

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

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

2019-11-24 19:38:37 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.740s
2019-11-24 19:38:37 |

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

2019-11-24 19:38:37 | ------------------------------------

2019-11-24 19:38:37 | non_ws_ :: ws__64wntm0133@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-24 19:38:37 | non_ws_ :: ws__64wntm0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNjR3bnRtMDEzMyxyPWNTaHNSMXNHQTVaVk90TkdVZVlX</auth>

2019-11-24 19:38:37 | non_ws_ :: ws__64wntm0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1jU2hzUjFzR0E1WlZPdE5HVWVZV0lSRjZrd3N2dEJxVnBHbG1ZWnRzLHM9MUVXZnQvU1VnTHk0cVE9PSxpPTQwOTY=</challenge>

2019-11-24 19:38:37 | non_ws_ :: ws__64wntm0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9Y1Noc1Ixc0dBNVpWT3ROR1VlWVdJUkY2a3dzdnRCcVZwR2xtWVp0cyxwPVh6TmpXV2U1eW1jMkJUaUlyb2JlRzJYOXhIZU5IS0ZEd2JVOWl2SzdxV2M9</response>

2019-11-24 19:38:37 | non_ws_ :: ws__64wntm0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1IZ1p1Vmp5a3R3YmFkeElNbndrcTliVUJVRysvVWx0Skp1UXZFb21EcVFJPQ==</success>

2019-11-24 19:38:37 | non_ws_ :: ws__64wntm0133@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 xmlns="http://jabber.org/protocol/caps" ver="7etRvi08c1DSCAgh81QLOpuANqY=" node="https://tigase.net/tigase-xmpp-server" hash="SHA-1"/></features>

2019-11-24 19:38:37 | non_ws_ :: ws__64wntm0133@localhost >> <iq xmlns="jabber:client" id="RBF6umQMCq7u7iABzxiEISX" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-24 19:38:37 | non_ws_ :: ws__64wntm0133@localhost << <iq id="RBF6umQMCq7u7iABzxiEISX" xmlns="jabber:client" to="ws__64wntm0133@localhost/993927746-tigase-134" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__64wntm0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-24 19:38:37 | non_ws_ :: ws__64wntm0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="0jLdR5zmMYoZbPW4jYnWZfN" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-24 19:38:38 | non_ws_ :: ws__64wntm0133@localhost/993927746-tigase-134 << <iq id="0jLdR5zmMYoZbPW4jYnWZfN" xmlns="jabber:client" to="ws__64wntm0133@localhost/993927746-tigase-134" type="result"/>

2019-11-24 19:38:38 | non_ws_ :: ws__64wntm0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="txpLFoMZl5oQ6EvdT4kP0r4" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-24 19:38:38 | non_ws_ :: ws__64wntm0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-24 19:38:38 | non_ws_ :: ws__64wntm0133@localhost/993927746-tigase-134 >> <iq id="ioWQZlLO08mMKLMHsUfR7sY" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 19:38:38 | non_ws_ :: ws__64wntm0133@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:38:38 | non_ws_ :: ws__64wntm0133@localhost/993927746-tigase-134 << <enabled location="d4270859fb27" id="046a667c-0cd6-440c-8d08-e4171189b7b7" resume="true" xmlns="urn:xmpp:sm:3" max="60"/>

2019-11-24 19:38:38 | non_ws_ :: ws__64wntm0133@localhost/993927746-tigase-134 << <iq id="ioWQZlLO08mMKLMHsUfR7sY" xmlns="jabber:client" to="ws__64wntm0133@localhost/993927746-tigase-134" type="result"><query xmlns="jabber:iq:roster"/></iq>

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

2019-11-24 19:38:38 | non_ws_ :: ws__64wntm0133@localhost/993927746-tigase-134 << <iq id="txpLFoMZl5oQ6EvdT4kP0r4" xmlns="jabber:client" from="localhost" to="ws__64wntm0133@localhost/993927746-tigase-134" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" category="server" type="im"/><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="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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@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-24 19:38:38 | ws_ :: ws__64wntm0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNjR3bnRtMDEzMyxyPTZxQnFrbGhqd2FXODJHdFMzSWVp</auth>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj02cUJxa2xoandhVzgyR3RTM0llaXVpdWNiZ1B4dExuTDhzY0JVRE1oLHM9MUVXZnQvU1VnTHk0cVE9PSxpPTQwOTY=</challenge>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9NnFCcWtsaGp3YVc4Mkd0UzNJZWl1aXVjYmdQeHRMbkw4c2NCVURNaCxwPU1rZ0x5SzRCRWZNM1B1RC9yM29taDNhUHcvSEkyN0lxcloyeVcvT3B0WFU9</response>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1iN05tME5ZMFhFNVlpUEFkVEhhKzJHRW9mYTBISm1rN0szalFkM2FIREpVPQ==</success>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@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 xmlns="http://jabber.org/protocol/caps" ver="7etRvi08c1DSCAgh81QLOpuANqY=" node="https://tigase.net/tigase-xmpp-server" hash="SHA-1"/></features>

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

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost << <iq id="ZzrPNEi1pdEm8IDtp6oXgX6" xmlns="jabber:client" to="ws__64wntm0133@localhost/993927746-tigase-135" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__64wntm0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="qpVBo3mRMyxrhMCEKHBFCq1" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 << <iq id="qpVBo3mRMyxrhMCEKHBFCq1" xmlns="jabber:client" to="ws__64wntm0133@localhost/993927746-tigase-135" type="result"/>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="woQnbJRWWi2hLZgIByxgDxn" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 >> <iq id="pt3TQS1iJw2vn9w6CGzl9Am" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-24 19:38:38 | [Mutex] waiting for: [websocket:message:to:f61fc706-e81e-4436-8fbb-851816655d7a]

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

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 << <enabled location="d4270859fb27" id="c1f935cf-42b1-4f4a-aeea-4e52c647589d" resume="true" xmlns="urn:xmpp:sm:3" max="60"/>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 << <iq id="pt3TQS1iJw2vn9w6CGzl9Am" xmlns="jabber:client" to="ws__64wntm0133@localhost/993927746-tigase-135" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 << <iq id="woQnbJRWWi2hLZgIByxgDxn" xmlns="jabber:client" from="localhost" to="ws__64wntm0133@localhost/993927746-tigase-135" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" category="server" type="im"/><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="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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-11-24 19:38:38 | ws_ :: ws__64wntm0133@localhost/993927746-tigase-135 << <message xmlns="jabber:client" from="ws__64wntm0133@localhost/993927746-tigase-134" to="ws__64wntm0133@localhost/993927746-tigase-135"><body>f61fc706-e81e-4436-8fbb-851816655d7a</body></message>

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

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

2019-11-24 19:38:38 | [Mutex] notify: [websocket:message:to:f61fc706-e81e-4436-8fbb-851816655d7a]

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

2019-11-24 19:38:39 | [Mutex] isItemNotified: websocket:message:to:f61fc706-e81e-4436-8fbb-851816655d7a :: true