WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.904s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.404s
2019-11-26 18:41:14 |

2019-11-26 18:41:14 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-26 18:41:14 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.718s
2019-11-26 18:41:15 |

2019-11-26 18:41:15 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-26 18:41:15 | ------------------------------------

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@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-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19faDY4OXBtMDEzMyxyPXh5aUFCRWZ5QVpQRUhLc1ZZQ2Z5</auth>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj14eWlBQkVmeUFaUEVIS3NWWUNmeVpVc0RSR3VwZDVaNjN4ZzRuaTFILHM9WmkzWkpvVVNGYTEwL0E9PSxpPTQwOTY=</challenge>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9eHlpQUJFZnlBWlBFSEtzVllDZnlaVXNEUkd1cGQ1WjYzeGc0bmkxSCxwPVhPL2Jxb2RDY2N2THcwQnlldHZ1T2FjUjBNOHZTQWRnT0Ruc2VjQWtDNjg9</response>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1lNGVORW5SV0ZjLytZeTYrVno0c09ENzVrd3FnbnNjSVVUc2FoRTFUbkRNPQ==</success>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@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" ver="BTEL0uZZSv4xXXpA3cLLdyyHkxk=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps"/></features>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost >> <iq xmlns="jabber:client" id="KkQnQMT2l6BBAsiDAp7lbsj" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost << <iq xmlns="jabber:client" to="ws__h689pm0133@localhost/993927746-tigase-134" type="result" id="KkQnQMT2l6BBAsiDAp7lbsj"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__h689pm0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="Yzx0jJX0p1ul7rgP5EM2akK" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__h689pm0133@localhost/993927746-tigase-134" type="result" id="Yzx0jJX0p1ul7rgP5EM2akK"/>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="TFNFCChSZhFPKTZqdRVeLXo" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost/993927746-tigase-134 >> <iq id="hnTOS1sj1q8El0fNHTS9vsh" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@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-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost/993927746-tigase-134 << <enabled id="f2348220-4696-4cc7-9ff1-a2d484a4472d" max="60" location="d4270859fb27" resume="true" xmlns="urn:xmpp:sm:3"/>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" from="localhost" to="ws__h689pm0133@localhost/993927746-tigase-134" type="result" id="TFNFCChSZhFPKTZqdRVeLXo"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10591/f55efd39" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10591/f55efd39" category="server" 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="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 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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-26 18:41:15 | non_ws_ :: ws__h689pm0133@localhost/993927746-tigase-134 << <iq xmlns="jabber:client" to="ws__h689pm0133@localhost/993927746-tigase-134" type="result" id="hnTOS1sj1q8El0fNHTS9vsh"><query xmlns="jabber:iq:roster"/></iq>

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

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19faDY4OXBtMDEzMyxyPUpQR3czT3VZN2xQZmc2anNzTHRl</auth>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@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-26 18:41:15 | ws_ :: ws__h689pm0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1KUEd3M091WTdsUGZnNmpzc0x0ZWNlQkR1b01oaEJsN092N2hwVDVSLHM9WmkzWkpvVVNGYTEwL0E9PSxpPTQwOTY=</challenge>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9SlBHdzNPdVk3bFBmZzZqc3NMdGVjZUJEdW9NaGhCbDdPdjdocFQ1UixwPTRMZ3B3Ui9jc1NMN05BbUEwZERLYnVEaTBoZnYwczQra1V2cm1JQUpLNkk9</response>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1rc0kzeXpDU0JsNUhyN28wSlF5a2FVQWxFSzlBcW9CNFZ4WitQNGsxeDVvPQ==</success>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@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" ver="BTEL0uZZSv4xXXpA3cLLdyyHkxk=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps"/></features>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost >> <iq xmlns="jabber:client" id="kzrZn9GEGp8vjJX0p1ul7rg" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost << <iq xmlns="jabber:client" to="ws__h689pm0133@localhost/993927746-tigase-135" type="result" id="kzrZn9GEGp8vjJX0p1ul7rg"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__h689pm0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="OEEfLWhXiS8jW7xbRO1fWfV" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__h689pm0133@localhost/993927746-tigase-135" type="result" id="OEEfLWhXiS8jW7xbRO1fWfV"/>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="RKUUdOUcrcDzfZ4xh0nbzwl" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 >> <iq id="wQa7Dto9JFIJTg0u48mOXaB" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@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-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 << <enabled id="841bb613-2afe-4bbf-a8f8-2124a31d8dac" max="60" location="d4270859fb27" resume="true" xmlns="urn:xmpp:sm:3"/>

2019-11-26 18:41:15 | [Mutex] waiting for: [websocket:message:to:f5a9f031-219a-4763-bc6b-f06ed1e64189]

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

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" to="ws__h689pm0133@localhost/993927746-tigase-135" type="result" id="wQa7Dto9JFIJTg0u48mOXaB"><query xmlns="jabber:iq:roster"/></iq>

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

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

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 << <iq xmlns="jabber:client" from="localhost" to="ws__h689pm0133@localhost/993927746-tigase-135" type="result" id="RKUUdOUcrcDzfZ4xh0nbzwl"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10591/f55efd39" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10591/f55efd39" category="server" 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="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 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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq>

2019-11-26 18:41:15 | ws_ :: ws__h689pm0133@localhost/993927746-tigase-135 << <message from="ws__h689pm0133@localhost/993927746-tigase-134" to="ws__h689pm0133@localhost/993927746-tigase-135" xmlns="jabber:client"><body>f5a9f031-219a-4763-bc6b-f06ed1e64189</body></message>

2019-11-26 18:41:15 | [Mutex] notify: [websocket:message:to:f5a9f031-219a-4763-bc6b-f06ed1e64189]

2019-11-26 18:41:15 | [Mutex] received everything.

2019-11-26 18:41:16 | [Mutex] isItemNotified: websocket:message:to:f5a9f031-219a-4763-bc6b-f06ed1e64189 :: true