WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.621s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-11-27 19:52:58 |

2019-11-27 19:52:58 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-27 19:52:58 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.673s
2019-11-27 19:52:59 |

2019-11-27 19:52:59 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-27 19:52:59 | ------------------------------------

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@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-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdWNtOHd0MDEzMyxyPUNHbHpxQW9ISjN5c2ZneEVxWWNU</auth>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1DR2x6cUFvSEozeXNmZ3hFcVljVDdqNWVDOWx1U1BVVkJydFJ4Z010LHM9VTVIUDYydlVsSDVnRVE9PSxpPTQwOTY=</challenge>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9Q0dsenFBb0hKM3lzZmd4RXFZY1Q3ajVlQzlsdVNQVVZCcnRSeGdNdCxwPS9mTGVSSDBGTEx6aDJ4a000UDFqMjZ5bXhPdWk0OHJmc1dpMVFyMS9wN3c9</response>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1yaXl1THdXV0ZuVXVLaWEvcE42Zk94eE9CdGgvRHhWNXJ3TmVVQXVNZWdRPQ==</success>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@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="TbICgu8ra7zV0VOWQA2Ec+/yqKw="/></features>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost >> <iq xmlns="jabber:client" id="5kYLM16sWVW24l5fW7lVk6n" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost << <iq id="5kYLM16sWVW24l5fW7lVk6n" to="ws__ucm8wt0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__ucm8wt0133@localhost/993927746-tigase-133</jid></bind></iq>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 >> <iq xmlns="jabber:client" id="fbvUdvs9p3ACpR8gViQW0rl" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 << <iq id="fbvUdvs9p3ACpR8gViQW0rl" to="ws__ucm8wt0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result"/>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 >> <iq to="localhost" id="hBJeU3dFO4jFKuncEyeTfRS" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 >> <iq id="gqaqViPLL0s5dQGLYcEqh1p" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@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-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 << <enabled id="096531f3-57c0-4bf4-b487-c26f0fa4a14a" max="60" resume="true" location="d4270859fb27" xmlns="urn:xmpp:sm:3"/>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 << <iq id="gqaqViPLL0s5dQGLYcEqh1p" to="ws__ucm8wt0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 << <iq id="hBJeU3dFO4jFKuncEyeTfRS" to="ws__ucm8wt0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10581/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="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 category="pubsub" type="pep"/><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-27 19:52:59 | non_ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-133 << <presence to="ws__ucm8wt0133@localhost" xmlns="jabber:client" from="ws__ucm8wt0133@localhost/993927746-tigase-133"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 19:52:59 | ws_ :: ws__ucm8wt0133@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-27 19:52:59 | ws_ :: ws__ucm8wt0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdWNtOHd0MDEzMyxyPVhqNGYyeUg2SVduV0pmY1F3dTAy</auth>

2019-11-27 19:52:59 | ws_ :: ws__ucm8wt0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1YajRmMnlINklXbldKZmNRd3UwMk1WdVNTRk5SMDhqWjFKN0pHazJzLHM9VTVIUDYydlVsSDVnRVE9PSxpPTQwOTY=</challenge>

2019-11-27 19:52:59 | ws_ :: ws__ucm8wt0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9WGo0ZjJ5SDZJV25XSmZjUXd1MDJNVnVTU0ZOUjA4aloxSjdKR2sycyxwPXhteC8xa1huRkhlOGlFei94K3pCUEo2eExSSFZaTVRiaEZ0enF3TGZpSkk9</response>

2019-11-27 19:52:59 | ws_ :: ws__ucm8wt0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1ZNDFUdE9rUUNsczIyVEcvazQ5M2NZTkora2Fnam1ieS8xbElZWTVSRTR3PQ==</success>

2019-11-27 19:52:59 | ws_ :: ws__ucm8wt0133@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="TbICgu8ra7zV0VOWQA2Ec+/yqKw="/></features>

2019-11-27 19:52:59 | ws_ :: ws__ucm8wt0133@localhost >> <iq xmlns="jabber:client" id="QthmXoeDj24xwiQO3zvasaN" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-27 19:52:59 | ws_ :: ws__ucm8wt0133@localhost << <iq id="QthmXoeDj24xwiQO3zvasaN" to="ws__ucm8wt0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__ucm8wt0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-27 19:52:59 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="ACGdymbq6ev6mIDFpgLDvuq" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-27 19:53:00 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 << <iq id="ACGdymbq6ev6mIDFpgLDvuq" to="ws__ucm8wt0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result"/>

2019-11-27 19:53:00 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="hFNmazfJWkPHOCDIGCm9LTW" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-27 19:53:00 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-27 19:53:00 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 >> <iq id="XHRpdS0gEJVdAiQ9mYYZ4iA" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 19:53:00 | ws_ :: ws__ucm8wt0133@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-27 19:53:00 | [Mutex] waiting for: [websocket:message:to:2e5c5679-9c61-4655-afe2-f2924341e2b8]

2019-11-27 19:53:00 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 << <enabled id="c6369a67-5753-4dba-8c80-914f9af79511" max="60" resume="true" location="d4270859fb27" xmlns="urn:xmpp:sm:3"/>

2019-11-27 19:53:00 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 << <iq id="XHRpdS0gEJVdAiQ9mYYZ4iA" to="ws__ucm8wt0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 19:53:00 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 << <iq id="hFNmazfJWkPHOCDIGCm9LTW" to="ws__ucm8wt0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10581/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="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 category="pubsub" type="pep"/><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-27 19:53:00 | ws_ :: ws__ucm8wt0133@localhost/993927746-tigase-134 << <message to="ws__ucm8wt0133@localhost/993927746-tigase-134" xmlns="jabber:client" from="ws__ucm8wt0133@localhost/993927746-tigase-133"><body>2e5c5679-9c61-4655-afe2-f2924341e2b8</body></message>

2019-11-27 19:53:00 | [Mutex] notify: [websocket:message:to:2e5c5679-9c61-4655-afe2-f2924341e2b8]

2019-11-27 19:53:00 | [Mutex] received everything.

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

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

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

2019-11-27 19:53:01 | [Mutex] isItemNotified: websocket:message:to:2e5c5679-9c61-4655-afe2-f2924341e2b8 :: true