WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.819s

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

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

2019-11-27 19:14:45 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.758s
2019-11-27 19:14:46 |

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

2019-11-27 19:14:46 | ------------------------------------

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fNTl5Nm9qMDEzMyxyPXB6THhPWUFaa04zMnJjRHFPRzNx</auth>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@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-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1wekx4T1lBWmtOMzJyY0RxT0czcUlLQkFPajN5TE0xdmFFSEN3QWtGLHM9amR5TGN1WHh1T3ovTVE9PSxpPTQwOTY=</challenge>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9cHpMeE9ZQVprTjMycmNEcU9HM3FJS0JBT2ozeUxNMXZhRUhDd0FrRixwPVhDeTRwV0pTYWFFNWxySU03VlNsUGlkVElCTmNRRDdDdzZSQ09qSEgzSTQ9</response>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1ZWUZ2OGFpRmp5TEZoSUNuOTgvN3lJMmV3OG9BSmlRaXZiZlAzRHhJcFNVPQ==</success>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@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" hash="SHA-1" ver="TbICgu8ra7zV0VOWQA2Ec+/yqKw="/></features>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost >> <iq xmlns="jabber:client" id="7kYELPPY9LOCJVfZeBEkWk6" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost << <iq id="7kYELPPY9LOCJVfZeBEkWk6" to="ws__59y6oj0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__59y6oj0133@localhost/993927746-tigase-133</jid></bind></iq>

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

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost/993927746-tigase-133 << <iq id="UdBbO4xvmY3ufQVYoWTfNLQ" to="ws__59y6oj0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result"/>

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

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

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost/993927746-tigase-133 >> <iq id="SmY5cGO4xvmY3ufQVYoWTfN" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@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:14:46 | non_ws_ :: ws__59y6oj0133@localhost/993927746-tigase-133 << <enabled id="2413bbe6-8386-4717-b3b2-ae6749466faa" xmlns="urn:xmpp:sm:3" max="60" resume="true" location="d4270859fb27"/>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost/993927746-tigase-133 << <iq id="Arfj4iBFDrcBFCeXn9NQP6e" from="localhost" to="ws__59y6oj0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><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 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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-27 19:14:46 | non_ws_ :: ws__59y6oj0133@localhost/993927746-tigase-133 << <iq id="SmY5cGO4xvmY3ufQVYoWTfN" to="ws__59y6oj0133@localhost/993927746-tigase-133" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

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

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

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1MV01yQUJuRmxVRkZ5SkNNTmhXRFQ0Z3V5MXowNnc2MnhVQW9Qcnk4LHM9amR5TGN1WHh1T3ovTVE9PSxpPTQwOTY=</challenge>

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9TFdNckFCbkZsVUZGeUpDTU5oV0RUNGd1eTF6MDZ3NjJ4VUFvUHJ5OCxwPVZuTFJhNUM5OTYzTlV2U3JML2daU1Bvc2lJWmlLRTJsM3ZxK0RxV2RGcDg9</response>

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1DN05tY1VHVDZpQ0ZWK0xYbFoyTGlYS3RUV3hmdW9sT3FlQWkwZmZLTnB3PQ==</success>

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@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" hash="SHA-1" ver="TbICgu8ra7zV0VOWQA2Ec+/yqKw="/></features>

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost >> <iq xmlns="jabber:client" id="BmW1cphRT6phQGRbL1iJUQY" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

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

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

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost/993927746-tigase-134 << <iq id="nHVzqi2tn6s1q7ApWkODJLH" to="ws__59y6oj0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result"/>

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

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

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost/993927746-tigase-134 >> <iq id="zDFgEKEj5t7yj5sUj5zDwbO" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@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:14:46 | [Mutex] waiting for: [websocket:message:to:09735687-1471-43a5-aaa4-ab4707589cd0]

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost/993927746-tigase-134 << <enabled id="e3062121-4ffd-42c5-ae72-8d53359bc432" xmlns="urn:xmpp:sm:3" max="60" resume="true" location="d4270859fb27"/>

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

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost/993927746-tigase-134 << <iq id="WIW1rjYcvo3s9qiKvtfFEvt" from="localhost" to="ws__59y6oj0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><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 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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost/993927746-tigase-134 << <iq id="zDFgEKEj5t7yj5sUj5zDwbO" to="ws__59y6oj0133@localhost/993927746-tigase-134" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 19:14:46 | ws_ :: ws__59y6oj0133@localhost/993927746-tigase-134 << <message from="ws__59y6oj0133@localhost/993927746-tigase-133" to="ws__59y6oj0133@localhost/993927746-tigase-134" xmlns="jabber:client"><body>09735687-1471-43a5-aaa4-ab4707589cd0</body></message>

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

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

2019-11-27 19:14:46 | [Mutex] notify: [websocket:message:to:09735687-1471-43a5-aaa4-ab4707589cd0]

2019-11-27 19:14:46 | [Mutex] received everything.

2019-11-27 19:14:47 | [Mutex] isItemNotified: websocket:message:to:09735687-1471-43a5-aaa4-ab4707589cd0 :: true