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

=== Config value:

    [{watchdog,<0.1765.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@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.accounts_SUITE.logs/run.2024-04-22_14.48.14/accounts_suite.register.1538.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@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.accounts_SUITE.logs/run.2024-04-22_14.48.14/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c3695dab14af.2024-04-22_14.48.10"

=== Started at 2024-04-22 14:48:14


*** CT 2024-04-22 14:48:14.593 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_43.html

*** User 2024-04-22 14:48:14.597 ***🔗
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-22 14:48:14.597 ***🔗
alicE_register_20@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a427f063ec0520a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:48:14.597 ***🔗
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-22 14:48:14.597 ***🔗
alicE_register_20@domain.example.com out
<iq type='get' id='e1c01f5477f5489168e7496c297406d6'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-22 14:48:14.598 ***🔗
alicE_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='e1c01f5477f5489168e7496c297406d6' 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-22 14:48:14.598 ***🔗
alicE_register_20@domain.example.com out
<iq type='set' id='cddbd0bc4ce70f3524584e61d5e9d729'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_20</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-22 14:48:14.599 ***🔗
alicE_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='cddbd0bc4ce70f3524584e61d5e9d729' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_20</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-22 14:48:14.599 ***🔗
alicE_register_20@domain.example.com out
</stream:stream>

*** User 2024-04-22 14:48:14.599 ***🔗
alicE_register_20@domain.example.com in
</stream:stream>

*** User 2024-04-22 14:48:14.600 ***🔗
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-22 14:48:14.600 ***🔗
bOb_register_20@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ec8faa47905f5a0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:48:14.600 ***🔗
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-22 14:48:14.600 ***🔗
bOb_register_20@domain.example.com out
<iq type='get' id='e5e798a06e86fd3de02e7e8296701e78'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-22 14:48:14.600 ***🔗
bOb_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='e5e798a06e86fd3de02e7e8296701e78' 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-22 14:48:14.601 ***🔗
bOb_register_20@domain.example.com out
<iq type='set' id='158150c4803b2520c364a7642aaf1203'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_20</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-22 14:48:14.602 ***🔗
bOb_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='158150c4803b2520c364a7642aaf1203' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_20</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-22 14:48:14.602 ***🔗
bOb_register_20@domain.example.com out
</stream:stream>

*** User 2024-04-22 14:48:14.602 ***🔗
bOb_register_20@domain.example.com in
</stream:stream>
*** CT 2024-04-22 14:48:14.603 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_43.html



=== Ended at 2024-04-22 14:48:14
=== successfully completed test case
=== === Returned value: [{escalus_event_mgr,<0.1787.0>},
                     {tc_name,register},
                     {escalus_cleaner,<0.1786.0>},
                     {watchdog,<0.1785.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@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.accounts_SUITE.logs/run.2024-04-22_14.48.14/accounts_suite.register.1538.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@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.accounts_SUITE.logs/run.2024-04-22_14.48.14/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">>}]}]}]