WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.733s

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

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

2020-01-02 19:47:25 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.690s
2020-01-02 19:47:26 |

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

2020-01-02 19:47:26 | ------------------------------------

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@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>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fZXptYmJmMDEzMyxyPVJHVnpFdHc2d0tiQjlpQXFQcDBH</auth>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1SR1Z6RXR3NndLYkI5aUFxUHAwR1BBeFlIOUU5MGFRa3hYTTJnTW1ULHM9d3V6MWhTZXBkdFMzMUE9PSxpPTQwOTY=</challenge>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9UkdWekV0dzZ3S2JCOWlBcVBwMEdQQXhZSDlFOTBhUWt4WE0yZ01tVCxwPWZLYVJXVTdTeDhpck80TG1HVk9FM0lVL0JzcGN6eU5meEVQbm1jT09DZjA9</response>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj0xWmpFVGx2M1QvbURhZWNKWDFTdGw4UzRJUFAyYUhJcmpXU3d2cUp2c1A0PQ==</success>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@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" hash="SHA-1" xmlns="http://jabber.org/protocol/caps" ver="U50wTE5DO0LdCVLF7H+/k5Q8gBA="/></features>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost >> <iq xmlns="jabber:client" id="4qgfZp7tcxdHJsnUS2esdKz" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost << <iq id="4qgfZp7tcxdHJsnUS2esdKz" xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-133" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__ezmbbf0133@localhost/943755961-tigase-133</jid></bind></iq>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-133 >> <iq xmlns="jabber:client" id="lbv0kJwjHNO2qX8iPUQbNT1" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-133 << <iq id="lbv0kJwjHNO2qX8iPUQbNT1" xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-133" type="result"/>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-133 >> <iq to="localhost" id="rhLCsk07sW7u0vrbBs3fLRI" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-133 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-133 >> <iq id="hn1NSUOVapS17Duo8nYYbCg" type="get"><query xmlns="jabber:iq:roster"/></iq>

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

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-133 << <enabled id="a9eb3b22-2f0b-41c6-a03a-67512e45694f" xmlns="urn:xmpp:sm:3" resume="true" location="2938d31d0913" max="60"/>

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-133 << <iq id="hn1NSUOVapS17Duo8nYYbCg" xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-133" type="result"><query xmlns="jabber:iq:roster"/></iq>

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

2020-01-02 19:47:26 | non_ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-133 << <iq id="rhLCsk07sW7u0vrbBs3fLRI" xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-133" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10616/8871f720"/><identity category="server" type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10616/8871f720"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><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>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@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>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fZXptYmJmMDEzMyxyPUxWNDBBZXRlNTQwMDJ3bmZ2YXVJ</auth>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1MVjQwQWV0ZTU0MDAyd25mdmF1SVhxMXZWYjFNSlNJRVJRNVVYS0hCLHM9d3V6MWhTZXBkdFMzMUE9PSxpPTQwOTY=</challenge>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9TFY0MEFldGU1NDAwMnduZnZhdUlYcTF2VmIxTUpTSUVSUTVVWEtIQixwPUxYNTJhU01aRzZFOFdGemVkQjljbDY4MGxHd0FPWm9Obm5NTGlsUERCZWM9</response>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1zaVhMcnkxSFEvbWQrMWo1ZnFTS1hBbEdWWmZuOHpYaVAyQTNTenBWRnZRPQ==</success>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@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" hash="SHA-1" xmlns="http://jabber.org/protocol/caps" ver="U50wTE5DO0LdCVLF7H+/k5Q8gBA="/></features>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost >> <iq xmlns="jabber:client" id="9thv9r9DgZ8kW24rct0hDFy" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost << <iq id="9thv9r9DgZ8kW24rct0hDFy" xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-134" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__ezmbbf0133@localhost/943755961-tigase-134</jid></bind></iq>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 >> <iq xmlns="jabber:client" id="ffziKyoWS3qVU5fT0qcveud" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 << <iq id="ffziKyoWS3qVU5fT0qcveud" xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-134" type="result"/>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 >> <iq to="localhost" id="hq4T4iAtgBgNFJGMUV4azoO" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 >> <iq id="dyqSKX4cGw2n4dufzxi0mPS" type="get"><query xmlns="jabber:iq:roster"/></iq>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@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:47:26 | [Mutex] waiting for: [websocket:message:to:ec6e587b-c70c-4458-87c1-7d74f31283c5]

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 << <enabled id="31513365-6098-44ea-8ef7-1e00fe103c47" xmlns="urn:xmpp:sm:3" resume="true" location="2938d31d0913" max="60"/>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 << <iq id="dyqSKX4cGw2n4dufzxi0mPS" xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-134" type="result"><query xmlns="jabber:iq:roster"/></iq>

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

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

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 << <iq id="hq4T4iAtgBgNFJGMUV4azoO" xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-134" type="result" from="localhost"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10616/8871f720"/><identity category="server" type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10616/8871f720"/><feature var="http://jabber.org/protocol/commands"/><x xmlns="jabber:x:data" type="result"><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>

2020-01-02 19:47:26 | ws_ :: ws__ezmbbf0133@localhost/943755961-tigase-134 << <message xmlns="jabber:client" to="ws__ezmbbf0133@localhost/943755961-tigase-134" from="ws__ezmbbf0133@localhost/943755961-tigase-133"><body>ec6e587b-c70c-4458-87c1-7d74f31283c5</body></message>

2020-01-02 19:47:26 | [Mutex] notify: [websocket:message:to:ec6e587b-c70c-4458-87c1-7d74f31283c5]

2020-01-02 19:47:26 | [Mutex] received everything.

2020-01-02 19:47:27 | [Mutex] isItemNotified: websocket:message:to:ec6e587b-c70c-4458-87c1-7d74f31283c5 :: true