WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.815s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-12-03 19:37:47 |

2019-12-03 19:37:47 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-12-03 19:37:47 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.709s
2019-12-03 19:37:48 |

2019-12-03 19:37:48 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-12-03 19:37:48 | ------------------------------------

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@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-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fY3l0MTBuMDEzMyxyPUVrc3B1azhnM2xKSDM0Yk9WVjNw</auth>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1Fa3NwdWs4ZzNsSkgzNGJPVlYzcEZ5eGNXQTg1Tnoxc21YSjlHRlhRLHM9NGVhd3MrTkwxWkw2Smc9PSxpPTQwOTY=</challenge>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9RWtzcHVrOGczbEpIMzRiT1ZWM3BGeXhjV0E4NU56MXNtWEo5R0ZYUSxwPTdKZWw2TFY4SUtwOVlQQjlVMnpFZFZSUm9Fc3NmYkhEQzVEOUpKSWo0eGc9</response>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1IZGdCaGlSYWpBcGV0OVZRMExWMXJqdmZhMDRrOHVLcE1sV1ZUU0lHMjBFPQ==</success>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@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" ver="tayVLFeRarzqpIYlhM87XxlAcgo=" xmlns="http://jabber.org/protocol/caps"/></features>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost >> <iq xmlns="jabber:client" id="dxB3iCpiUh1cBhRSRLU9MQ0" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost << <iq id="dxB3iCpiUh1cBhRSRLU9MQ0" to="ws__cyt10n0133@localhost/993927746-tigase-133" type="result" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__cyt10n0133@localhost/993927746-tigase-133</jid></bind></iq>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 >> <iq xmlns="jabber:client" id="tzFmcGGv8DkUduZ036ziMAl" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 << <iq id="tzFmcGGv8DkUduZ036ziMAl" to="ws__cyt10n0133@localhost/993927746-tigase-133" type="result" xmlns="jabber:client"/>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 >> <iq to="localhost" id="Wm0OFIL0iUX2rW8FoNChyt6" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 >> <iq id="vHZXeBk16sjGnMBcLGy8rm2" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 << <enabled max="60" id="11fc3831-6e8b-418b-86af-cb28548c9bff" location="d4270859fb27" resume="true" xmlns="urn:xmpp:sm:3"/>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 << <iq id="vHZXeBk16sjGnMBcLGy8rm2" to="ws__cyt10n0133@localhost/993927746-tigase-133" type="result" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 << <presence from="ws__cyt10n0133@localhost/993927746-tigase-133" to="ws__cyt10n0133@localhost" xmlns="jabber:client"><c hash="sha-1" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 << <iq id="Wm0OFIL0iUX2rW8FoNChyt6" from="localhost" to="ws__cyt10n0133@localhost/993927746-tigase-133" type="result" xmlns="jabber:client"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" type="im"/><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="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="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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@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-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fY3l0MTBuMDEzMyxyPWVYaWlVdGNuenhVMDd0QVFMeFFm</auth>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1lWGlpVXRjbnp4VTA3dEFRTHhRZmRLUU5Ra1lvUGdnd2tWS3VmOXZILHM9NGVhd3MrTkwxWkw2Smc9PSxpPTQwOTY=</challenge>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9ZVhpaVV0Y256eFUwN3RBUUx4UWZkS1FOUWtZb1BnZ3drVkt1Zjl2SCxwPUxDa040c1EydXRSVzhPbTlYdlluYmhma3ZwOCtmSUFZS0ZKTE5vMXMra3M9</response>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj04YWRzUnZ4eG13WERBMDlDaHNWNjlnS09ROWtHNW9YUXA0c2I4MG8xM21ZPQ==</success>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@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" ver="tayVLFeRarzqpIYlhM87XxlAcgo=" xmlns="http://jabber.org/protocol/caps"/></features>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost >> <iq xmlns="jabber:client" id="nrb8ziHrgRcGGv8DkUduZ03" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost << <iq id="nrb8ziHrgRcGGv8DkUduZ03" to="ws__cyt10n0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__cyt10n0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="DEMjDiDgTW4avui3ziNFDqX" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 << <iq id="DEMjDiDgTW4avui3ziNFDqX" to="ws__cyt10n0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client"/>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="uBBn2oVYjGCDkFmLwpY8iL0" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 >> <iq id="FiE15aHyiCpiUh1cBhRSRLU" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-12-03 19:37:48 | [Mutex] waiting for: [websocket:message:to:f9643309-db2e-4299-bb63-a586f344f31e]

2019-12-03 19:37:48 | non_ws_ :: ws__cyt10n0133@localhost/993927746-tigase-133 << <presence from="ws__cyt10n0133@localhost/993927746-tigase-134" to="ws__cyt10n0133@localhost" xmlns="jabber:client"><c hash="sha-1" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 << <enabled max="60" id="3050843b-0222-4b2a-89fd-318dfdc6c90d" location="d4270859fb27" resume="true" xmlns="urn:xmpp:sm:3"/>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 << <iq id="FiE15aHyiCpiUh1cBhRSRLU" to="ws__cyt10n0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 << <presence from="ws__cyt10n0133@localhost/993927746-tigase-133" to="ws__cyt10n0133@localhost" xmlns="jabber:client"><c hash="sha-1" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 << <presence from="ws__cyt10n0133@localhost/993927746-tigase-134" to="ws__cyt10n0133@localhost" xmlns="jabber:client"><c hash="sha-1" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps"/></presence>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 << <iq id="uBBn2oVYjGCDkFmLwpY8iL0" from="localhost" to="ws__cyt10n0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10592/f55efd39" type="im"/><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="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="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="jabber:iq:private"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/></query></iq>

2019-12-03 19:37:48 | ws_ :: ws__cyt10n0133@localhost/993927746-tigase-134 << <message from="ws__cyt10n0133@localhost/993927746-tigase-133" to="ws__cyt10n0133@localhost/993927746-tigase-134" xmlns="jabber:client"><body>f9643309-db2e-4299-bb63-a586f344f31e</body></message>

2019-12-03 19:37:48 | [Mutex] notify: [websocket:message:to:f9643309-db2e-4299-bb63-a586f344f31e]

2019-12-03 19:37:48 | [Mutex] received everything.

2019-12-03 19:37:49 | [Mutex] isItemNotified: websocket:message:to:f9643309-db2e-4299-bb63-a586f344f31e :: true