WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.965s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.402s
2019-11-27 21:02:08 |

2019-11-27 21:02:08 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-27 21:02:08 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.734s
2019-11-27 21:02:09 |

2019-11-27 21:02:09 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-27 21:02:09 | ------------------------------------

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@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-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19faTNtcnZpMDEzMyxyPXZaQXA3S1FYTElKYzZsWXRVeHBt</auth>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj12WkFwN0tRWExJSmM2bFl0VXhwbU5waUlXU1RoOUR0Yzg4S3ZXbGFrLHM9TnlDRHYyamhSQmx6anc9PSxpPTQwOTY=</challenge>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9dlpBcDdLUVhMSUpjNmxZdFV4cG1OcGlJV1NUaDlEdGM4OEt2V2xhayxwPTBScFA0S0JrdlZxY1Ftb1MwVnhYcHZXNlJ0UENtODFmdS9GK1E0S2hKak09</response>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1BMU43MnZTUHVKT3FkWndYa1JrMlFnSm9GditNZWJ6bVd5Zk9la2swNHRjPQ==</success>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@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" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" ver="TbICgu8ra7zV0VOWQA2Ec+/yqKw="/></features>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost >> <iq xmlns="jabber:client" id="dEOKybBxmT5oTW5sZqiGq4z" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost << <iq to="ws__i3mrvi0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client" id="dEOKybBxmT5oTW5sZqiGq4z"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__i3mrvi0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="xGSElPY8IJJDJsk5exjXczr" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 << <iq to="ws__i3mrvi0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client" id="xGSElPY8IJJDJsk5exjXczr"/>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="KHTx9xp6n3kLGzqVi2ao0r5" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 >> <iq id="sJX3cs8HBfDAmaDxfXUeTQL" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@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-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 << <enabled resume="true" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" id="432da4dd-8dbc-46dc-9913-84ca41b33724"/>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 << <iq from="localhost" to="ws__i3mrvi0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client" id="KHTx9xp6n3kLGzqVi2ao0r5"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="server"/><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 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: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-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 << <iq to="ws__i3mrvi0133@localhost/993927746-tigase-134" type="result" xmlns="jabber:client" id="sJX3cs8HBfDAmaDxfXUeTQL"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 21:02:09 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 << <presence to="ws__i3mrvi0133@localhost" xmlns="jabber:client" from="ws__i3mrvi0133@localhost/993927746-tigase-134"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 21:02:09 | ws_ :: ws__i3mrvi0133@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-27 21:02:09 | ws_ :: ws__i3mrvi0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19faTNtcnZpMDEzMyxyPVh5QUNBcDdvdHd4dUllZndMbXRV</auth>

2019-11-27 21:02:09 | ws_ :: ws__i3mrvi0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1YeUFDQXA3b3R3eHVJZWZ3TG10VXRnZlhqUXdtbXFBZGNPbHlvUEs1LHM9TnlDRHYyamhSQmx6anc9PSxpPTQwOTY=</challenge>

2019-11-27 21:02:09 | ws_ :: ws__i3mrvi0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9WHlBQ0FwN290d3h1SWVmd0xtdFV0Z2ZYalF3bW1xQWRjT2x5b1BLNSxwPThYLy9JcHhKWVJLT09LVXJzblBJUnlxd3JXZ3d6Y21hbHNCd2dqaGZHSnc9</response>

2019-11-27 21:02:09 | ws_ :: ws__i3mrvi0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj16QlhBSjFTV1pHUTcyMlc5VEJnNU15OHRYeDRXR0dvdkJlSlFMMlczNngwPQ==</success>

2019-11-27 21:02:09 | ws_ :: ws__i3mrvi0133@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" node="https://tigase.net/tigase-xmpp-server" xmlns="http://jabber.org/protocol/caps" ver="TbICgu8ra7zV0VOWQA2Ec+/yqKw="/></features>

2019-11-27 21:02:09 | ws_ :: ws__i3mrvi0133@localhost >> <iq xmlns="jabber:client" id="lBxZ5kR05CGsYaLJv9CqiT3" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-27 21:02:09 | ws_ :: ws__i3mrvi0133@localhost << <iq to="ws__i3mrvi0133@localhost/993927746-tigase-135" type="result" xmlns="jabber:client" id="lBxZ5kR05CGsYaLJv9CqiT3"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__i3mrvi0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-27 21:02:09 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="TqYNNSP6EoQUfHr1mUgPV1v" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 << <iq to="ws__i3mrvi0133@localhost/993927746-tigase-135" type="result" xmlns="jabber:client" id="TqYNNSP6EoQUfHr1mUgPV1v"/>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="CweBvhJVQ6DkJHJKFDu5kR0" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 >> <iq id="PDxWbAhIDybO4ewgX7hHICG" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@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-27 21:02:10 | [Mutex] waiting for: [websocket:message:to:63c01948-f264-485e-a181-703876578576]

2019-11-27 21:02:10 | non_ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-134 << <presence to="ws__i3mrvi0133@localhost" xmlns="jabber:client" from="ws__i3mrvi0133@localhost/993927746-tigase-135"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 << <enabled resume="true" max="60" location="d4270859fb27" xmlns="urn:xmpp:sm:3" id="46d40d27-15fd-41d2-b0d2-db6054be3450"/>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 << <iq to="ws__i3mrvi0133@localhost/993927746-tigase-135" type="result" xmlns="jabber:client" id="PDxWbAhIDybO4ewgX7hHICG"><query xmlns="jabber:iq:roster"/></iq>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 << <presence to="ws__i3mrvi0133@localhost" xmlns="jabber:client" from="ws__i3mrvi0133@localhost/993927746-tigase-134"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 << <presence to="ws__i3mrvi0133@localhost" xmlns="jabber:client" from="ws__i3mrvi0133@localhost/993927746-tigase-135"><c hash="sha-1" node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2019-11-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 << <iq from="localhost" to="ws__i3mrvi0133@localhost/993927746-tigase-135" type="result" xmlns="jabber:client" id="CweBvhJVQ6DkJHJKFDu5kR0"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10581/f55efd39" category="server"/><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 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: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-27 21:02:10 | ws_ :: ws__i3mrvi0133@localhost/993927746-tigase-135 << <message to="ws__i3mrvi0133@localhost/993927746-tigase-135" xmlns="jabber:client" from="ws__i3mrvi0133@localhost/993927746-tigase-134"><body>63c01948-f264-485e-a181-703876578576</body></message>

2019-11-27 21:02:10 | [Mutex] notify: [websocket:message:to:63c01948-f264-485e-a181-703876578576]

2019-11-27 21:02:10 | [Mutex] received everything.

2019-11-27 21:02:11 | [Mutex] isItemNotified: websocket:message:to:63c01948-f264-485e-a181-703876578576 :: true