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

=== Config value:

    [{watchdog,<0.1754.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,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e8b7f85c8254.2024-04-24_13.09.52/big_tests.tests.accounts_SUITE.logs/run.2024-04-24_13.09.56/accounts_suite.register.1027.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@e8b7f85c8254.2024-04-24_13.09.52/big_tests.tests.accounts_SUITE.logs/run.2024-04-24_13.09.56/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e8b7f85c8254.2024-04-24_13.09.52"

=== Started at 2024-04-24 13:09:56


*** CT 2024-04-24 13:09:56.980 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_37.html

*** User 2024-04-24 13:09:56.987 ***🔗
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-24 13:09:56.988 ***🔗
alicE_register_20@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='472dbf76c3481311' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:09:56.988 ***🔗
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-24 13:09:56.988 ***🔗
alicE_register_20@domain.example.com out
<iq type='get' id='e41671404982e799f5dc54d1d8eb7728'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-24 13:09:56.988 ***🔗
alicE_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='e41671404982e799f5dc54d1d8eb7728' 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-24 13:09:56.988 ***🔗
alicE_register_20@domain.example.com out
<iq type='set' id='df61da6fb1463b8d2d9b4e815f287395'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_20</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-24 13:09:56.995 ***🔗
alicE_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='df61da6fb1463b8d2d9b4e815f287395' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_20</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-24 13:09:56.995 ***🔗
alicE_register_20@domain.example.com out
</stream:stream>

*** User 2024-04-24 13:09:56.996 ***🔗
alicE_register_20@domain.example.com in
</stream:stream>

*** User 2024-04-24 13:09:56.997 ***🔗
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-24 13:09:56.997 ***🔗
bOb_register_20@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6700202680ecf5a1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:09:56.997 ***🔗
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-24 13:09:56.998 ***🔗
bOb_register_20@domain.example.com out
<iq type='get' id='a03d51e1a9eaedb51b68187f79d46911'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-24 13:09:56.998 ***🔗
bOb_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='a03d51e1a9eaedb51b68187f79d46911' 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-24 13:09:56.998 ***🔗
bOb_register_20@domain.example.com out
<iq type='set' id='d1d9c11d91e71ebb2cb9094131bd0cd6'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_20</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-24 13:09:57.002 ***🔗
bOb_register_20@domain.example.com in
<iq from='domain.example.com' to='domain.example.com' id='d1d9c11d91e71ebb2cb9094131bd0cd6' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_20</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-24 13:09:57.002 ***🔗
bOb_register_20@domain.example.com out
</stream:stream>

*** User 2024-04-24 13:09:57.003 ***🔗
bOb_register_20@domain.example.com in
</stream:stream>
*** CT 2024-04-24 13:09:57.006 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_37.html



=== Ended at 2024-04-24 13:09:57
=== successfully completed test case
=== === Returned value: [{escalus_event_mgr,<0.1775.0>},
                     {tc_name,register},
                     {escalus_cleaner,<0.1774.0>},
                     {watchdog,<0.1773.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,"mysql_redis"},
                     {mim_data_dir,
                         "/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
                     {tc_logfile,
                         "/home/circleci/project/big_tests/ct_report/ct_run.test@e8b7f85c8254.2024-04-24_13.09.52/big_tests.tests.accounts_SUITE.logs/run.2024-04-24_13.09.56/accounts_suite.register.1027.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@e8b7f85c8254.2024-04-24_13.09.52/big_tests.tests.accounts_SUITE.logs/run.2024-04-24_13.09.56/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">>}]}]}]