WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.742s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-11-25 20:43:49 |

2019-11-25 20:43:49 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-25 20:43:49 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.713s
2019-11-25 20:43:50 |

2019-11-25 20:43:50 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-25 20:43:50 | ------------------------------------

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@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>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19feTFzdzhoMDEzMyxyPVZYSTl2cndKMnBlVm55QlRzRXpF</auth>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1WWEk5dnJ3SjJwZVZueUJUc0V6RWJ6UUN1c01LMU9nemRiOGV0bDIzLHM9STllRE8yVlRHSGpqQXc9PSxpPTQwOTY=</challenge>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9VlhJOXZyd0oycGVWbnlCVHNFekVielFDdXNNSzFPZ3pkYjhldGwyMyxwPW82cTJoVWlGVnhCa0JIQkxUYXJyZ25RdmtBd2hPUWNsMW9LdUxMSW1xZ289</response>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj0rWnpzSWR3bURtalV6OXA5cDNxcUVobFpqRWx4L1V5d3pCcGsvWGQ5SGZBPQ==</success>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@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 xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server" ver="bt2mj6vq9J3s6VE0/7D8Mo0TIoU=" hash="SHA-1"/></features>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost >> <iq xmlns="jabber:client" id="OwqOFFzdPHAFFFwwgCCs6sU" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost << <iq id="OwqOFFzdPHAFFFwwgCCs6sU" xmlns="jabber:client" type="result" to="ws__y1sw8h0133@localhost/993927746-tigase-134"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__y1sw8h0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="ViIj7zt8KIwq4kUOGElbo2f" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 << <iq id="ViIj7zt8KIwq4kUOGElbo2f" xmlns="jabber:client" type="result" to="ws__y1sw8h0133@localhost/993927746-tigase-134"/>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="yEKp0gw6u1x6s5bIMDynNV5" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 >> <iq id="0vhl4mU48kWVlIGx5woR0hB" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@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-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 << <enabled id="e7216539-fd40-4267-9e75-7f915bbc2859" xmlns="urn:xmpp:sm:3" location="d4270859fb27" max="60" resume="true"/>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 << <iq id="0vhl4mU48kWVlIGx5woR0hB" xmlns="jabber:client" type="result" to="ws__y1sw8h0133@localhost/993927746-tigase-134"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 << <iq id="yEKp0gw6u1x6s5bIMDynNV5" xmlns="jabber:client" from="localhost" type="result" to="ws__y1sw8h0133@localhost/993927746-tigase-134"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" 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="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-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 << <presence from="ws__y1sw8h0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__y1sw8h0133@localhost"><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19feTFzdzhoMDEzMyxyPUdaVlMzV3pHT1JmS3htNFZJRUpI</auth>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@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>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1HWlZTM1d6R09SZkt4bTRWSUVKSE4xRDhVZklLQndLNUplSElDbmUyLHM9STllRE8yVlRHSGpqQXc9PSxpPTQwOTY=</challenge>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9R1pWUzNXekdPUmZLeG00VklFSkhOMUQ4VWZJS0J3SzVKZUhJQ25lMixwPTZRcDhOY2htNThocmVkcW5KT2hsdUluVTQ3TGNhaDVrdWtOWnQrdGhoaFk9</response>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj15T09OWGF0S3hZcldEK1pCejZlNlNZRThjWlA5VGwvVE5zc1ppa2RnNXlBPQ==</success>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@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 xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server" ver="bt2mj6vq9J3s6VE0/7D8Mo0TIoU=" hash="SHA-1"/></features>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost >> <iq xmlns="jabber:client" id="GN7Xav1o8lYdthNFJvcT7zk" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost << <iq id="GN7Xav1o8lYdthNFJvcT7zk" xmlns="jabber:client" type="result" to="ws__y1sw8h0133@localhost/993927746-tigase-135"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__y1sw8h0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="dua2qcteJvlVVfxg1n5mcCk" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 << <iq id="dua2qcteJvlVVfxg1n5mcCk" xmlns="jabber:client" type="result" to="ws__y1sw8h0133@localhost/993927746-tigase-135"/>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="sFFmUiOIOQS004qThAq13sg" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 >> <iq id="fHJv5sbp9x9Hr4DBxg0eyuc" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@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-25 20:43:50 | [Mutex] waiting for: [websocket:message:to:2eaa2d84-c187-440d-ac4d-5f39f596ce47]

2019-11-25 20:43:50 | non_ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-134 << <presence from="ws__y1sw8h0133@localhost/993927746-tigase-135" xmlns="jabber:client" to="ws__y1sw8h0133@localhost"><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 << <enabled id="7e5809c1-1d8a-4af1-bdc0-bcde5c9a9289" xmlns="urn:xmpp:sm:3" location="d4270859fb27" max="60" resume="true"/>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 << <iq id="fHJv5sbp9x9Hr4DBxg0eyuc" xmlns="jabber:client" type="result" to="ws__y1sw8h0133@localhost/993927746-tigase-135"><query xmlns="jabber:iq:roster"/></iq>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 << <iq id="sFFmUiOIOQS004qThAq13sg" xmlns="jabber:client" from="localhost" type="result" to="ws__y1sw8h0133@localhost/993927746-tigase-135"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="component" name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" type="router"/><identity category="server" name="Tigase ver. 8.1.0-SNAPSHOT-b10580/f55efd39" 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="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-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 << <presence from="ws__y1sw8h0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__y1sw8h0133@localhost"><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 << <presence from="ws__y1sw8h0133@localhost/993927746-tigase-135" xmlns="jabber:client" to="ws__y1sw8h0133@localhost"><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2019-11-25 20:43:50 | ws_ :: ws__y1sw8h0133@localhost/993927746-tigase-135 << <message from="ws__y1sw8h0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__y1sw8h0133@localhost/993927746-tigase-135"><body>2eaa2d84-c187-440d-ac4d-5f39f596ce47</body></message>

2019-11-25 20:43:50 | [Mutex] notify: [websocket:message:to:2eaa2d84-c187-440d-ac4d-5f39f596ce47]

2019-11-25 20:43:50 | [Mutex] received everything.

2019-11-25 20:43:51 | [Mutex] isItemNotified: websocket:message:to:2eaa2d84-c187-440d-ac4d-5f39f596ce47 :: true