WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.938s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-10-13 19:51:10 |

2019-10-13 19:51:10 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-10-13 19:51:10 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.751s
2019-10-13 19:51:11 |

2019-10-13 19:51:11 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-10-13 19:51:11 | ------------------------------------

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fZ3V6bHJyMDEwNCxyPVFjZUNpU1lVbk5uSlpJVWhmNGN0</auth>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@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-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1RY2VDaVNZVW5ObkpaSVVoZjRjdFFuRWhobUxMWUJKNzUyTm51SmV5LHM9VjBodklNb2RJYnpkSHc9PSxpPTQwOTY=</challenge>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9UWNlQ2lTWVVuTm5KWklVaGY0Y3RRbkVoaG1MTFlCSjc1Mk5udUpleSxwPUxWOGNSQTBDT21tQ1FMcjRlM00ydlppM25rM2JKcFNrQ2V3ckRST2E1ams9</response>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1NVEJwdWtBbnBwblJlRHIyYjA3V3FCUk4yRit6NVNDZ29ranVoWHJpRS9vPQ==</success>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@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 ver="fD1ATDhYhT37hyTvdBFDDag+4EU=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost >> <iq xmlns="jabber:client" id="76w2iGx4p07t8kXX03avn4j" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost << <iq id="76w2iGx4p07t8kXX03avn4j" xmlns="jabber:client" type="result" to="ws__guzlrr0104@localhost/993927746-tigase-94"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__guzlrr0104@localhost/993927746-tigase-94</jid></bind></iq>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 >> <iq xmlns="jabber:client" id="rcNCwiR2taMKNIwfIwdq7qX" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 << <iq id="rcNCwiR2taMKNIwfIwdq7qX" xmlns="jabber:client" type="result" to="ws__guzlrr0104@localhost/993927746-tigase-94"/>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 >> <iq to="localhost" id="L9CfGq9lMBgHLQRYeIHIPSc" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 >> <iq id="m6rIBzs5q8wjWhM0cHw8taq" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 << <enabled location="d4270859fb27" id="0dc1d7b5-a2d3-4a3b-a860-e3555a7edfb5" xmlns="urn:xmpp:sm:3" resume="true" max="60"/>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 << <iq id="m6rIBzs5q8wjWhM0cHw8taq" xmlns="jabber:client" type="result" to="ws__guzlrr0104@localhost/993927746-tigase-94"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 << <presence from="ws__guzlrr0104@localhost/993927746-tigase-94" xmlns="jabber:client" to="ws__guzlrr0104@localhost"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 << <iq from="localhost" id="L9CfGq9lMBgHLQRYeIHIPSc" xmlns="jabber:client" type="result" to="ws__guzlrr0104@localhost/993927746-tigase-94"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39"/><identity category="server" type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39"/><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="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 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="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-10-13 19:51:11 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 << <message from="localhost" xmlns="jabber:client" to="ws__guzlrr0104@localhost"><body>Wecome to eda3980f-6651-4b37-9ba7-1eab78362c5c
This message was set at: Sun Oct 13 19:45:03 PDT 2019</body><delay from="localhost" xmlns="urn:xmpp:delay" stamp="2019-10-14T02:51:11.488Z">Offline Storage - d4270859fb27</delay></message>

2019-10-13 19:51:11 | ws_ :: ws__guzlrr0104@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-10-13 19:51:11 | ws_ :: ws__guzlrr0104@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fZ3V6bHJyMDEwNCxyPUY1U0hxTW9NYWR5SWRxcE40bGJt</auth>

2019-10-13 19:51:11 | ws_ :: ws__guzlrr0104@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1GNVNIcU1vTWFkeUlkcXBONGxibVdxNkxwUThwYVhDOE9kTW1GRTdlLHM9VjBodklNb2RJYnpkSHc9PSxpPTQwOTY=</challenge>

2019-10-13 19:51:11 | ws_ :: ws__guzlrr0104@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9RjVTSHFNb01hZHlJZHFwTjRsYm1XcTZMcFE4cGFYQzhPZE1tRkU3ZSxwPWU5UElncGc4NUMzK0FKV3oyVjRweFdkNUlOaWRNRXEvQ1RNRXJYWnA3SG89</response>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj15UG9kSFh4MnhrQUlhTDJTalg0UWZ2WVhiK0YxcjlTelBXdnJqSGpSUmlNPQ==</success>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@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 ver="fD1ATDhYhT37hyTvdBFDDag+4EU=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost >> <iq xmlns="jabber:client" id="5nemOPSQRIHAhNMCx7kHs5x" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost << <iq id="5nemOPSQRIHAhNMCx7kHs5x" xmlns="jabber:client" type="result" to="ws__guzlrr0104@localhost/993927746-tigase-95"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__guzlrr0104@localhost/993927746-tigase-95</jid></bind></iq>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 >> <iq xmlns="jabber:client" id="XgRKMOT6BqiMRQMLKAlGDs1" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 << <iq id="XgRKMOT6BqiMRQMLKAlGDs1" xmlns="jabber:client" type="result" to="ws__guzlrr0104@localhost/993927746-tigase-95"/>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 >> <iq to="localhost" id="k9uQJwdNUZeKKLQ5oeEBkKH" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 >> <iq id="4jWX2axiGx4p07t8kXX03av" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-10-13 19:51:12 | [Mutex] waiting for: [websocket:message:to:d7b67cf5-9abc-430a-bdb9-7b8aee020b3b]

2019-10-13 19:51:12 | non_ws_ :: ws__guzlrr0104@localhost/993927746-tigase-94 << <presence from="ws__guzlrr0104@localhost/993927746-tigase-95" xmlns="jabber:client" to="ws__guzlrr0104@localhost"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 << <enabled location="d4270859fb27" id="a0e74d5c-2677-49f0-9582-d41152364c86" xmlns="urn:xmpp:sm:3" resume="true" max="60"/>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 << <iq id="4jWX2axiGx4p07t8kXX03av" xmlns="jabber:client" type="result" to="ws__guzlrr0104@localhost/993927746-tigase-95"><query xmlns="jabber:iq:roster"/></iq>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 << <presence from="ws__guzlrr0104@localhost/993927746-tigase-94" xmlns="jabber:client" to="ws__guzlrr0104@localhost"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 << <presence from="ws__guzlrr0104@localhost/993927746-tigase-95" xmlns="jabber:client" to="ws__guzlrr0104@localhost"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 << <iq from="localhost" id="k9uQJwdNUZeKKLQ5oeEBkKH" xmlns="jabber:client" type="result" to="ws__guzlrr0104@localhost/993927746-tigase-95"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39"/><identity category="server" type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10535/f55efd39"/><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="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 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="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-10-13 19:51:12 | ws_ :: ws__guzlrr0104@localhost/993927746-tigase-95 << <message from="ws__guzlrr0104@localhost/993927746-tigase-94" xmlns="jabber:client" to="ws__guzlrr0104@localhost/993927746-tigase-95"><body>d7b67cf5-9abc-430a-bdb9-7b8aee020b3b</body></message>

2019-10-13 19:51:12 | [Mutex] notify: [websocket:message:to:d7b67cf5-9abc-430a-bdb9-7b8aee020b3b]

2019-10-13 19:51:12 | [Mutex] received everything.

2019-10-13 19:51:13 | [Mutex] isItemNotified: websocket:message:to:d7b67cf5-9abc-430a-bdb9-7b8aee020b3b :: true