=== Test case: accounts_SUITE:register/1 (click for source code)

=== Config value:

    [{watchdog,<0.1750.0>},
     {escalus_user_db,xmpp},
     {mod_register_options,#{access => register,
                             ip_access =>
                                 [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
                             iqdisc => one_queue,password_strength => 0,
                             registration_watchers => []}},
     {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@13c4662e7363.2024-04-26_12.38.49/big_tests.tests.accounts_SUITE.logs/run.2024-04-26_12.38.53/accounts_suite.register.1410.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@13c4662e7363.2024-04-26_12.38.49/big_tests.tests.accounts_SUITE.logs/run.2024-04-26_12.38.53/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@13c4662e7363.2024-04-26_12.38.49"

=== Started at 2024-04-26 12:38:53


*** CT 2024-04-26 12:38:53.248 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_37.html

*** User 2024-04-26 12:38:53.252 ***🔗
alicE_register_20@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 2024-04-26 12:38:53.253 ***🔗
alicE_register_20@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c2ec1083cb09837' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:38:53.253 ***🔗
alicE_register_20@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 2024-04-26 12:38:53.253 ***🔗
alicE_register_20@domain.example.com out
<iq type='get' id='035cef4bf5afe7571d2c913e16e1e1f1'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-26 12:38:53.253 ***🔗
alicE_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='035cef4bf5afe7571d2c913e16e1e1f1' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-04-26 12:38:53.253 ***🔗
alicE_register_20@domain.example.com out
<iq type='set' id='05afa6980670968913a9dd8aeb65c323'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_20</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-26 12:38:53.255 ***🔗
alicE_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='05afa6980670968913a9dd8aeb65c323' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_20</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-26 12:38:53.255 ***🔗
alicE_register_20@domain.example.com out
</stream:stream>

*** User 2024-04-26 12:38:53.255 ***🔗
alicE_register_20@domain.example.com in
</stream:stream>

*** User 2024-04-26 12:38:53.256 ***🔗
bOb_register_20@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 2024-04-26 12:38:53.256 ***🔗
bOb_register_20@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='287a05162e739758' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:38:53.256 ***🔗
bOb_register_20@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 2024-04-26 12:38:53.256 ***🔗
bOb_register_20@domain.example.com out
<iq type='get' id='6082aa2d0c8dcfef90d915966a48af88'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-26 12:38:53.256 ***🔗
bOb_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='6082aa2d0c8dcfef90d915966a48af88' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-04-26 12:38:53.256 ***🔗
bOb_register_20@domain.example.com out
<iq type='set' id='803cd857f40fdb203229380e957ad0e3'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_20</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-26 12:38:53.258 ***🔗
bOb_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='803cd857f40fdb203229380e957ad0e3' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_20</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-26 12:38:53.258 ***🔗
bOb_register_20@domain.example.com out
</stream:stream>

*** User 2024-04-26 12:38:53.258 ***🔗
bOb_register_20@domain.example.com in
</stream:stream>
*** CT 2024-04-26 12:38:53.259 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_37.html



=== Ended at 2024-04-26 12:38:53
=== successfully completed test case
=== === Returned value: [{escalus_event_mgr,<0.1772.0>},
                     {tc_name,register},
                     {escalus_cleaner,<0.1771.0>},
                     {watchdog,<0.1770.0>},
                     {escalus_user_db,xmpp},
                     {mod_register_options,
                         #{access => register,
                           ip_access =>
                               [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
                           iqdisc => one_queue,password_strength => 0,
                           registration_watchers => []}},
                     {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@13c4662e7363.2024-04-26_12.38.49/big_tests.tests.accounts_SUITE.logs/run.2024-04-26_12.38.53/accounts_suite.register.1410.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@13c4662e7363.2024-04-26_12.38.49/big_tests.tests.accounts_SUITE.logs/run.2024-04-26_12.38.53/log_private/"},
                     {escalus_users,
                         [{alice,
                              [{username,<<"alicE_register_20">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"matygrysa">>}]},
                          {bob,
                              [{username,<<"bOb_register_20">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"makrolika">>}]}]}]