=== Test case: accounts_SUITE:already_registered/1 (click for source code)
=== Config value:
[{watchdog,<0.1737.0>},
{escalus_user_db,xmpp},
{mod_register_options,#{access => register,iqdisc => one_queue,
registration_watchers => [],
password_strength => 0,
ip_access =>
[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]}},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.accounts_SUITE.logs/run.2023-11-14_11.38.16/accounts_suite.already_registered.3.html"},
{tc_group_properties,[{name,register},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/accounts_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.accounts_SUITE.logs/run.2023-11-14_11.38.16/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a2fc54846062.2023-11-14_11.38.11"
=== Started at 2023-11-14 11:38:16
*** User 2023-11-14 11:38:16.959 ***🔗
alicE_already_registered_25@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-14 11:38:16.966 ***🔗
alicE_already_registered_25@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='debae9455c4fd6ba' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:38:16.967 ***🔗
alicE_already_registered_25@domain.example.com in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-14 11:38:16.967 ***🔗
alicE_already_registered_25@domain.example.com out
<iq type='get' id='077db6fa4bf6e50bce8590165b9d0a15'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2023-11-14 11:38:16.967 ***🔗
alicE_already_registered_25@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='077db6fa4bf6e50bce8590165b9d0a15' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username/>
<password/>
</query>
</iq>
*** User 2023-11-14 11:38:16.967 ***🔗
alicE_already_registered_25@domain.example.com out
<iq type='set' id='78a34626ff02f65e4c2844d1137fadc6'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_25</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2023-11-14 11:38:16.975 ***🔗
alicE_already_registered_25@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='78a34626ff02f65e4c2844d1137fadc6' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE_already_registered_25</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2023-11-14 11:38:16.975 ***🔗
alicE_already_registered_25@domain.example.com out
</stream:stream>
*** User 2023-11-14 11:38:16.979 ***🔗
alicE_already_registered_25@domain.example.com in
</stream:stream>
*** User 2023-11-14 11:38:16.996 ***🔗
alicE_already_registered_25@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-14 11:38:16.997 ***🔗
alicE_already_registered_25@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='76032945c2bf6ef5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-14 11:38:16.997 ***🔗
alicE_already_registered_25@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-14 11:38:16.997 ***🔗
alicE_already_registered_25@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FscmVhZHlfcmVnaXN0ZXJlZF8yNQBtYXR5Z3J5c2E=</auth>
*** User 2023-11-14 11:38:16.999 ***🔗
alicE_already_registered_25@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-14 11:38:16.999 ***🔗
alicE_already_registered_25@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-14 11:38:17.002 ***🔗
alicE_already_registered_25@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2b4deb4d662c135' from='domain.example.com' version='1.0' xml:lang='en' to='alice_already_registered_25@domain.example.com'>
*** User 2023-11-14 11:38:17.002 ***🔗
alicE_already_registered_25@domain.example.com/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-14 11:38:17.003 ***🔗
alicE_already_registered_25@domain.example.com/res1 out
<iq type='set' id='b6cffecdbaa890deef4faf17a2c06a09'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-14 11:38:17.005 ***🔗
alicE_already_registered_25@domain.example.com/res1 in
<iq id='b6cffecdbaa890deef4faf17a2c06a09' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_already_registered_25@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-14 11:38:17.005 ***🔗
alice_already_registered_25@domain.example.com/res1 out
<iq type='set' id='21e7c81f288db6bc3b85e11d5c3c7311'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:38:17.008 ***🔗
alice_already_registered_25@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_already_registered_25@domain.example.com/res1' id='21e7c81f288db6bc3b85e11d5c3c7311' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-14 11:38:17.008 ***🔗
alice_already_registered_25@domain.example.com/res1 out
<presence/>
*** User 2023-11-14 11:38:17.009 ***🔗
alice_already_registered_25@domain.example.com/res1 in
<presence from='alice_already_registered_25@domain.example.com/res1' to='alice_already_registered_25@domain.example.com/res1'/>
*** User 2023-11-14 11:38:17.009 ***🔗
alice_already_registered_25@domain.example.com/res1 out
<iq type='get' id='38846cbbde2820756301d66b4d01ae5b'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2023-11-14 11:38:17.015 ***🔗
alice_already_registered_25@domain.example.com/res1 in
<iq from='alice_already_registered_25@domain.example.com' to='alice_already_registered_25@domain.example.com/res1' id='38846cbbde2820756301d66b4d01ae5b' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username>alice_already_registered_25</username>
<password/>
<registered/>
</query>
</iq>
*** User 2023-11-14 11:38:17.016 ***🔗
alice_already_registered_25@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-14 11:38:17.017 ***🔗
alice_already_registered_25@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-14 11:38:17
=== successfully completed test case
=== === Returned value: ok