Test duration : 1.031s
Passed Tests | ||
---|---|---|
tigase.tests.server.TestCredentialsManipulation | ||
testAddingCredentials | 0.050s |
2022-09-05 22:23:15 |
2022-09-05 22:23:15 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-05 22:23:15 | ------------------------------------ 2022-09-05 22:23:15 | [Mutex] waiting for: [adhoc] 2022-09-05 22:23:15 | [Mutex] received everything. 2022-09-05 22:23:15 | [Mutex] waiting for: [adhoc] 2022-09-05 22:23:15 | [Mutex] received everything. |
testAuthenticationWithNewCredentials | 0.259s |
2022-09-05 22:23:15 |
2022-09-05 22:23:15 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-05 22:23:15 | ------------------------------------ 2022-09-05 22:23:15 | >> <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> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@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> 2022-09-05 22:23:15 | << <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2022-09-05 22:23:15 | >> <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> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@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> 2022-09-05 22:23:15 | << <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxX3Nwd3p2OTAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6X2R2ZGlpcTAwNDQscj1xa3YzSUhIemZGUUhJQnc2V2hSWg==</auth> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxX3Nwd3p2OTAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6X2R2ZGlpcTAwNDQscj1xa3YzSUhIemZGUUhJQnc2V2hSWg==</auth> 2022-09-05 22:23:15 | >> <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1xa3YzSUhIemZGUUhJQnc2V2hSWlFXeFVydGJKaGt3WXR6U3BuUFN3LHM9WHJnSmJXeWpzeXBYR0E9PSxpPTQwOTY=</challenge> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1xa3YzSUhIemZGUUhJQnc2V2hSWlFXeFVydGJKaGt3WXR6U3BuUFN3LHM9WHJnSmJXeWpzeXBYR0E9PSxpPTQwOTY=</challenge> 2022-09-05 22:23:15 | << <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYM053ZDNwMk9UQXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9cWt2M0lISHpmRlFISUJ3NldoUlpRV3hVcnRiSmhrd1l0elNwblBTdyxwPWN3WGl5NUdkOTQxT0hPcHZBYitKTkEwUXhTZXBscnJQN2VkL2pLQW5XUW89</response> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYM053ZDNwMk9UQXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9cWt2M0lISHpmRlFISUJ3NldoUlpRV3hVcnRiSmhrd1l0elNwblBTdyxwPWN3WGl5NUdkOTQxT0hPcHZBYitKTkEwUXhTZXBscnJQN2VkL2pLQW5XUW89</response> 2022-09-05 22:23:15 | >> <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1uMzNhSFduYys0UDdwNVFZS0ZxdHJIUm1WV2hKTHFON3pxNFN4Wmd4dEkwPQ==</success> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1uMzNhSFduYys0UDdwNVFZS0ZxdHJIUm1WV2hKTHFON3pxNFN4Wmd4dEkwPQ==</success> 2022-09-05 22:23:15 | >> <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" xmlns="http://jabber.org/protocol/caps" ver="Y0ryC3JBXIvtgzkjCcTA03dz4I8=" hash="SHA-1"/></features> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@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" xmlns="http://jabber.org/protocol/caps" ver="Y0ryC3JBXIvtgzkjCcTA03dz4I8=" hash="SHA-1"/></features> 2022-09-05 22:23:15 | << <iq xmlns="jabber:client" id="3TPMLIq1man5Dl8JwaxohXZ" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com >> <iq xmlns="jabber:client" id="3TPMLIq1man5Dl8JwaxohXZ" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq> 2022-09-05 22:23:15 | >> <iq id="3TPMLIq1man5Dl8JwaxohXZ" to="user1_spwzv90043@test-domain.com/1781077109-tigase-49" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_spwzv90043@test-domain.com/1781077109-tigase-49</jid></bind></iq> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com << <iq id="3TPMLIq1man5Dl8JwaxohXZ" to="user1_spwzv90043@test-domain.com/1781077109-tigase-49" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_spwzv90043@test-domain.com/1781077109-tigase-49</jid></bind></iq> 2022-09-05 22:23:15 | << <iq xmlns="jabber:client" id="kOywrXgQR12gwnLXbMLJEiL" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 >> <iq xmlns="jabber:client" id="kOywrXgQR12gwnLXbMLJEiL" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 2022-09-05 22:23:15 | >> <iq id="kOywrXgQR12gwnLXbMLJEiL" to="user1_spwzv90043@test-domain.com/1781077109-tigase-49" xmlns="jabber:client" type="result"/> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 << <iq id="kOywrXgQR12gwnLXbMLJEiL" to="user1_spwzv90043@test-domain.com/1781077109-tigase-49" xmlns="jabber:client" type="result"/> 2022-09-05 22:23:15 | << <iq to="test-domain.com" id="wwEEzyjPQGxoevl9ncRMGzs" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 >> <iq to="test-domain.com" id="wwEEzyjPQGxoevl9ncRMGzs" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2022-09-05 22:23:15 | << <enable xmlns="urn:xmpp:sm:3" resume="true"/> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/> 2022-09-05 22:23:15 | >> <enabled max="60" id="e8eeffd7-a490-462c-9be4-ac003047e8a8" xmlns="urn:xmpp:sm:3" resume="true" location="f9c07ffec79b"/> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 << <enabled max="60" id="e8eeffd7-a490-462c-9be4-ac003047e8a8" xmlns="urn:xmpp:sm:3" resume="true" location="f9c07ffec79b"/> 2022-09-05 22:23:15 | << <iq id="hAOFxohXZkY7x4kEDhZfU1f" type="get"><query xmlns="jabber:iq:roster"/></iq> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 >> <iq id="hAOFxohXZkY7x4kEDhZfU1f" type="get"><query xmlns="jabber:iq:roster"/></iq> 2022-09-05 22:23:15 | << <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence> 2022-09-05 22:23:15 | >> <iq id="wwEEzyjPQGxoevl9ncRMGzs" to="user1_spwzv90043@test-domain.com/1781077109-tigase-49" xmlns="jabber:client" type="result" from="test-domain.com"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.3.0-SNAPSHOT-b12055/68bd9eb2" category="component" type="router"/><identity name="Tigase ver. 8.3.0-SNAPSHOT-b12055/68bd9eb2" category="server" 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="list-multi"><value>mailto:abuse@test-domain.com</value><value>xmpp:abuse@test-domain.com</value></field></x><feature var="urn:xmpp:mix:pam:2"/><feature var="urn:xmpp:carbons:2"/><feature var="urn:xmpp:carbons:rules:0"/><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:reporting:0"/><feature var="urn:xmpp:reporting:abuse:0"/><feature var="urn:xmpp:reporting:spam:0"/><feature var="urn:xmpp:reporting:1"/><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:encrypt:aes-128-gcm"/><feature var="tigase:push:filter:ignore-unknown:0"/><feature var="tigase:push:filter:groupchat:0"/><feature var="tigase:push:filter:muted:0"/><feature var="tigase:push:priority: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:mam:2#extended"/><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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 << <iq id="wwEEzyjPQGxoevl9ncRMGzs" to="user1_spwzv90043@test-domain.com/1781077109-tigase-49" xmlns="jabber:client" type="result" from="test-domain.com"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.3.0-SNAPSHOT-b12055/68bd9eb2" category="component" type="router"/><identity name="Tigase ver. 8.3.0-SNAPSHOT-b12055/68bd9eb2" category="server" 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="list-multi"><value>mailto:abuse@test-domain.com</value><value>xmpp:abuse@test-domain.com</value></field></x><feature var="urn:xmpp:mix:pam:2"/><feature var="urn:xmpp:carbons:2"/><feature var="urn:xmpp:carbons:rules:0"/><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:reporting:0"/><feature var="urn:xmpp:reporting:abuse:0"/><feature var="urn:xmpp:reporting:spam:0"/><feature var="urn:xmpp:reporting:1"/><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:encrypt:aes-128-gcm"/><feature var="tigase:push:filter:ignore-unknown:0"/><feature var="tigase:push:filter:groupchat:0"/><feature var="tigase:push:filter:muted:0"/><feature var="tigase:push:priority: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:mam:2#extended"/><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="urn:ietf:params:xml:ns:xmpp-session"/><feature var="jabber:iq:private"/></query></iq> 2022-09-05 22:23:15 | >> <iq id="hAOFxohXZkY7x4kEDhZfU1f" to="user1_spwzv90043@test-domain.com/1781077109-tigase-49" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 << <iq id="hAOFxohXZkY7x4kEDhZfU1f" to="user1_spwzv90043@test-domain.com/1781077109-tigase-49" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq> 2022-09-05 22:23:15 | >> <presence to="user1_spwzv90043@test-domain.com" xmlns="jabber:client" from="user1_spwzv90043@test-domain.com/1781077109-tigase-48"><c node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence> 2022-09-05 22:23:15 | user1 :: user1_spwzv90043@test-domain.com/1781077109-tigase-49 << <presence to="user1_spwzv90043@test-domain.com" xmlns="jabber:client" from="user1_spwzv90043@test-domain.com/1781077109-tigase-48"><c node="http://tigase.org/jaxmpp" xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence> |
testDeletingCredentials | 0.008s |
2022-09-05 22:23:15 |
2022-09-05 22:23:15 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-05 22:23:15 | ------------------------------------ 2022-09-05 22:23:15 | [Mutex] waiting for: [adhoc] 2022-09-05 22:23:15 | [Mutex] received everything. 2022-09-05 22:23:15 | [Mutex] waiting for: [adhoc] 2022-09-05 22:23:15 | [Mutex] received everything. |
testRetrievingUsernames1 | 0.010s |
2022-09-05 22:23:15 |
2022-09-05 22:23:15 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-05 22:23:15 | ------------------------------------ 2022-09-05 22:23:15 | [Mutex] waiting for: [adhoc] 2022-09-05 22:23:15 | [Mutex] received everything. |