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

=== Config value:

    [{watchdog,<0.1297.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 => []}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.accounts_SUITE.logs/run.2022-05-25_09.03.38/accounts_suite.register.2.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.accounts_SUITE.logs/run.2022-05-25_09.03.38/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:03:39


*** User 2022-05-25 09:03:39.090 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@f0b09cc3aef4, reader=<0.1316.0>, reader_node=test@f0b09cc3aef4, writer=<0.1318.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.accounts_SUITE.logs/run.2022-05-25_09.03.38/log_private/../../../mongooseim@localhost.log.html"
*** CT 2022-05-25 09:03:39.090 *** View log from node mongooseim@localhost when started mongooseim@localhost_24.html

*** User 2022-05-25 09:03:39.092 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@f0b09cc3aef4, reader=<0.1348.0>, reader_node=test@f0b09cc3aef4, writer=<0.1350.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.accounts_SUITE.logs/run.2022-05-25_09.03.38/log_private/../../../ejabberd2@localhost.log.html"
*** CT 2022-05-25 09:03:39.092 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_23.html

*** User 2022-05-25 09:03:39.114 ***
alicE_register_6@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 2022-05-25 09:03:39.115 ***
alicE_register_6@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dd62c5b97e92bf1e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:03:39.115 ***
alicE_register_6@domain.example.com in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 09:03:39.115 ***
alicE_register_6@domain.example.com out
<iq type='get' id='67263aee01322929cbab74fd5f2cc025'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-05-25 09:03:39.119 ***
alicE_register_6@domain.example.com in
<iq from='domain.example.com' id='67263aee01322929cbab74fd5f2cc025' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-05-25 09:03:39.119 ***
alicE_register_6@domain.example.com out
<iq type='set' id='0f31e1922e0750d16834687a79f1f9d0'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_6</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-05-25 09:03:39.128 ***
alicE_register_6@domain.example.com in
<iq from='domain.example.com' id='0f31e1922e0750d16834687a79f1f9d0' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_6</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-05-25 09:03:39.128 ***
alicE_register_6@domain.example.com out
</stream:stream>

*** User 2022-05-25 09:03:39.128 ***
alicE_register_6@domain.example.com in
</stream:stream>

*** User 2022-05-25 09:03:39.133 ***
bOb_register_6@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 2022-05-25 09:03:39.135 ***
bOb_register_6@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0fde27a096dda63' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:03:39.137 ***
bOb_register_6@domain.example.com in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 09:03:39.139 ***
bOb_register_6@domain.example.com out
<iq type='get' id='42883a044e380dacef93f88579dd94ab'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-05-25 09:03:39.141 ***
bOb_register_6@domain.example.com in
<iq from='domain.example.com' id='42883a044e380dacef93f88579dd94ab' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-05-25 09:03:39.141 ***
bOb_register_6@domain.example.com out
<iq type='set' id='601cc189b08aa96a93bc52d305c07654'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_6</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-05-25 09:03:39.146 ***
bOb_register_6@domain.example.com in
<iq from='domain.example.com' id='601cc189b08aa96a93bc52d305c07654' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_6</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-05-25 09:03:39.146 ***
bOb_register_6@domain.example.com out
</stream:stream>

*** User 2022-05-25 09:03:39.146 ***
bOb_register_6@domain.example.com in
</stream:stream>
*** CT 2022-05-25 09:03:39.147 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_23.html
*** CT 2022-05-25 09:03:39.148 *** View log from node mongooseim@localhost when finished mongooseim@localhost_24.html



=== Ended at 2022-05-25 09:03:39
=== successfully completed test case
=== === Returned value: [{escalus_event_mgr,<0.1381.0>},
                     {tc_name,register},
                     {escalus_cleaner,<0.1380.0>},
                     {watchdog,<0.1377.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 => []}},
                     {mim_data_dir,
                         "/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
                     {preset,"odbc_mssql_mnesia"},
                     {tc_logfile,
                         "/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.accounts_SUITE.logs/run.2022-05-25_09.03.38/accounts_suite.register.2.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.accounts_SUITE.logs/run.2022-05-25_09.03.38/log_private/"},
                     {escalus_users,
                         [{alice,
                              [{username,<<"alicE_register_6">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"matygrysa">>}]},
                          {bob,
                              [{username,<<"bOb_register_6">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"makrolika">>}]}]}]