WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.793s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-12-12 20:38:28 |

2019-12-12 20:38:28 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-12-12 20:38:28 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.726s
2019-12-12 20:38:29 |

2019-12-12 20:38:29 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-12-12 20:38:29 | ------------------------------------

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fY2hmbml5MDEzMyxyPWlya01WNWpjMHMxcWJiQ045RzVa</auth>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@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-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1pcmtNVjVqYzBzMXFiYkNOOUc1Wkptb2s1Tk85Q2RabUtuWW43cDBBLHM9L1JyWUZBRUo2Ym41ZEE9PSxpPTQwOTY=</challenge>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9aXJrTVY1amMwczFxYmJDTjlHNVpKbW9rNU5POUNkWm1LblluN3AwQSxwPWhWcEc2WnpURXRaYk85YTREVThrcGdZT3RUeldNUEtTMmp6T1dhU0c1eXc9</response>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1lY25yeGsyNzNlcWowYndnK2hTamw2RC9NNk1vbVZlenNmVUhxb25SYjQ0PQ==</success>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@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="hl4VhwDjnzSaQaGklQvp8RGauF8=" xmlns="http://jabber.org/protocol/caps" hash="SHA-1"/></features>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost >> <iq xmlns="jabber:client" id="IyC4vhLyAfElY8JvgN3rfww" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost << <iq id="IyC4vhLyAfElY8JvgN3rfww" type="result" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-134"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__chfniy0133@localhost/943755961-tigase-134</jid></bind></iq>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 >> <iq xmlns="jabber:client" id="XtlQ1pQaP3AsVaLyfGtjLT3" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 << <iq id="XtlQ1pQaP3AsVaLyfGtjLT3" type="result" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-134"/>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 >> <iq to="localhost" id="YGWUbog1rm01m9kNMFHxr9v" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 >> <iq id="EgE8s1pXhPRKY1crawv3mZr" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 << <enabled location="2938d31d0913" resume="true" xmlns="urn:xmpp:sm:3" max="60" id="877e0b98-f039-4e1d-b2fa-98181e367484"/>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 << <iq id="YGWUbog1rm01m9kNMFHxr9v" from="localhost" type="result" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-134"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10612/8871f720" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10612/8871f720" category="server" type="im"/><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 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:encrypt:aes-128-gcm"/><feature var="tigase:push:filter:ignore-unknown:0"/><feature var="tigase:push:filter:groupchat:0"/><feature var="tigase:push:priority:0"/><feature var="tigase:push:filter: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-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 << <iq id="EgE8s1pXhPRKY1crawv3mZr" type="result" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-134"><query xmlns="jabber:iq:roster"/></iq>

2019-12-12 20:38:29 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 << <presence from="ws__chfniy0133@localhost/943755961-tigase-134" xmlns="jabber:client" to="ws__chfniy0133@localhost"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2019-12-12 20:38:29 | ws_ :: ws__chfniy0133@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-12 20:38:29 | ws_ :: ws__chfniy0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fY2hmbml5MDEzMyxyPVl0YmtvbElqWFdkMkFjZjQ1WmJJ</auth>

2019-12-12 20:38:29 | ws_ :: ws__chfniy0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1ZdGJrb2xJalhXZDJBY2Y0NVpiSURFM29TMVpyckNObWlXa2dLVjVLLHM9L1JyWUZBRUo2Ym41ZEE9PSxpPTQwOTY=</challenge>

2019-12-12 20:38:29 | ws_ :: ws__chfniy0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9WXRia29sSWpYV2QyQWNmNDVaYklERTNvUzFacnJDTm1pV2tnS1Y1SyxwPWtONy9FREd2bk9hZW9ZZU40QUhjc3hWbFMycVVGSEhmOXZjZ1JUR0JqZ1E9</response>

2019-12-12 20:38:29 | ws_ :: ws__chfniy0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1ZWFBUdzRya1ZKN2VkQUtDeHJDcnFMZTkxOGZsZVp5K3U5T250bnRHSFpzPQ==</success>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@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="hl4VhwDjnzSaQaGklQvp8RGauF8=" xmlns="http://jabber.org/protocol/caps" hash="SHA-1"/></features>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost >> <iq xmlns="jabber:client" id="WvlELR5cSfTgODABeBoT9rf" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost << <iq id="WvlELR5cSfTgODABeBoT9rf" type="result" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-135"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__chfniy0133@localhost/943755961-tigase-135</jid></bind></iq>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 >> <iq xmlns="jabber:client" id="KDHmVSexeviM15q7HJPGQbL" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 << <iq id="KDHmVSexeviM15q7HJPGQbL" type="result" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-135"/>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 >> <iq to="localhost" id="guebQLGp6ofxkVjXhAENZsc" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 >> <iq id="oL1MOTfP14CJRcGn4zat8n7" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-12-12 20:38:30 | [Mutex] waiting for: [websocket:message:to:f9eadec5-4d97-4535-bbf4-88ad588ec843]

2019-12-12 20:38:30 | non_ws_ :: ws__chfniy0133@localhost/943755961-tigase-134 << <presence from="ws__chfniy0133@localhost/943755961-tigase-135" xmlns="jabber:client" to="ws__chfniy0133@localhost"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 << <enabled location="2938d31d0913" resume="true" xmlns="urn:xmpp:sm:3" max="60" id="de13a3a4-bab1-4fda-a614-b2e507f5955d"/>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 << <iq id="oL1MOTfP14CJRcGn4zat8n7" type="result" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-135"><query xmlns="jabber:iq:roster"/></iq>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 << <presence from="ws__chfniy0133@localhost/943755961-tigase-134" xmlns="jabber:client" to="ws__chfniy0133@localhost"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 << <presence from="ws__chfniy0133@localhost/943755961-tigase-135" xmlns="jabber:client" to="ws__chfniy0133@localhost"><c node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 << <message from="ws__chfniy0133@localhost/943755961-tigase-134" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-135"><body>f9eadec5-4d97-4535-bbf4-88ad588ec843</body></message>

2019-12-12 20:38:30 | ws_ :: ws__chfniy0133@localhost/943755961-tigase-135 << <iq id="guebQLGp6ofxkVjXhAENZsc" from="localhost" type="result" xmlns="jabber:client" to="ws__chfniy0133@localhost/943755961-tigase-135"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10612/8871f720" category="component" type="router"/><identity name="Tigase ver. 8.1.0-SNAPSHOT-b10612/8871f720" category="server" type="im"/><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 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:encrypt:aes-128-gcm"/><feature var="tigase:push:filter:ignore-unknown:0"/><feature var="tigase:push:filter:groupchat:0"/><feature var="tigase:push:priority:0"/><feature var="tigase:push:filter: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-12 20:38:30 | [Mutex] notify: [websocket:message:to:f9eadec5-4d97-4535-bbf4-88ad588ec843]

2019-12-12 20:38:30 | [Mutex] received everything.

2019-12-12 20:38:31 | [Mutex] isItemNotified: websocket:message:to:f9eadec5-4d97-4535-bbf4-88ad588ec843 :: true