User credentials manipulation

Test duration: 1.172s

Passed Tests
tigase.tests.server.TestCredentialsManipulation
testAddingCredentials 0.103s
2020-08-02 23:46:48 |

2020-08-02 23:46:48 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation]

2020-08-02 23:46:48 | ------------------------------------

2020-08-02 23:46:48 | [Mutex] waiting for: [adhoc]

2020-08-02 23:46:49 | [Mutex] received everything.

2020-08-02 23:46:49 | [Mutex] waiting for: [adhoc]

2020-08-02 23:46:49 | [Mutex] received everything.

testAuthenticationWithNewCredentials 0.273s
2020-08-02 23:46:49 |

2020-08-02 23:46:49 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation]

2020-08-02 23:46:49 | ------------------------------------

2020-08-02 23:46:49 |  >> <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>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@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>

2020-08-02 23:46:49 |  << <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2020-08-02 23:46:49 |  >> <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>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@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>

2020-08-02 23:46:49 |  << <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxX3Y0bHo5YzAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6X3VlZjJxNDAwNDQscj1GQ2cyWFRiY2ZNZGNnbTE0S2puSQ==</auth>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">bixhPXVzZXIxX3Y0bHo5YzAwNDNAdGVzdC1kb21haW4uY29tLG49Ynp6X3VlZjJxNDAwNDQscj1GQ2cyWFRiY2ZNZGNnbTE0S2puSQ==</auth>

2020-08-02 23:46:49 |  >> <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1GQ2cyWFRiY2ZNZGNnbTE0S2puSWRsckR1S21nblVCenF0dld0V0tpLHM9OFpTNDh6bVZ5SDFoYXc9PSxpPTQwOTY=</challenge>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com << <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cj1GQ2cyWFRiY2ZNZGNnbTE0S2puSWRsckR1S21nblVCenF0dld0V0tpLHM9OFpTNDh6bVZ5SDFoYXc9PSxpPTQwOTY=</challenge>

2020-08-02 23:46:49 |  << <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYM1kwYkhvNVl6QXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9RkNnMlhUYmNmTWRjZ20xNEtqbklkbHJEdUttZ25VQnpxdHZXdFdLaSxwPW14aXEzM3BhV2FkTCtDV1BzeGxjcENZTllna0plbDNSOFBIRVBQOWlndlE9</response>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com >> <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Yz1iaXhoUFhWelpYSXhYM1kwYkhvNVl6QXdORE5BZEdWemRDMWtiMjFoYVc0dVkyOXRMQT09LHI9RkNnMlhUYmNmTWRjZ20xNEtqbklkbHJEdUttZ25VQnpxdHZXdFdLaSxwPW14aXEzM3BhV2FkTCtDV1BzeGxjcENZTllna0plbDNSOFBIRVBQOWlndlE9</response>

2020-08-02 23:46:49 |  >> <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1PU0ZFclZqVFZQSFFTTkZtMzl4MDBwc2FlNWdLTVF4Y0M5c3EwR3JYekRFPQ==</success>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com << <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dj1PU0ZFclZqVFZQSFFTTkZtMzl4MDBwc2FlNWdLTVF4Y0M5c3EwR3JYekRFPQ==</success>

2020-08-02 23:46:49 |  >> <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 hash="SHA-1" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server" ver="OQKA4xn1/Dd2U5AGL+j0n+zTjNU="/></features>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@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 hash="SHA-1" xmlns="http://jabber.org/protocol/caps" node="https://tigase.net/tigase-xmpp-server" ver="OQKA4xn1/Dd2U5AGL+j0n+zTjNU="/></features>

2020-08-02 23:46:49 |  << <iq xmlns="jabber:client" id="rvDjHNYphMPZpUPRT7iNOGo" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com >> <iq xmlns="jabber:client" id="rvDjHNYphMPZpUPRT7iNOGo" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource/></bind></iq>

2020-08-02 23:46:49 |  >> <iq to="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" id="rvDjHNYphMPZpUPRT7iNOGo" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_v4lz9c0043@test-domain.com/2095755800-tigase-49</jid></bind></iq>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com << <iq to="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" id="rvDjHNYphMPZpUPRT7iNOGo" xmlns="jabber:client" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>user1_v4lz9c0043@test-domain.com/2095755800-tigase-49</jid></bind></iq>

2020-08-02 23:46:49 |  << <iq xmlns="jabber:client" id="7wEq1nOPSOEmXlIwvjGoSdr" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 >> <iq xmlns="jabber:client" id="7wEq1nOPSOEmXlIwvjGoSdr" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>

