WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.860s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-11-24 18:39:11 |

2019-11-24 18:39:11 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-24 18:39:11 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.749s
2019-11-24 18:39:11 |

2019-11-24 18:39:11 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-24 18:39:11 | ------------------------------------

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@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 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19feGd0amVoMDEzMyxyPThXV1B4WlUzWjFHOXJQQ2NmZmpP</auth>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj04V1dQeFpVM1oxRzlyUENjZmZqTzBBekRBekFDTWk3cjR1WngyZHBkLHM9bHpDOW9iZEUxYjNSTUE9PSxpPTQwOTY=</challenge>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9OFdXUHhaVTNaMUc5clBDY2Zmak8wQXpEQXpBQ01pN3I0dVp4MmRwZCxwPWxnempSU0xVWnBNbVByOHE5NkZ1Q2ZaWkJDa04zRS9MUW5QZlR5QlB6OGs9</response>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1TNW83c282TVdPS2l5Ui9XRUhZMWFFbFVHM0E4cUNWTEZnRzgvWFFOc2E0PQ==</success>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@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=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost >> <iq xmlns="jabber:client" id="6eyRPYiGNUgTZskZcKAgJxy" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost << <iq xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-134" id="6eyRPYiGNUgTZskZcKAgJxy" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__xgtjeh0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="KHVU1wsfIMEoZ3Afv9EBg08" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-134" id="KHVU1wsfIMEoZ3Afv9EBg08" type="result"/>

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

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

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-134 >> <iq id="NL3dLKQMEv5EnLFGFogENTP" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@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 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-134 << <enabled xmlns="urn:xmpp:sm:3" resume="true" max="60" location="d4270859fb27" id="473992e5-bfbd-4c25-bee1-548a657d7b78"/>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-134" id="NL3dLKQMEv5EnLFGFogENTP" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-134 << <iq from="localhost" xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-134" id="fDHi4yr6ycubrmNBl2nO6k9" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" type="im"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><field type="hidden" var="FORM_TYPE"><value>http://jabber.org/network/serverinfo</value></field><field type="text-multi" var="abuse-addresses"><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-24 18:39:11 | non_ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-134 << <presence from="ws__xgtjeh0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__xgtjeh0133@localhost"><c xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" node="http://tigase.org/jaxmpp"/></presence>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@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 18:39:12 | ws_ :: ws__xgtjeh0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19feGd0amVoMDEzMyxyPUl1MEJkNWRtcTI5ZFJ4TXRVdW96</auth>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1JdTBCZDVkbXEyOWRSeE10VXVvem95aFRkZFZPeWx5Z2RFeng3S3BaLHM9bHpDOW9iZEUxYjNSTUE9PSxpPTQwOTY=</challenge>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9SXUwQmQ1ZG1xMjlkUnhNdFV1b3pveWhUZGRWT3lseWdkRXp4N0twWixwPTAwdkRTWllyUjZIY0h5L0xyTkpkZmJLYVg0a2pZbkZQT2pic3k4UzNCK2s9</response>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1jWGIvVFluODhVNnNMcGZ3K0NJOTNaV2I5dWNIVWJ6SnZrQmp2VzR5TzE4PQ==</success>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@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=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost >> <iq xmlns="jabber:client" id="DmOqaGsl0shL0qbAw8mVVkJ" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost << <iq xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-135" id="DmOqaGsl0shL0qbAw8mVVkJ" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__xgtjeh0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="JDBl3j6Czm4eyjHSPFtiTQa" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-135" id="JDBl3j6Czm4eyjHSPFtiTQa" type="result"/>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="JECn7rm8Bqcu4lL05bvm16G" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 >> <iq id="iLVSYiGs7j6hzhU7i4g1lJs" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@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 18:39:12 | [Mutex] waiting for: [websocket:message:to:2f3814c7-a746-4c10-b219-7f13c87334d4]

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

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 << <enabled xmlns="urn:xmpp:sm:3" resume="true" max="60" location="d4270859fb27" id="f5c9c067-e28d-4e57-8c46-900fa7b41af7"/>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-135" id="iLVSYiGs7j6hzhU7i4g1lJs" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 << <iq from="localhost" xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-135" id="JECn7rm8Bqcu4lL05bvm16G" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10589/f55efd39" type="im"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><field type="hidden" var="FORM_TYPE"><value>http://jabber.org/network/serverinfo</value></field><field type="text-multi" var="abuse-addresses"><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-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 << <presence from="ws__xgtjeh0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__xgtjeh0133@localhost"><c xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" node="http://tigase.org/jaxmpp"/></presence>

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

2019-11-24 18:39:12 | ws_ :: ws__xgtjeh0133@localhost/993927746-tigase-135 << <message from="ws__xgtjeh0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__xgtjeh0133@localhost/993927746-tigase-135"><body>2f3814c7-a746-4c10-b219-7f13c87334d4</body></message>

2019-11-24 18:39:12 | [Mutex] notify: [websocket:message:to:2f3814c7-a746-4c10-b219-7f13c87334d4]

2019-11-24 18:39:12 | [Mutex] received everything.

2019-11-24 18:39:13 | [Mutex] isItemNotified: websocket:message:to:2f3814c7-a746-4c10-b219-7f13c87334d4 :: true