WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.785s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2020-01-02 19:16:33 |

2020-01-02 19:16:33 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2020-01-02 19:16:33 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.671s
2020-01-02 19:16:34 |

2020-01-02 19:16:34 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2020-01-02 19:16:34 | ------------------------------------

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@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>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fMWRpMTF2MDEzMyxyPUpLdzN1U3hnQnYzcHJFSEZDSzR4</auth>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1KS3czdVN4Z0J2M3ByRUhGQ0s0eG8yMTdhWHd0TmFNZFJTV0Zzekx5LHM9Z0NFZjAzZlBCZWdGQkE9PSxpPTQwOTY=</challenge>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9Skt3M3VTeGdCdjNwckVIRkNLNHhvMjE3YVh3dE5hTWRSU1dGc3pMeSxwPXBEcXIxOGVzZG44S01lSkJWRnZwQ3hWekF5Yk1wOEhoZzV1Q1Q1S1B6eUE9</response>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj11RGVqV2pkYjVXUVE3ZlY1dHBvNVJSeVlPQ3krZTZTc1ZIbVZ0cmozckZrPQ==</success>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@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 ver="U50wTE5DO0LdCVLF7H+/k5Q8gBA=" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" hash="SHA-1"/></features>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost >> <iq xmlns="jabber:client" id="cHXZmat4BpcRaIDHraFGCFz" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost << <iq xmlns="jabber:client" id="cHXZmat4BpcRaIDHraFGCFz" to="ws__1di11v0133@localhost/943755961-tigase-134" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__1di11v0133@localhost/943755961-tigase-134</jid></bind></iq>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 >> <iq xmlns="jabber:client" id="TDJm9lYhU4znSY3i25q08Hu" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 << <iq xmlns="jabber:client" id="TDJm9lYhU4znSY3i25q08Hu" to="ws__1di11v0133@localhost/943755961-tigase-134" type="result"/>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 >> <iq to="localhost" id="vHTIykLISLMIyxaNYk6lO5n" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 >> <iq id="CiEfEqhELUcQPM1fSdS8tnN" type="get"><query xmlns="jabber:iq:roster"/></iq>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 << <enabled xmlns="urn:xmpp:sm:3" id="0ad518e9-f906-45f6-8a5a-fdb90507d9a8" resume="true" location="2938d31d0913" max="60"/>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 << <iq xmlns="jabber:client" id="CiEfEqhELUcQPM1fSdS8tnN" to="ws__1di11v0133@localhost/943755961-tigase-134" type="result"><query xmlns="jabber:iq:roster"/></iq>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 << <iq xmlns="jabber:client" id="vHTIykLISLMIyxaNYk6lO5n" to="ws__1di11v0133@localhost/943755961-tigase-134" from="localhost" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10616/8871f720" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10616/8871f720" type="im"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><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:encrypt:aes-128-gcm"/><feature var="tigase:push:filter:ignore-unknown:0"/><feature var="tigase:push:filter:groupchat:0"/><feature var="tigase:push:filter:muted:0"/><feature var="tigase:push:priority: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>

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 << <presence xmlns="jabber:client" to="ws__1di11v0133@localhost" from="ws__1di11v0133@localhost/943755961-tigase-134"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@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>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fMWRpMTF2MDEzMyxyPVJ2RkM3R0w0SklwVkV3RXBwWWM1</auth>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1SdkZDN0dMNEpJcFZFd0VwcFljNTRyWUVuajhQMGRmWGYyZnNRREpvLHM9Z0NFZjAzZlBCZWdGQkE9PSxpPTQwOTY=</challenge>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9UnZGQzdHTDRKSXBWRXdFcHBZYzU0cllFbmo4UDBkZlhmMmZzUURKbyxwPS84RWVyVldHSk1aMEdYc25YUFdnRmNNOVgxd3BadVZTdXNOdVFnMEt3SGc9</response>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1yZFFvWExBSkZNL0drM0E5bmpRb2lLSS9TZkFaNUVWWlQzalpRUVdPSzRrPQ==</success>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@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 ver="U50wTE5DO0LdCVLF7H+/k5Q8gBA=" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" hash="SHA-1"/></features>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost >> <iq xmlns="jabber:client" id="vJVMGAhKWT2eABi3umat4Bp" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost << <iq xmlns="jabber:client" id="vJVMGAhKWT2eABi3umat4Bp" to="ws__1di11v0133@localhost/943755961-tigase-135" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__1di11v0133@localhost/943755961-tigase-135</jid></bind></iq>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 >> <iq xmlns="jabber:client" id="pKWCwn6slVYar4AbCoUfADE" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 << <iq xmlns="jabber:client" id="pKWCwn6slVYar4AbCoUfADE" to="ws__1di11v0133@localhost/943755961-tigase-135" type="result"/>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 >> <iq to="localhost" id="pLXEAvmYnZ6qX6EjSUWjITa" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 >> <iq id="YGGp4znSY3i25q08HurgUgF" type="get"><query xmlns="jabber:iq:roster"/></iq>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2020-01-02 19:16:34 | [Mutex] waiting for: [websocket:message:to:1f51ebba-faea-41b1-8f48-be519f081a22]

2020-01-02 19:16:34 | non_ws_ :: ws__1di11v0133@localhost/943755961-tigase-134 << <presence xmlns="jabber:client" to="ws__1di11v0133@localhost" from="ws__1di11v0133@localhost/943755961-tigase-135"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 << <enabled xmlns="urn:xmpp:sm:3" id="b86ec8e9-63d4-4a62-be3a-6a1d7dba3881" resume="true" location="2938d31d0913" max="60"/>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 << <iq xmlns="jabber:client" id="YGGp4znSY3i25q08HurgUgF" to="ws__1di11v0133@localhost/943755961-tigase-135" type="result"><query xmlns="jabber:iq:roster"/></iq>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 << <message xmlns="jabber:client" to="ws__1di11v0133@localhost/943755961-tigase-135" from="ws__1di11v0133@localhost/943755961-tigase-134"><body>1f51ebba-faea-41b1-8f48-be519f081a22</body></message>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 << <presence xmlns="jabber:client" to="ws__1di11v0133@localhost" from="ws__1di11v0133@localhost/943755961-tigase-134"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 << <presence xmlns="jabber:client" to="ws__1di11v0133@localhost" from="ws__1di11v0133@localhost/943755961-tigase-135"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1"/></presence>

2020-01-02 19:16:34 | ws_ :: ws__1di11v0133@localhost/943755961-tigase-135 << <iq xmlns="jabber:client" id="pLXEAvmYnZ6qX6EjSUWjITa" to="ws__1di11v0133@localhost/943755961-tigase-135" from="localhost" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10616/8871f720" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10616/8871f720" type="im"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><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:encrypt:aes-128-gcm"/><feature var="tigase:push:filter:ignore-unknown:0"/><feature var="tigase:push:filter:groupchat:0"/><feature var="tigase:push:filter:muted:0"/><feature var="tigase:push:priority: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>

2020-01-02 19:16:34 | [Mutex] notify: [websocket:message:to:1f51ebba-faea-41b1-8f48-be519f081a22]

2020-01-02 19:16:34 | [Mutex] received everything.

2020-01-02 19:16:35 | [Mutex] isItemNotified: websocket:message:to:1f51ebba-faea-41b1-8f48-be519f081a22 :: true