WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.877s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-11-25 18:56:27 |

2019-11-25 18:56:27 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-25 18:56:27 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.707s
2019-11-25 18:56:27 |

2019-11-25 18:56:27 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-25 18:56:27 | ------------------------------------

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@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-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fMTYwenNhMDEzMyxyPWFyRjBFN2Y4cnRZb2QxN3NCZnNV</auth>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1hckYwRTdmOHJ0WW9kMTdzQmZzVVJpdnBFWmFVRW9NRzBUREhZVUJELHM9WFZkT0sxU0ZMOEFsUmc9PSxpPTQwOTY=</challenge>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9YXJGMEU3ZjhydFlvZDE3c0Jmc1VSaXZwRVphVUVvTUcwVERIWVVCRCxwPVJVYi85RmoxQ3NRM1B4WUNCTjlLeEZTME1iTjkwTkJ0eHgvajZBcC85Rms9</response>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj10Z2svY085NGRUMEVKeFRUSHZoUktoVGR4Vzl1a0hjVForS1FSNHZiN1FzPQ==</success>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@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" xmlns="http://jabber.org/protocol/caps" ver="bt2mj6vq9J3s6VE0/7D8Mo0TIoU=" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost >> <iq xmlns="jabber:client" id="UfB5qkOX3aGx6CElVeS5lLz" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost << <iq id="UfB5qkOX3aGx6CElVeS5lLz" type="result" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-134"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__160zsa0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="ghFvs9MDo37q6GwnTQ2fwsk" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost/993927746-tigase-134 << <iq id="ghFvs9MDo37q6GwnTQ2fwsk" type="result" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-134"/>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="QK2QOTNMO6m3fys5cO27tk4" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@localhost/993927746-tigase-134 >> <iq id="EHRKFpRIvsWmazCjKLxgM2e" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 18:56:27 | non_ws_ :: ws__160zsa0133@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-25 18:56:28 | non_ws_ :: ws__160zsa0133@localhost/993927746-tigase-134 << <enabled location="d4270859fb27" id="48c11562-b765-4639-bdb0-3d9900b0efa9" max="60" xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 18:56:28 | non_ws_ :: ws__160zsa0133@localhost/993927746-tigase-134 << <iq from="localhost" id="QK2QOTNMO6m3fys5cO27tk4" type="result" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-134"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="im" 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="jabber:iq:auth"/><feature var="vcard-temp"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><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-25 18:56:28 | non_ws_ :: ws__160zsa0133@localhost/993927746-tigase-134 << <iq id="EHRKFpRIvsWmazCjKLxgM2e" type="result" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-134"><query xmlns="jabber:iq:roster"/></iq>

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

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@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-25 18:56:28 | ws_ :: ws__160zsa0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fMTYwenNhMDEzMyxyPTFqVDZiS0lEYWZaZnhpeVNIU3ZD</auth>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj0xalQ2YktJRGFmWmZ4aXlTSFN2Q3ZiTUtiMFdHSjRVeGpyc0Z3Szk0LHM9WFZkT0sxU0ZMOEFsUmc9PSxpPTQwOTY=</challenge>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9MWpUNmJLSURhZlpmeGl5U0hTdkN2Yk1LYjBXR0o0VXhqcnNGd0s5NCxwPTY2STdpNXJlSEM0a3Z6eEtpOG96c3FhRnNHektYVlhaTFA4NDNlSnJCSjQ9</response>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1MR1g5OWt6cUEyRTRVdjFCUkJnQStlYnNsTUphei9NQ1BiR3BnbXRwWDZBPQ==</success>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@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" xmlns="http://jabber.org/protocol/caps" ver="bt2mj6vq9J3s6VE0/7D8Mo0TIoU=" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost >> <iq xmlns="jabber:client" id="clLdvsWmazCjKLxgM2eNJwo" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost << <iq id="clLdvsWmazCjKLxgM2eNJwo" type="result" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-135"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__160zsa0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="EJTONFnKzAcScDKzgNBo2yg" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 << <iq id="EJTONFnKzAcScDKzgNBo2yg" type="result" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-135"/>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="5nNwqgRTRLw7GogYbQLEz9u" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 >> <iq id="RqUDx5mYq0lPIMJuocr7CED" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@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-25 18:56:28 | [Mutex] waiting for: [websocket:message:to:85c25d94-2f4c-47ab-9fe4-63d0ccfd3785]

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 << <enabled location="d4270859fb27" id="7c01271f-8a29-4b34-b844-3071c054ef49" max="60" xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 << <iq from="localhost" id="5nNwqgRTRLw7GogYbQLEz9u" type="result" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-135"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="router" category="component"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="im" 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="jabber:iq:auth"/><feature var="vcard-temp"/><feature var="http://jabber.org/protocol/amp"/><feature var="msgoffline"/><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-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 << <message from="ws__160zsa0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-135"><body>85c25d94-2f4c-47ab-9fe4-63d0ccfd3785</body></message>

2019-11-25 18:56:28 | ws_ :: ws__160zsa0133@localhost/993927746-tigase-135 << <iq id="RqUDx5mYq0lPIMJuocr7CED" type="result" xmlns="jabber:client" to="ws__160zsa0133@localhost/993927746-tigase-135"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 18:56:28 | [Mutex] notify: [websocket:message:to:85c25d94-2f4c-47ab-9fe4-63d0ccfd3785]

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

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

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

2019-11-25 18:56:28 | [Mutex] received everything.

2019-11-25 18:56:29 | [Mutex] isItemNotified: websocket:message:to:85c25d94-2f4c-47ab-9fe4-63d0ccfd3785 :: true