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

=== Config value:

    [{watchdog,<0.1455.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,"internal_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_15.25.10/accounts_suite.register.899.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_15.25.10/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:25:11


*** CT 2022-01-27 15:25:11.124 *** View log from node mongooseim@localhost when started mongooseim@localhost_34.html
*** CT 2022-01-27 15:25:11.125 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_31.html

*** User 2022-01-27 15:25:11.141 ***
alicE_register_16@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:25:11.142 ***
alicE_register_16@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='299db46283a5615d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:25:11.142 ***
alicE_register_16@localhost 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-01-27 15:25:11.143 ***
alicE_register_16@localhost out
<iq type='get' id='6a4afd1712691358f80c5ab38f778b14'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 15:25:11.143 ***
alicE_register_16@localhost in
<iq from='localhost' id='6a4afd1712691358f80c5ab38f778b14' 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-01-27 15:25:11.143 ***
alicE_register_16@localhost out
<iq type='set' id='3845edd46c50bb32b74c703a7b58179e'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_16</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 15:25:11.144 ***
alicE_register_16@localhost in
<iq from='localhost' id='3845edd46c50bb32b74c703a7b58179e' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_16</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 15:25:11.144 ***
alicE_register_16@localhost out
</stream:stream>

*** User 2022-01-27 15:25:11.144 ***
alicE_register_16@localhost in
</stream:stream>

*** User 2022-01-27 15:25:11.145 ***
bOb_register_16@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:25:11.145 ***
bOb_register_16@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b6ded99ed5a7b03' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:25:11.145 ***
bOb_register_16@localhost 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-01-27 15:25:11.146 ***
bOb_register_16@localhost out
<iq type='get' id='5ad2d3d5bb0c54cd9123ef86559482b6'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 15:25:11.146 ***
bOb_register_16@localhost in
<iq from='localhost' id='5ad2d3d5bb0c54cd9123ef86559482b6' 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-01-27 15:25:11.146 ***
bOb_register_16@localhost out
<iq type='set' id='113568853f4da39d3a72b31f086be9f8'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_16</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-01-27 15:25:11.151 ***
bOb_register_16@localhost in
<iq from='localhost' id='113568853f4da39d3a72b31f086be9f8' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_16</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-01-27 15:25:11.151 ***
bOb_register_16@localhost out
</stream:stream>

*** User 2022-01-27 15:25:11.152 ***
bOb_register_16@localhost in
</stream:stream>
*** CT 2022-01-27 15:25:11.159 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_31.html
*** CT 2022-01-27 15:25:11.159 *** View log from node mongooseim@localhost when finished mongooseim@localhost_35.html



=== Ended at 2022-01-27 15:25:11
=== successfully completed test case
=== === Returned value: [{escalus_event_mgr,<0.1486.0>},
                     {tc_name,register},
                     {escalus_cleaner,<0.1485.0>},
                     {watchdog,<0.1484.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,"internal_mnesia"},
                     {tc_logfile,
                         "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_15.25.10/accounts_suite.register.899.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_15.25.10/log_private/"},
                     {escalus_users,
                         [{alice,
                              [{username,<<"alicE_register_16">>},
                               {server,<<"localhost">>},
                               {password,<<"matygrysa">>}]},
                          {bob,
                              [{username,<<"bOb_register_16">>},
                               {server,<<"localhost">>},
                               {password,<<"makrolika">>}]}]}]