WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.965s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-11-21 05:22:21 |

2019-11-21 05:22:21 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-21 05:22:21 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.740s
2019-11-21 05:22:21 |

2019-11-21 05:22:21 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-21 05:22:21 | ------------------------------------

2019-11-21 05:22:21 | non_ws_ :: ws__lcxvvb0133@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-21 05:22:21 | non_ws_ :: ws__lcxvvb0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fbGN4dnZiMDEzMyxyPWJUcEZGZkFkcENQelphb0c0QURy</auth>

2019-11-21 05:22:21 | non_ws_ :: ws__lcxvvb0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1iVHBGRmZBZHBDUHpaYW9HNEFEcjl1YkhMQ1dZM28wclFJbkdENmpPLHM9MDB6UWkyZ2Q5aHVDRUE9PSxpPTQwOTY=</challenge>

2019-11-21 05:22:21 | non_ws_ :: ws__lcxvvb0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9YlRwRkZmQWRwQ1B6WmFvRzRBRHI5dWJITENXWTNvMHJRSW5HRDZqTyxwPU1sWlBiMXBjYjl2SUJzQmNlYk5lNWp4L2RYbG8xZnNBR3FhYTE1VkV1Y1E9</response>

2019-11-21 05:22:21 | non_ws_ :: ws__lcxvvb0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1RTENjdkZPRG5aSWxrL0RUMHVhRlhmbWRWUzlvd2gvQ25mcXJna0JoTWRRPQ==</success>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@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 node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" ver="2tp/q0iZDbq1z+CS1yFGZIkNy2A=" hash="SHA-1"/></features>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost >> <iq xmlns="jabber:client" id="dfBoYk6cEqiMLTXakMV05fE" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost << <iq type="result" xmlns="jabber:client" id="dfBoYk6cEqiMLTXakMV05fE" to="ws__lcxvvb0133@localhost/993927746-tigase-134"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__lcxvvb0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="Ofz5i2gJPPUOKRSPJCgwhU9" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 << <iq type="result" xmlns="jabber:client" id="Ofz5i2gJPPUOKRSPJCgwhU9" to="ws__lcxvvb0133@localhost/993927746-tigase-134"/>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="HGQHpjO0sU4gY8tjNQGulQL" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 >> <iq id="lJXNNX5qQOZ8lLGoMNWdFDp" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@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-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 << <enabled max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" resume="true" id="18111ddc-d2f9-4918-a927-0c28ceb7ec56"/>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 << <iq type="result" xmlns="jabber:client" id="lJXNNX5qQOZ8lLGoMNWdFDp" to="ws__lcxvvb0133@localhost/993927746-tigase-134"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 << <iq type="result" xmlns="jabber:client" id="HGQHpjO0sU4gY8tjNQGulQL" from="localhost" to="ws__lcxvvb0133@localhost/993927746-tigase-134"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><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="vcard-temp"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><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 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: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-11-21 05:22:22 | non_ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-134 << <presence xmlns="jabber:client" from="ws__lcxvvb0133@localhost/993927746-tigase-134" to="ws__lcxvvb0133@localhost"><c node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@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-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fbGN4dnZiMDEzMyxyPUg3WndmU1NPV29HUzNEMEl1Mm5u</auth>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1IN1p3ZlNTT1dvR1MzRDBJdTJubktqMXlrTUs3SzZQNVlYSzhpRjQ5LHM9MDB6UWkyZ2Q5aHVDRUE9PSxpPTQwOTY=</challenge>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9SDdad2ZTU09Xb0dTM0QwSXUybm5LajF5a01LN0s2UDVZWEs4aUY0OSxwPStVckJUcHpuakNETmY3MkRYcVl6bkZDRFdYM2xwVWxKV3ZUOUJERXFUaG89</response>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1wWWFTWUNCZFkrcG9ReHBjc3llSldlQklMMGMvZHNkb1dLa0dLTDhzOXBJPQ==</success>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@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 node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" ver="2tp/q0iZDbq1z+CS1yFGZIkNy2A=" hash="SHA-1"/></features>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost >> <iq xmlns="jabber:client" id="jyoBEubJDw2cLGrX4akT8Br" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost << <iq type="result" xmlns="jabber:client" id="jyoBEubJDw2cLGrX4akT8Br" to="ws__lcxvvb0133@localhost/993927746-tigase-135"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__lcxvvb0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="PzpDICrfFAashIv5kGmXgRX" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 << <iq type="result" xmlns="jabber:client" id="PzpDICrfFAashIv5kGmXgRX" to="ws__lcxvvb0133@localhost/993927746-tigase-135"/>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="ss28qVV024n6xjVZ6Cy7JEG" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 >> <iq id="zlFgS5p7nSaEj7qeUOSScAn" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@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-21 05:22:22 | [Mutex] waiting for: [websocket:message:to:881075a6-861c-49d5-9b90-52a3ee6b5458]

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

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 << <enabled max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" resume="true" id="3a97fbc8-41db-408a-9fc5-487df5156978"/>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 << <iq type="result" xmlns="jabber:client" id="zlFgS5p7nSaEj7qeUOSScAn" to="ws__lcxvvb0133@localhost/993927746-tigase-135"><query xmlns="jabber:iq:roster"/></iq>

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

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 << <presence xmlns="jabber:client" from="ws__lcxvvb0133@localhost/993927746-tigase-135" to="ws__lcxvvb0133@localhost"><c node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 << <iq type="result" xmlns="jabber:client" id="ss28qVV024n6xjVZ6Cy7JEG" from="localhost" to="ws__lcxvvb0133@localhost/993927746-tigase-135"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10587/f55efd39" category="server"/><feature var="http://jabber.org/protocol/commands"/><x type="result" xmlns="jabber:x:data"><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="vcard-temp"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><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 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: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-11-21 05:22:22 | ws_ :: ws__lcxvvb0133@localhost/993927746-tigase-135 << <message xmlns="jabber:client" from="ws__lcxvvb0133@localhost/993927746-tigase-134" to="ws__lcxvvb0133@localhost/993927746-tigase-135"><body>881075a6-861c-49d5-9b90-52a3ee6b5458</body></message>

2019-11-21 05:22:22 | [Mutex] notify: [websocket:message:to:881075a6-861c-49d5-9b90-52a3ee6b5458]

2019-11-21 05:22:22 | [Mutex] received everything.

2019-11-21 05:22:23 | [Mutex] isItemNotified: websocket:message:to:881075a6-861c-49d5-9b90-52a3ee6b5458 :: true