WebSocket: Test WebSocket connectivity - #3305

Test duration: 2.851s

Passed Tests
tigase.tests.server.TestWebSocketConnectivity
testWebSocket_ConnectionHeaderCaseSensitivity 0.403s
2019-11-26 20:12:37 |

2019-11-26 20:12:37 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-26 20:12:37 | ------------------------------------

testWebSocket_TwoFramesPingAndTextFrameInSingleTcpFrame 1.753s
2019-11-26 20:12:38 |

2019-11-26 20:12:38 | null / [TestClass name=class tigase.tests.server.TestWebSocketConnectivity]

2019-11-26 20:12:38 | ------------------------------------

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@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-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdDJ3bHAwMTMzLHI9RnVkSlpyaVk3V1RSOXRQWkp3TUY=</auth>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1GdWRKWnJpWTdXVFI5dFBaSndNRmRsY3Iwb3hlNXJUTTBtb093QkV1LHM9akpVL0tsL2JpeVJzSFE9PSxpPTQwOTY=</challenge>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9RnVkSlpyaVk3V1RSOXRQWkp3TUZkbGNyMG94ZTVyVE0wbW9Pd0JFdSxwPWhWV0xQS0pUZ3Y0dkF5ZnFzZzJZV2lvREtOZWRKSjdRZjY1TldZVWhaMVk9</response>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1vdCsvK201ZlliMFN1c2pYUDMvb3NVckVYYjJEb2R2MWQyR3R5ZlFVdFlBPQ==</success>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@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" ver="BTEL0uZZSv4xXXpA3cLLdyyHkxk=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost >> <iq xmlns="jabber:client" id="cACesZdNXaxaMYXfO6lJsgU" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost << <iq id="cACesZdNXaxaMYXfO6lJsgU" xmlns="jabber:client" type="result" to="ws__t2wlp0133@localhost/993927746-tigase-134"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__t2wlp0133@localhost/993927746-tigase-134</jid></bind></iq>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost/993927746-tigase-134 >> <iq xmlns="jabber:client" id="DIY2kIKQZY1hVdGzeUethSe" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost/993927746-tigase-134 << <iq id="DIY2kIKQZY1hVdGzeUethSe" xmlns="jabber:client" type="result" to="ws__t2wlp0133@localhost/993927746-tigase-134"/>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost/993927746-tigase-134 >> <iq to="localhost" id="dzvHtbJPU18IQHJM2dtWeQN" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost/993927746-tigase-134 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost/993927746-tigase-134 >> <iq id="KhBYbJPU18IQHJM2dtWeQNI" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@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-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost/993927746-tigase-134 << <enabled resume="true" id="e5be6e4f-0f0a-457b-87f6-cca3f893adae" xmlns="urn:xmpp:sm:3" location="d4270859fb27" max="60"/>

2019-11-26 20:12:38 | non_ws_ :: ws__t2wlp0133@localhost/993927746-tigase-134 << <iq id="KhBYbJPU18IQHJM2dtWeQNI" xmlns="jabber:client" type="result" to="ws__t2wlp0133@localhost/993927746-tigase-134"><query xmlns="jabber:iq:roster"/></iq>

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

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@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-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj13c19fdDJ3bHAwMTMzLHI9S1hHcGpNRkJwUEZqUzVTTGNYSG8=</auth>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1LWEdwak1GQnBQRmpTNVNMY1hIb3ZhaDBVNlhsN2NCekkyc0wza0pCLHM9akpVL0tsL2JpeVJzSFE9PSxpPTQwOTY=</challenge>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXdzLHI9S1hHcGpNRkJwUEZqUzVTTGNYSG92YWgwVTZYbDdjQnpJMnNMM2tKQixwPVVMSjE4VnFjS3dwZlpVZXVqMXR3MTBBVlEzUnNwMExXT2ZPZ2d3T2M3SlU9</response>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1OamdhL3JlQXk3dDNQU0wvRzhWbTlaU0hQMWdmSjI2VEsyS21Ka3RqRVZZPQ==</success>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@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" ver="BTEL0uZZSv4xXXpA3cLLdyyHkxk=" hash="SHA-1" node="https://tigase.net/tigase-xmpp-server"/></features>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost >> <iq xmlns="jabber:client" id="pDDh2dtWeQNIu0lZrhOGGIJ" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost << <iq id="pDDh2dtWeQNIu0lZrhOGGIJ" xmlns="jabber:client" type="result" to="ws__t2wlp0133@localhost/993927746-tigase-135"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>ws__t2wlp0133@localhost/993927746-tigase-135</jid></bind></iq>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 >> <iq xmlns="jabber:client" id="GnPFGFkJHLT2hEKUPZi4hBc" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 << <iq id="GnPFGFkJHLT2hEKUPZi4hBc" xmlns="jabber:client" type="result" to="ws__t2wlp0133@localhost/993927746-tigase-135"/>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 >> <iq to="localhost" id="JDzPJHLT2hEKUPZi4hBcKSR" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 >> <iq id="xs0PIsfN3vgAukXUT1pbCrY" type="get"><query xmlns="jabber:iq:roster"/></iq>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@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-26 20:12:38 | [Mutex] waiting for: [websocket:message:to:41f7f861-b502-4b75-9460-393481eda276]

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 << <enabled resume="true" id="604d7a76-bc6b-4586-9b44-d64d7f0ce13f" xmlns="urn:xmpp:sm:3" location="d4270859fb27" max="60"/>

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 << <iq from="localhost" id="JDzPJHLT2hEKUPZi4hBcKSR" xmlns="jabber:client" type="result" to="ws__t2wlp0133@localhost/993927746-tigase-135"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.1.0-SNAPSHOT-b10591/f55efd39" category="component"/><identity type="im" name="Tigase ver. 8.1.0-SNAPSHOT-b10591/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="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 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-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 << <iq id="xs0PIsfN3vgAukXUT1pbCrY" xmlns="jabber:client" type="result" to="ws__t2wlp0133@localhost/993927746-tigase-135"><query xmlns="jabber:iq:roster"/></iq>

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

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

2019-11-26 20:12:38 | ws_ :: ws__t2wlp0133@localhost/993927746-tigase-135 << <message from="ws__t2wlp0133@localhost/993927746-tigase-134" xmlns="jabber:client" to="ws__t2wlp0133@localhost/993927746-tigase-135"><body>41f7f861-b502-4b75-9460-393481eda276</body></message>

2019-11-26 20:12:38 | [Mutex] notify: [websocket:message:to:41f7f861-b502-4b75-9460-393481eda276]

2019-11-26 20:12:38 | [Mutex] received everything.

2019-11-26 20:12:39 | [Mutex] isItemNotified: websocket:message:to:41f7f861-b502-4b75-9460-393481eda276 :: true