Test duration : 0.992s
Passed Tests | ||
---|---|---|
tigase.tests.server.TestCredentialsManipulation | ||
testAddingCredentials | 0.046s |
2022-09-20 22:50:15 |
2022-09-20 22:50:15 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-20 22:50:15 | ------------------------------------ 2022-09-20 22:50:15 | [Mutex] waiting for: [adhoc] 2022-09-20 22:50:15 | [Mutex] received everything. 2022-09-20 22:50:15 | [Mutex] waiting for: [adhoc] 2022-09-20 22:50:15 | [Mutex] received everything. |
testAuthenticationWithNewCredentials | 0.234s |
2022-09-20 22:50:15 |
2022-09-20 22:50:15 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-20 22:50:15 | ------------------------------------ 2022-09-20 22:50:15 | >> <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-20 22:50:15 | user1 :: user1_7lkhhb0043@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-20 22:50:15 | << <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> 2022-09-20 22:50:15 | >> <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-20 22:50:15 | user1 :: user1_7lkhhb0043@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-20 22:50:15 | << <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxXzdsa2hoYjAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6X2JicTUzNzAwNDQscj03WTVhM2JvZ20yQ3cyRmoyRVpCMQ==</auth> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxXzdsa2hoYjAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6X2JicTUzNzAwNDQscj03WTVhM2JvZ20yQ3cyRmoyRVpCMQ==</auth> 2022-09-20 22:50:15 | >> <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj03WTVhM2JvZ20yQ3cyRmoyRVpCMXBtMFFTc0pjS0R4T3V2Znh6NEhJLHM9T3V1WURjYTRPT3hzOXc9PSxpPTQwOTY=</challenge> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj03WTVhM2JvZ20yQ3cyRmoyRVpCMXBtMFFTc0pjS0R4T3V2Znh6NEhJLHM9T3V1WURjYTRPT3hzOXc9PSxpPTQwOTY=</challenge> 2022-09-20 22:50:15 | << <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYemRzYTJob1lqQXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9N1k1YTNib2dtMkN3MkZqMkVaQjFwbTBRU3NKY0tEeE91dmZ4ejRISSxwPUVDS21QdS9RbGJXd2NUajVGWmJqTUhuSFFWMEN4cVozVFNLa3VmZzRtUGM9</response> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYemRzYTJob1lqQXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9N1k1YTNib2dtMkN3MkZqMkVaQjFwbTBRU3NKY0tEeE91dmZ4ejRISSxwPUVDS21QdS9RbGJXd2NUajVGWmJqTUhuSFFWMEN4cVozVFNLa3VmZzRtUGM9</response> 2022-09-20 22:50:15 | >> <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1MbjZGUi9DNmFtOVM1NkxBd0g3OWM4SStmcWdXQ2xZMERsWkhrYk1jdmE0PQ==</success> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1MbjZGUi9DNmFtOVM1NkxBd0g3OWM4SStmcWdXQ2xZMERsWkhrYk1jdmE0PQ==</success> 2022-09-20 22:50: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" ver="zCEFhSmX6YrSUHuZ1Yz3X89kRtA=" xmlns="http://jabber.org/protocol/caps" hash="SHA-1"/></features> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@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" ver="zCEFhSmX6YrSUHuZ1Yz3X89kRtA=" xmlns="http://jabber.org/protocol/caps" hash="SHA-1"/></features> 2022-09-20 22:50:15 | << <iq xmlns="jabber:client" id="cPBzs2l2wnfU0jL03bx5veN" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com >> <iq xmlns="jabber:client" id="cPBzs2l2wnfU0jL03bx5veN" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq> 2022-09-20 22:50:15 | >> <iq to="user1_7lkhhb0043@test-domain.com/1608752850-tigase-49" type="result" id="cPBzs2l2wnfU0jL03bx5veN" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_7lkhhb0043@test-domain.com/1608752850-tigase-49</jid></bind></iq> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 << <iq to="user1_7lkhhb0043@test-domain.com/1608752850-tigase-49" type="result" id="cPBzs2l2wnfU0jL03bx5veN" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_7lkhhb0043@test-domain.com/1608752850-tigase-49</jid></bind></iq> 2022-09-20 22:50:15 | << <iq xmlns="jabber:client" id="zXXeSOEEICqbOW0hUgRdQS3" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 >> <iq xmlns="jabber:client" id="zXXeSOEEICqbOW0hUgRdQS3" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 2022-09-20 22:50:15 | >> <iq to="user1_7lkhhb0043@test-domain.com/1608752850-tigase-49" type="result" id="zXXeSOEEICqbOW0hUgRdQS3" xmlns="jabber:client"/> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 << <iq to="user1_7lkhhb0043@test-domain.com/1608752850-tigase-49" type="result" id="zXXeSOEEICqbOW0hUgRdQS3" xmlns="jabber:client"/> 2022-09-20 22:50:15 | << <iq to="test-domain.com" id="0RDDCGLWWUaKGyrkY4paMTh" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 >> <iq to="test-domain.com" id="0RDDCGLWWUaKGyrkY4paMTh" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> 2022-09-20 22:50:15 | << <enable xmlns="urn:xmpp:sm:3" resume="true"/> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/> 2022-09-20 22:50:15 | >> <enabled id="01d03129-1e78-475c-a340-c8b0ccd2bb85" location="ed1b7dd8a1b3" max="60" resume="true" xmlns="urn:xmpp:sm:3"/> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 << <enabled id="01d03129-1e78-475c-a340-c8b0ccd2bb85" location="ed1b7dd8a1b3" max="60" resume="true" xmlns="urn:xmpp:sm:3"/> 2022-09-20 22:50:15 | << <iq id="cSEFEq7ACzDGypXoPJDhT0l" type="get"><query xmlns="jabber:iq:roster"/></iq> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 >> <iq id="cSEFEq7ACzDGypXoPJDhT0l" type="get"><query xmlns="jabber:iq:roster"/></iq> 2022-09-20 22:50:15 | >> <iq to="user1_7lkhhb0043@test-domain.com/1608752850-tigase-49" type="result" id="0RDDCGLWWUaKGyrkY4paMTh" xmlns="jabber:client" from="test-domain.com"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.3.0-SNAPSHOT-b12089/0e5dcbd1" category="component"/><identity type="im" name="Tigase ver. 8.3.0-SNAPSHOT-b12089/0e5dcbd1" 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-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 << <iq to="user1_7lkhhb0043@test-domain.com/1608752850-tigase-49" type="result" id="0RDDCGLWWUaKGyrkY4paMTh" xmlns="jabber:client" from="test-domain.com"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="router" name="Tigase ver. 8.3.0-SNAPSHOT-b12089/0e5dcbd1" category="component"/><identity type="im" name="Tigase ver. 8.3.0-SNAPSHOT-b12089/0e5dcbd1" 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-20 22:50:15 | << <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence> 2022-09-20 22:50:15 | >> <iq to="user1_7lkhhb0043@test-domain.com/1608752850-tigase-49" type="result" id="cSEFEq7ACzDGypXoPJDhT0l" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 << <iq to="user1_7lkhhb0043@test-domain.com/1608752850-tigase-49" type="result" id="cSEFEq7ACzDGypXoPJDhT0l" xmlns="jabber:client"><query xmlns="jabber:iq:roster"/></iq> 2022-09-20 22:50:15 | >> <presence to="user1_7lkhhb0043@test-domain.com" xmlns="jabber:client" from="user1_7lkhhb0043@test-domain.com/1608752850-tigase-48"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence> 2022-09-20 22:50:15 | user1 :: user1_7lkhhb0043@test-domain.com/1608752850-tigase-49 << <presence to="user1_7lkhhb0043@test-domain.com" xmlns="jabber:client" from="user1_7lkhhb0043@test-domain.com/1608752850-tigase-48"><c hash="sha-1" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp"/></presence> |
testDeletingCredentials | 0.008s |
2022-09-20 22:50:15 |
2022-09-20 22:50:15 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-20 22:50:15 | ------------------------------------ 2022-09-20 22:50:15 | [Mutex] waiting for: [adhoc] 2022-09-20 22:50:15 | [Mutex] received everything. 2022-09-20 22:50:15 | [Mutex] waiting for: [adhoc] 2022-09-20 22:50:15 | [Mutex] received everything. |
testRetrievingUsernames1 | 0.032s |
2022-09-20 22:50:15 |
2022-09-20 22:50:15 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation] 2022-09-20 22:50:15 | ------------------------------------ 2022-09-20 22:50:15 | [Mutex] waiting for: [adhoc] 2022-09-20 22:50:15 | [Mutex] received everything. |