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

=== Config value:

    [{watchdog,<0.1254.0>},
     {escalus_user_db,xmpp},
     {mod_register_options,
         [{welcome_message,{[],[]}},
          {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
          {access,register},
          {registration_watchers,[]}]},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.accounts_SUITE.logs/run.2022-03-18_10.50.05/accounts_suite.register.515.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.accounts_SUITE.logs/run.2022-03-18_10.50.05/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:50:05


*** CT 2022-03-18 10:50:05.631 *** View log from node mongooseim@localhost when started mongooseim@localhost_24.html
*** CT 2022-03-18 10:50:05.634 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_25.html

*** User 2022-03-18 10:50:05.654 ***
alicE_register_7@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-03-18 10:50:05.654 ***
alicE_register_7@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7500a19378377425' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:50:05.654 ***
alicE_register_7@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-03-18 10:50:05.655 ***
alicE_register_7@domain.example.com out
<iq type='get' id='9e79b9d262367e8f994286b04b9e65f7'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-18 10:50:05.659 ***
alicE_register_7@domain.example.com in
<iq from='domain.example.com' id='9e79b9d262367e8f994286b04b9e65f7' 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-03-18 10:50:05.659 ***
alicE_register_7@domain.example.com out
<iq type='set' id='c2206f2d23ec5b0a24cba5a32d8dd369'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_7</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-18 10:50:05.670 ***
alicE_register_7@domain.example.com in
<iq from='domain.example.com' id='c2206f2d23ec5b0a24cba5a32d8dd369' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_7</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-18 10:50:05.670 ***
alicE_register_7@domain.example.com out
</stream:stream>

*** User 2022-03-18 10:50:05.673 ***
alicE_register_7@domain.example.com in
</stream:stream>

*** User 2022-03-18 10:50:05.680 ***
bOb_register_7@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-03-18 10:50:05.683 ***
bOb_register_7@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec96d41f05222277' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:50:05.685 ***
bOb_register_7@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-03-18 10:50:05.685 ***
bOb_register_7@domain.example.com out
<iq type='get' id='9eecb2d18599b2aaee06173602af0463'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-18 10:50:05.686 ***
bOb_register_7@domain.example.com in
<iq from='domain.example.com' id='9eecb2d18599b2aaee06173602af0463' 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-03-18 10:50:05.686 ***
bOb_register_7@domain.example.com out
<iq type='set' id='fcba29c11aef1e2760bad3fa97846c2b'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_7</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-03-18 10:50:05.690 ***
bOb_register_7@domain.example.com in
<iq from='domain.example.com' id='fcba29c11aef1e2760bad3fa97846c2b' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_7</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-03-18 10:50:05.693 ***
bOb_register_7@domain.example.com out
</stream:stream>

*** User 2022-03-18 10:50:05.693 ***
bOb_register_7@domain.example.com in
</stream:stream>
*** CT 2022-03-18 10:50:05.695 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_25.html
*** CT 2022-03-18 10:50:05.695 *** View log from node mongooseim@localhost when finished mongooseim@localhost_24.html



=== Ended at 2022-03-18 10:50:05
=== successfully completed test case
=== === Returned value: [{escalus_event_mgr,<0.1345.0>},
                     {tc_name,register},
                     {escalus_cleaner,<0.1344.0>},
                     {watchdog,<0.1343.0>},
                     {escalus_user_db,xmpp},
                     {mod_register_options,
                         [{welcome_message,{[],[]}},
                          {ip_access,
                              [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
                          {access,register},
                          {registration_watchers,[]}]},
                     {mim_data_dir,
                         "/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
                     {preset,"pgsql_mnesia"},
                     {tc_logfile,
                         "/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.accounts_SUITE.logs/run.2022-03-18_10.50.05/accounts_suite.register.515.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.accounts_SUITE.logs/run.2022-03-18_10.50.05/log_private/"},
                     {escalus_users,
                         [{alice,
                              [{username,<<"alicE_register_7">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"matygrysa">>}]},
                          {bob,
                              [{username,<<"bOb_register_7">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"makrolika">>}]}]}]