Test duration : 1.101s
Passed Tests | ||
---|---|---|
tigase.tests.server.TestCredentialsManipulation | ||
testAddingCredentials | 0.050s |
2020-09-26 22:32:25 |
2020-09-26 22:32:25 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2020-09-26 22:32:25 | ------------------------------------ 2020-09-26 22:32:25 | [Mutex] waiting for: [adhoc] 2020-09-26 22:32:25 | [Mutex] received everything. 2020-09-26 22:32:25 | [Mutex] waiting for: [adhoc] 2020-09-26 22:32:25 | [Mutex] received everything. |
testAuthenticationWithNewCredentials | 0.231s |
2020-09-26 22:32:25 |
2020-09-26 22:32:25 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2020-09-26 22:32:25 | ------------------------------------ 2020-09-26 22:32:25 | >> <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><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"><required/></starttls><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><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"><required/></starttls><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features> 2020-09-26 22:32:25 | << <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2020-09-26 22:32:25 | >> <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-512</mechanism><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"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com << <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-512</mechanism><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"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features> 2020-09-26 22:32:25 | << <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxX3g2cGI1czAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6Xzc2cDcwOTAwNDQscj1pbXdOU3ltV3FLbUlwQ1B0V0NRQg==</auth> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxX3g2cGI1czAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6Xzc2cDcwOTAwNDQscj1pbXdOU3ltV3FLbUlwQ1B0V0NRQg==</auth> 2020-09-26 22:32:25 | >> <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1pbXdOU3ltV3FLbUlwQ1B0V0NRQkd4SkVOSktNME5NZTBpblphZDRWLHM9Zkp2TC9iRHZyRDhxaHc9PSxpPTQwOTY=</challenge> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1pbXdOU3ltV3FLbUlwQ1B0V0NRQkd4SkVOSktNME5NZTBpblphZDRWLHM9Zkp2TC9iRHZyRDhxaHc9PSxpPTQwOTY=</challenge> 2020-09-26 22:32:25 | << <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYM2cyY0dJMWN6QXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9aW13TlN5bVdxS21JcENQdFdDUUJHeEpFTkpLTTBOTWUwaW5aYWQ0VixwPXhUYVVGZ2xwSTA2UFAwZ1k1RmlOQkIrYVdYNkRRRFlzR0R4dXFUSG44dVE9</response> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYM2cyY0dJMWN6QXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9aW13TlN5bVdxS21JcENQdFdDUUJHeEpFTkpLTTBOTWUwaW5aYWQ0VixwPXhUYVVGZ2xwSTA2UFAwZ1k1RmlOQkIrYVdYNkRRRFlzR0R4dXFUSG44dVE9</response> 2020-09-26 22:32:25 | >> <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1MTE8yZHZDYWY2ejdYWGRkWm5xNnhMbUFiVzFhdHI4U3hzbW02dG5FU1hBPQ==</success> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1MTE8yZHZDYWY2ejdYWGRkWm5xNnhMbUFiVzFhdHI4U3hzbW02dG5FU1hBPQ==</success> 2020-09-26 22:32:25 | >> <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"/><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="gUIk2F9kbBFmpcgTkv03HOMvMio="/></features> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com << <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"/><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="gUIk2F9kbBFmpcgTkv03HOMvMio="/></features> 2020-09-26 22:32:25 | << <iq xmlns="jabber:client" id="lGaAtYn5DBshYaGJV8lNDAm" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com >> <iq xmlns="jabber:client" id="lGaAtYn5DBshYaGJV8lNDAm" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq> 2020-09-26 22:32:25 | >> <iq to="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" type="result" id="lGaAtYn5DBshYaGJV8lNDAm" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_x6pb5s0043@test-domain.com/857501620-tigase-49</jid></bind></iq> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com << <iq to="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" type="result" id="lGaAtYn5DBshYaGJV8lNDAm" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_x6pb5s0043@test-domain.com/857501620-tigase-49</jid></bind></iq> 2020-09-26 22:32:25 | << <iq xmlns="jabber:client" id="JHbyzAeu6eEDzaLRbHEFKIM" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 >> <iq xmlns="jabber:client" id="JHbyzAeu6eEDzaLRbHEFKIM" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 2020-09-26 22:32:25 | >> <iq to="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" type="result" id="JHbyzAeu6eEDzaLRbHEFKIM" xmlns="jabber:client"/> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 << <iq to="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" type="result" id="JHbyzAeu6eEDzaLRbHEFKIM" xmlns="jabber:client"/> 2020-09-26 22:32:25 | << <iq to="test-domain.com" id="dIcADIu08iMT5cPZrdGJSYi" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 >> <iq to="test-domain.com" id="dIcADIu08iMT5cPZrdGJSYi" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2020-09-26 22:32:25 | << <enable xmlns="urn:xmpp:sm:3" resume="true"/> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/> 2020-09-26 22:32:25 | >> <enabled max="60" resume="true" location="acb1a7e1250f" id="0d934601-05c2-4fe4-8909-3640a9a4a8f1" xmlns="urn:xmpp:sm:3"/> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 << <enabled max="60" resume="true" location="acb1a7e1250f" id="0d934601-05c2-4fe4-8909-3640a9a4a8f1" xmlns="urn:xmpp:sm:3"/> 2020-09-26 22:32:25 | << <iq id="6EYU8sdCAmZrkIs26o7x6DB" type="get"><query xmlns="jabber:iq:roster"/></iq> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 >> <iq id="6EYU8sdCAmZrkIs26o7x6DB" type="get"><query xmlns="jabber:iq:roster"/></iq> 2020-09-26 22:32:25 | >> <iq type="result" to="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" id="dIcADIu08iMT5cPZrdGJSYi" from="test-domain.com" xmlns="jabber:client"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.2.0-SNAPSHOT-b11150/54d3c3c5" category="component" type="router"/><identity name="Tigase ver. 8.2.0-SNAPSHOT-b11150/54d3c3c5" category="server" type="im"/><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@test-domain.com</value><value>xmpp:abuse@test-domain.com</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: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="tigase:push:jingle:0"/><feature var="jabber:iq:roster"/><feature var="jabber:iq:roster-dynamic"/><feature var="urn:xmpp:mam:1"/><feature var="urn:xmpp:mam:2"/><feature var="urn:xmpp:mix:pam:2#archive"/><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="urn:xmpp:extdisco:2"/><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-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 << <iq type="result" to="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" id="dIcADIu08iMT5cPZrdGJSYi" from="test-domain.com" xmlns="jabber:client"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.2.0-SNAPSHOT-b11150/54d3c3c5" category="component" type="router"/><identity name="Tigase ver. 8.2.0-SNAPSHOT-b11150/54d3c3c5" category="server" type="im"/><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@test-domain.com</value><value>xmpp:abuse@test-domain.com</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: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="tigase:push:jingle:0"/><feature var="jabber:iq:roster"/><feature var="jabber:iq:roster-dynamic"/><feature var="urn:xmpp:mam:1"/><feature var="urn:xmpp:mam:2"/><feature var="urn:xmpp:mix:pam:2#archive"/><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="urn:xmpp:extdisco:2"/><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-09-26 22:32:25 | << <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence> 2020-09-26 22:32:25 | >> <iq to="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" type="result" id="6EYU8sdCAmZrkIs26o7x6DB" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 << <iq to="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" type="result" id="6EYU8sdCAmZrkIs26o7x6DB" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq> 2020-09-26 22:32:25 | >> <presence to="user1_x6pb5s0043@test-domain.com" from="user1_x6pb5s0043@test-domain.com/857501620-tigase-48" xmlns="jabber:client"><c node="http://tigase.org/jaxmpp" hash="sha-1" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 << <presence to="user1_x6pb5s0043@test-domain.com" from="user1_x6pb5s0043@test-domain.com/857501620-tigase-48" xmlns="jabber:client"><c node="http://tigase.org/jaxmpp" hash="sha-1" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence> 2020-09-26 22:32:25 | >> <presence to="user1_x6pb5s0043@test-domain.com" from="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" xmlns="jabber:client"><c node="http://tigase.org/jaxmpp" hash="sha-1" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence> 2020-09-26 22:32:25 | user1 :: user1_x6pb5s0043@test-domain.com/857501620-tigase-49 << <presence to="user1_x6pb5s0043@test-domain.com" from="user1_x6pb5s0043@test-domain.com/857501620-tigase-49" xmlns="jabber:client"><c node="http://tigase.org/jaxmpp" hash="sha-1" xmlns="http://jabber.org/protocol/caps" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence> |
testDeletingCredentials | 0.047s |
2020-09-26 22:32:25 |
2020-09-26 22:32:25 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2020-09-26 22:32:25 | ------------------------------------ 2020-09-26 22:32:25 | [Mutex] waiting for: [adhoc] 2020-09-26 22:32:25 | [Mutex] received everything. 2020-09-26 22:32:25 | [Mutex] waiting for: [adhoc] 2020-09-26 22:32:25 | [Mutex] received everything. |
testRetrievingUsernames1 | 0.047s |
2020-09-26 22:32:25 |
2020-09-26 22:32:25 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2020-09-26 22:32:25 | ------------------------------------ 2020-09-26 22:32:25 | [Mutex] waiting for: [adhoc] 2020-09-26 22:32:25 | [Mutex] received everything. |