2020-08-02 23:46:49 |  >> <iq to="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" id="7wEq1nOPSOEmXlIwvjGoSdr" xmlns="jabber:client" type="result"/>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 << <iq to="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" id="7wEq1nOPSOEmXlIwvjGoSdr" xmlns="jabber:client" type="result"/>

2020-08-02 23:46:49 |  << <iq to="test-domain.com" id="cJfDkGq5BeyzrWUUhzgBBAD" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 >> <iq to="test-domain.com" id="cJfDkGq5BeyzrWUUhzgBBAD" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

2020-08-02 23:46:49 |  << <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 >> <enable xmlns="urn:xmpp:sm:3" resume="true"/>

2020-08-02 23:46:49 |  >> <enabled resume="true" id="4b2e2b81-3505-4312-9add-e8270b51efc6" location="9585556aacac" xmlns="urn:xmpp:sm:3" max="60"/>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 << <enabled resume="true" id="4b2e2b81-3505-4312-9add-e8270b51efc6" location="9585556aacac" xmlns="urn:xmpp:sm:3" max="60"/>

2020-08-02 23:46:49 |  << <iq id="fzJr7FmO5t02aNBkJR6FNOT" type="get"><query xmlns="jabber:iq:roster"/></iq>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 >> <iq id="fzJr7FmO5t02aNBkJR6FNOT" type="get"><query xmlns="jabber:iq:roster"/></iq>

2020-08-02 23:46:49 |  >> <iq from="test-domain.com" to="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" id="cJfDkGq5BeyzrWUUhzgBBAD" xmlns="jabber:client" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.2.0-SNAPSHOT-b10978/ddedac76" category="component" type="router"/><identity name="Tigase ver. 8.2.0-SNAPSHOT-b10978/ddedac76" 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="text-multi"><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="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 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: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="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-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 << <iq from="test-domain.com" to="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" id="cJfDkGq5BeyzrWUUhzgBBAD" xmlns="jabber:client" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Tigase ver. 8.2.0-SNAPSHOT-b10978/ddedac76" category="component" type="router"/><identity name="Tigase ver. 8.2.0-SNAPSHOT-b10978/ddedac76" 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="text-multi"><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="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 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: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="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-08-02 23:46:49 |  << <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 >> <presence><c xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8=" hash="sha-1"/></presence>

2020-08-02 23:46:49 |  >> <iq to="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" id="fzJr7FmO5t02aNBkJR6FNOT" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 << <iq to="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" id="fzJr7FmO5t02aNBkJR6FNOT" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>

2020-08-02 23:46:49 |  >> <presence from="user1_v4lz9c0043@test-domain.com/2095755800-tigase-48" to="user1_v4lz9c0043@test-domain.com" xmlns="jabber:client"><c hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 << <presence from="user1_v4lz9c0043@test-domain.com/2095755800-tigase-48" to="user1_v4lz9c0043@test-domain.com" xmlns="jabber:client"><c hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2020-08-02 23:46:49 |  >> <presence from="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" to="user1_v4lz9c0043@test-domain.com" xmlns="jabber:client"><c hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

2020-08-02 23:46:49 | user1 :: user1_v4lz9c0043@test-domain.com/2095755800-tigase-49 << <presence from="user1_v4lz9c0043@test-domain.com/2095755800-tigase-49" to="user1_v4lz9c0043@test-domain.com" xmlns="jabber:client"><c hash="sha-1" xmlns="http://jabber.org/protocol/caps" node="http://tigase.org/jaxmpp" ver="mg5bXbOeu1848vxdgu3jELgbQF8="/></presence>

testDeletingCredentials 0.009s
2020-08-02 23:46:49 |

2020-08-02 23:46:49 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation]

2020-08-02 23:46:49 | ------------------------------------

2020-08-02 23:46:49 | [Mutex] waiting for: [adhoc]

2020-08-02 23:46:49 | [Mutex] received everything.

2020-08-02 23:46:49 | [Mutex] waiting for: [adhoc]

2020-08-02 23:46:49 | [Mutex] received everything.

testRetrievingUsernames1 0.044s
2020-08-02 23:46:48 |

2020-08-02 23:46:48 | null / [TestClass name=class tigase.tests.server.TestCredentialsManipulation]

2020-08-02 23:46:48 | ------------------------------------

2020-08-02 23:46:48 | [Mutex] waiting for: [adhoc]

2020-08-02 23:46:48 | [Mutex] received everything.