Test duration : 1.001s
Passed Tests | ||
---|---|---|
tigase.tests.server.TestCredentialsManipulation | ||
testAddingCredentials | 0.054s |
2022-09-06 22:48:47 |
2022-09-06 22:48:47 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-06 22:48:47 | ------------------------------------ 2022-09-06 22:48:47 | [Mutex] waiting for: [adhoc] 2022-09-06 22:48:47 | [Mutex] received everything. 2022-09-06 22:48:47 | [Mutex] waiting for: [adhoc] 2022-09-06 22:48:47 | [Mutex] received everything. |
testAuthenticationWithNewCredentials | 0.252s |
2022-09-06 22:48:47 |
2022-09-06 22:48:47 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-06 22:48:47 | ------------------------------------ 2022-09-06 22:48:47 | >> <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><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-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><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-06 22:48:47 | << <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2022-09-06 22:48:47 | >> <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-512</mechanism><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"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com << <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-512</mechanism><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"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features> 2022-09-06 22:48:47 | << <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxXzV5OThqejAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6X3ozODFtcjAwNDQscj1wWFZaZDRhbFFHWTV0YTdmSUt5Sw==</auth> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxXzV5OThqejAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6X3ozODFtcjAwNDQscj1wWFZaZDRhbFFHWTV0YTdmSUt5Sw==</auth> 2022-09-06 22:48:47 | >> <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1wWFZaZDRhbFFHWTV0YTdmSUt5S0t6YkJNa284U2xaTWI2TTdTY1RoLHM9dlROVEVKenpyTUpzcmc9PSxpPTQwOTY=</challenge> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1wWFZaZDRhbFFHWTV0YTdmSUt5S0t6YkJNa284U2xaTWI2TTdTY1RoLHM9dlROVEVKenpyTUpzcmc9PSxpPTQwOTY=</challenge> 2022-09-06 22:48:47 | << <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYelY1T1RocWVqQXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9cFhWWmQ0YWxRR1k1dGE3ZklLeUtLemJCTWtvOFNsWk1iNk03U2NUaCxwPUJBZkx3OE5Nc0hBaWN2Uk1POGozWDJqenVHbklFVzE1eE9ZMTQ1emZUWGM9</response> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYelY1T1RocWVqQXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9cFhWWmQ0YWxRR1k1dGE3ZklLeUtLemJCTWtvOFNsWk1iNk03U2NUaCxwPUJBZkx3OE5Nc0hBaWN2Uk1POGozWDJqenVHbklFVzE1eE9ZMTQ1emZUWGM9</response> 2022-09-06 22:48:47 | >> <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj02NVJnZVpQa3J4NHVDQXVKQ2ErUlRPaDZlbkJMV01mcS9rM3BncUZ6QWY4PQ==</success> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj02NVJnZVpQa3J4NHVDQXVKQ2ErUlRPaDZlbkJMV01mcS9rM3BncUZ6QWY4PQ==</success> 2022-09-06 22:48:47 | >> <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 ver="ecwqb2dLSD61DUWyBUAHrW3M4ZY=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server"/></features> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@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 ver="ecwqb2dLSD61DUWyBUAHrW3M4ZY=" hash="SHA-1" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server"/></features> 2022-09-06 22:48:47 | << <iq xmlns="jabber:client" id="qGao37GytoUOSSeNS2ogXjV" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com >> <iq xmlns="jabber:client" id="qGao37GytoUOSSeNS2ogXjV" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq> 2022-09-06 22:48:47 | >> <iq type="result" xmlns="jabber:client" id="qGao37GytoUOSSeNS2ogXjV" to="user1_5y98jz0043@test-domain.com/1781077109-tigase-49"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_5y98jz0043@test-domain.com/1781077109-tigase-49</jid></bind></iq> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com << <iq type="result" xmlns="jabber:client" id="qGao37GytoUOSSeNS2ogXjV" to="user1_5y98jz0043@test-domain.com/1781077109-tigase-49"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_5y98jz0043@test-domain.com/1781077109-tigase-49</jid></bind></iq> 2022-09-06 22:48:47 | << <iq xmlns="jabber:client" id="BDZn5scIUfT5FqScFByiQHN" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 >> <iq xmlns="jabber:client" id="BDZn5scIUfT5FqScFByiQHN" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 2022-09-06 22:48:47 | >> <iq type="result" xmlns="jabber:client" id="BDZn5scIUfT5FqScFByiQHN" to="user1_5y98jz0043@test-domain.com/1781077109-tigase-49"/> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 << <iq type="result" xmlns="jabber:client" id="BDZn5scIUfT5FqScFByiQHN" to="user1_5y98jz0043@test-domain.com/1781077109-tigase-49"/> 2022-09-06 22:48:47 | << <iq to="test-domain.com" id="RSGtcpdCn13yiXmQGCmcJKM" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 >> <iq to="test-domain.com" id="RSGtcpdCn13yiXmQGCmcJKM" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2022-09-06 22:48:47 | << <enable xmlns="urn:xmpp:sm:3" resume="true"/> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/> 2022-09-06 22:48:47 | >> <enabled resume="true" max="60" xmlns="urn:xmpp:sm:3" id="d1b144bc-159f-4c1f-bec3-03270db7306e" location="f9c07ffec79b"/> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 << <enabled resume="true" max="60" xmlns="urn:xmpp:sm:3" id="d1b144bc-159f-4c1f-bec3-03270db7306e" location="f9c07ffec79b"/> 2022-09-06 22:48:47 | << <iq id="vJdISSKKCILOU8KVfN5gyyn" type="get"><query xmlns="jabber:iq:roster"/></iq> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 >> <iq id="vJdISSKKCILOU8KVfN5gyyn" type="get"><query xmlns="jabber:iq:roster"/></iq> 2022-09-06 22:48:47 | >> <iq type="result" xmlns="jabber:client" id="RSGtcpdCn13yiXmQGCmcJKM" to="user1_5y98jz0043@test-domain.com/1781077109-tigase-49" from="test-domain.com"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.3.0-SNAPSHOT-b12058/68bd9eb2" category="component"/><identity type="im" name="Tigase ver. 8.3.0-SNAPSHOT-b12058/68bd9eb2" 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="list-multi" var="abuse-addresses"><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="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: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 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: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-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 << <iq type="result" xmlns="jabber:client" id="RSGtcpdCn13yiXmQGCmcJKM" to="user1_5y98jz0043@test-domain.com/1781077109-tigase-49" from="test-domain.com"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.3.0-SNAPSHOT-b12058/68bd9eb2" category="component"/><identity type="im" name="Tigase ver. 8.3.0-SNAPSHOT-b12058/68bd9eb2" 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="list-multi" var="abuse-addresses"><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="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: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 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: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-06 22:48:47 | << <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@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-06 22:48:47 | >> <iq type="result" xmlns="jabber:client" id="vJdISSKKCILOU8KVfN5gyyn" to="user1_5y98jz0043@test-domain.com/1781077109-tigase-49"><query xmlns="jabber:iq:roster"/></iq> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 << <iq type="result" xmlns="jabber:client" id="vJdISSKKCILOU8KVfN5gyyn" to="user1_5y98jz0043@test-domain.com/1781077109-tigase-49"><query xmlns="jabber:iq:roster"/></iq> 2022-09-06 22:48:47 | >> <presence xmlns="jabber:client" to="user1_5y98jz0043@test-domain.com" from="user1_5y98jz0043@test-domain.com/1781077109-tigase-48"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence> 2022-09-06 22:48:47 | user1 :: user1_5y98jz0043@test-domain.com/1781077109-tigase-49 << <presence xmlns="jabber:client" to="user1_5y98jz0043@test-domain.com" from="user1_5y98jz0043@test-domain.com/1781077109-tigase-48"><c ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence> |
testDeletingCredentials | 0.010s |
2022-09-06 22:48:47 |
2022-09-06 22:48:47 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-06 22:48:47 | ------------------------------------ 2022-09-06 22:48:47 | [Mutex] waiting for: [adhoc] 2022-09-06 22:48:47 | [Mutex] received everything. 2022-09-06 22:48:47 | [Mutex] waiting for: [adhoc] 2022-09-06 22:48:47 | [Mutex] received everything. |
testRetrievingUsernames1 | 0.045s |
2022-09-06 22:48:47 |
2022-09-06 22:48:47 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-06 22:48:47 | ------------------------------------ 2022-09-06 22:48:47 | [Mutex] waiting for: [adhoc] 2022-09-06 22:48:47 | [Mutex] received everything. |