WebSocket: Test WebSocket connectivity - #3305

Test duration: 3.038s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-20 21:00:03 |

2019-11-20 21:00:03 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-20 21:00:03 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.749s
2019-11-20 21:00:04 |

2019-11-20 21:00:04 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-20 21:00:04 | ------------------------------------

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@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-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fYTNtc3NkMDEyMSxyPUduOUtPaUhyNEFvRHVtTWhCdEFC</auth>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1HbjlLT2lIcjRBb0R1bU1oQnRBQnVXUEtjczZIaTZjVkpOcXYyd2E3LHM9R21CeDdxT1hUYnpiT3c9PSxpPTQwOTY=</challenge>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9R245S09pSHI0QW9EdW1NaEJ0QUJ1V1BLY3M2SGk2Y1ZKTnF2MndhNyxwPVhXMGFtWVlRQkpmNG1RNGhYS243UFRZUXVUdEVEZy9hTzdhNFV6dTdqU0E9</response>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1MR2MyZDlZcUtKaW5aRzFTd3VWUnk2NFF0RGYyeGFoOVdIOXNRdzNjeDhjPQ==</success>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@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" ver="8SAx7sxxLI3422mjAeBbH2oWxJg=" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost >> <iq xmlns="jabber:client" id="3es4AAeRWmJzCDDjLwv6iEk" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost << <iq type="result" xmlns="jabber:client" id="3es4AAeRWmJzCDDjLwv6iEk" to="ws__a3mssd0121@localhost/993927746-tigase-122"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__a3mssd0121@localhost/993927746-tigase-122</jid></bind></iq>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 >> <iq xmlns="jabber:client" id="yckQ7GMCDusVXobJv9i3cu2" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 << <iq type="result" xmlns="jabber:client" id="yckQ7GMCDusVXobJv9i3cu2" to="ws__a3mssd0121@localhost/993927746-tigase-122"/>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 >> <iq to="localhost" id="ydlSbO28FyAbtqfRLFk7kKy" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 >> <iq id="ZbdfLzbM1tocsjQalN4xrVZ" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 << <enabled xmlns="urn:xmpp:sm:3" id="bc77d926-7dbc-4b5c-8a36-d7cd8bb5f85a" resume="true" max="60" location="d4270859fb27"/>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 << <iq type="result" xmlns="jabber:client" id="ZbdfLzbM1tocsjQalN4xrVZ" to="ws__a3mssd0121@localhost/993927746-tigase-122"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 << <presence xmlns="jabber:client" from="ws__a3mssd0121@localhost/993927746-tigase-122" to="ws__a3mssd0121@localhost"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-11-20 21:00:04 | non_ws_ :: ws__a3mssd0121@localhost/993927746-tigase-122 << <iq type="result" xmlns="jabber:client" id="ydlSbO28FyAbtqfRLFk7kKy" from="localhost" to="ws__a3mssd0121@localhost/993927746-tigase-122"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" category="server"/><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="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:encrypt:0"/><feature var="tigase:push:ignore-unknown:0"/><feature var="tigase:push:muc:0"/><feature var="tigase:push: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>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@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-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fYTNtc3NkMDEyMSxyPVFYeTNYdWwyMURlSndheWVzekRx</auth>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1RWHkzWHVsMjFEZUp3YXllc3pEcVhhdXJjZGJHZkN2QzFHZXRoYUp5LHM9R21CeDdxT1hUYnpiT3c9PSxpPTQwOTY=</challenge>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9UVh5M1h1bDIxRGVKd2F5ZXN6RHFYYXVyY2RiR2ZDdkMxR2V0aGFKeSxwPTF6ZHg1NHBCT1ZNNWwrL1crd0lLUUttWW82SkYwVkxJd0R2ZzlLNGVNYzA9</response>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1aOXNHUUF1V0dyVU11aWxoc2l6U3hDaTVPZUdINks5WE5GYmlqb1hqaGg4PQ==</success>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@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" ver="8SAx7sxxLI3422mjAeBbH2oWxJg=" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost >> <iq xmlns="jabber:client" id="OP7qWY02nPY4yt2lJvqj3yw" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost << <iq type="result" xmlns="jabber:client" id="OP7qWY02nPY4yt2lJvqj3yw" to="ws__a3mssd0121@localhost/993927746-tigase-123"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__a3mssd0121@localhost/993927746-tigase-123</jid></bind></iq>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 >> <iq xmlns="jabber:client" id="RWqDiTR2cOZ4pRLWl7GMCDu" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 << <iq type="result" xmlns="jabber:client" id="RWqDiTR2cOZ4pRLWl7GMCDu" to="ws__a3mssd0121@localhost/993927746-tigase-123"/>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 >> <iq to="localhost" id="h0ATfAgAcHtgEINGDjFKXl8" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 >> <iq id="nUgybGuo9o39l6FLYmMX8Kv" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-20 21:00:04 | [Mutex] waiting for: [websocket:message:to:0e29424e-06ef-4a36-b5cc-2d74d606b81b]

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 << <enabled xmlns="urn:xmpp:sm:3" id="d5364344-dde6-476d-8c2f-df6d36c5c700" resume="true" max="60" location="d4270859fb27"/>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 << <iq type="result" xmlns="jabber:client" id="nUgybGuo9o39l6FLYmMX8Kv" to="ws__a3mssd0121@localhost/993927746-tigase-123"><query xmlns="jabber:iq:roster"/></iq>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 << <iq type="result" xmlns="jabber:client" id="h0ATfAgAcHtgEINGDjFKXl8" from="localhost" to="ws__a3mssd0121@localhost/993927746-tigase-123"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10574/f55efd39" category="server"/><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="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:encrypt:0"/><feature var="tigase:push:ignore-unknown:0"/><feature var="tigase:push:muc:0"/><feature var="tigase:push: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>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 << <message xmlns="jabber:client" from="ws__a3mssd0121@localhost/993927746-tigase-122" to="ws__a3mssd0121@localhost/993927746-tigase-123"><body>0e29424e-06ef-4a36-b5cc-2d74d606b81b</body></message>

2019-11-20 21:00:04 | [Mutex] notify: [websocket:message:to:0e29424e-06ef-4a36-b5cc-2d74d606b81b]

2019-11-20 21:00:04 | [Mutex] received everything.

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 << <presence xmlns="jabber:client" from="ws__a3mssd0121@localhost/993927746-tigase-122" to="ws__a3mssd0121@localhost"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-11-20 21:00:04 | ws_ :: ws__a3mssd0121@localhost/993927746-tigase-123 << <presence xmlns="jabber:client" from="ws__a3mssd0121@localhost/993927746-tigase-123" to="ws__a3mssd0121@localhost"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence>

2019-11-20 21:00:05 | [Mutex] isItemNotified: websocket:message:to:0e29424e-06ef-4a36-b5cc-2d74d606b81b :: true