WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.896s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-22 20:38:35 |

2019-11-22 20:38:35 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-22 20:38:35 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.763s
2019-11-22 20:38:36 |

2019-11-22 20:38:36 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-22 20:38:36 | ------------------------------------

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@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-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fcGdsd2huMDEzMyxyPW5QZzEwN3pEV01ua2Q0UzNKS0Ja</auth>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1uUGcxMDd6RFdNbmtkNFMzSktCWnRZMjJGaThoRk5NblJhc1ZEVTQzLHM9VEdSMUY0V2ZtK1ZrMUE9PSxpPTQwOTY=</challenge>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9blBnMTA3ekRXTW5rZDRTM0pLQlp0WTIyRmk4aEZOTW5SYXNWRFU0MyxwPW4zMjRudVBpUXFSekVTVjJPVTI1U3BIY2RVSmUwVUJVVkdDdnN1VCtxMFU9</response>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1DQ1VickYxcmF2UkZ1MzVsYVVaRGtSOUovb2Z1WjlwZjdGdElMYVVyejlNPQ==</success>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@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" node="https://tigase.net/tigase-xmpp-server" ver="vxsZDK3itTHNCC9pNOSKIQZW/14=" hash="SHA-1"/></features>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost >> <iq xmlns="jabber:client" id="kvBhELO6Avm8HRVcocEEEJs" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost << <iq xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-133" id="kvBhELO6Avm8HRVcocEEEJs" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__pglwhn0133@localhost/993927746-tigase-133</jid></bind></iq>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 >> <iq xmlns="jabber:client" id="7zLdsdU9waJGxkUcMELO6Av" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 << <iq xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-133" id="7zLdsdU9waJGxkUcMELO6Av" type="result"/>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 >> <iq to="localhost" id="VDVVbIQ7HBy6Cuk0rSMRcJG" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 >> <iq id="LzHjNQWgUUhQaILSaLZbIqg" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@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-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 << <enabled max="60" xmlns="urn:xmpp:sm:3" resume="true" id="147258b9-73cc-4ad1-ab4d-5010fb4760dd" location="d4270859fb27"/>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 << <iq xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-133" id="LzHjNQWgUUhQaILSaLZbIqg" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 << <iq from="localhost" xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-133" id="VDVVbIQ7HBy6Cuk0rSMRcJG" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" 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="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: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-22 20:38:36 | non_ws_ :: ws__pglwhn0133@localhost/993927746-tigase-133 << <presence from="ws__pglwhn0133@localhost/993927746-tigase-133" xmlns="jabber:client" to="ws__pglwhn0133@localhost"><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@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-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fcGdsd2huMDEzMyxyPXJ4cGhYTE5HdFNKak15NTJyaWg1</auth>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1yeHBoWExOR3RTSmpNeTUycmloNWVJWnY5eWd0OVlyZXNwcjF2SEwwLHM9VEdSMUY0V2ZtK1ZrMUE9PSxpPTQwOTY=</challenge>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9cnhwaFhMTkd0U0pqTXk1MnJpaDVlSVp2OXlndDlZcmVzcHIxdkhMMCxwPXFGWitCNUJCaTcvUVZwL2U3QUdIVFhlbzJ1Q3NuVVRYdXc4T1NTTGIzTGc9</response>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj12UkhMb1ExRGV3OGk1SmlNZThwQm9qT3BlNHloSTVlRnFUaHovOTg0ZDFnPQ==</success>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@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" node="https://tigase.net/tigase-xmpp-server" ver="vxsZDK3itTHNCC9pNOSKIQZW/14=" hash="SHA-1"/></features>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost >> <iq xmlns="jabber:client" id="2bv7uk0rSMRcJGunY7ueQ4e" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost << <iq xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-134" id="2bv7uk0rSMRcJGunY7ueQ4e" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__pglwhn0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="gqcgMO0oSdIUcJO2vt9Ei0g" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-134" id="gqcgMO0oSdIUcJO2vt9Ei0g" type="result"/>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="tDNITZkEIGIMZYYfYhMGLKF" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 >> <iq id="nHXTgU9EIRbzuYmYiWjCgP8" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@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-22 20:38:36 | [Mutex] waiting for: [websocket:message:to:62509d0a-3930-43e9-8157-1c0c56539460]

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 << <enabled max="60" xmlns="urn:xmpp:sm:3" resume="true" id="91254277-5d71-42d7-b862-929dd81a60f3" location="d4270859fb27"/>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-134" id="nHXTgU9EIRbzuYmYiWjCgP8" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 << <iq from="localhost" xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-134" id="tDNITZkEIGIMZYYfYhMGLKF" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10588/f55efd39" 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="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: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-22 20:38:36 | ws_ :: ws__pglwhn0133@localhost/993927746-tigase-134 << <message from="ws__pglwhn0133@localhost/993927746-tigase-133" xmlns="jabber:client" to="ws__pglwhn0133@localhost/993927746-tigase-134"><body>62509d0a-3930-43e9-8157-1c0c56539460</body></message>

2019-11-22 20:38:36 | [Mutex] notify: [websocket:message:to:62509d0a-3930-43e9-8157-1c0c56539460]

2019-11-22 20:38:36 | [Mutex] received everything.

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

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

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

2019-11-22 20:38:37 | [Mutex] isItemNotified: websocket:message:to:62509d0a-3930-43e9-8157-1c0c56539460 :: true