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

=== Config value:

    [{watchdog,<0.1225.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,"odbc_mssql_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.accounts_SUITE.logs/run.2022-03-04_11.16.52/accounts_suite.register.514.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.accounts_SUITE.logs/run.2022-03-04_11.16.52/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:16:53


*** User 2022-03-04 11:16:53.201 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@88d84ff17c71, reader=<0.1244.0>, reader_node=test@88d84ff17c71, writer=<0.1246.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.accounts_SUITE.logs/run.2022-03-04_11.16.52/log_private/../../../mongooseim@localhost.log.html"
*** CT 2022-03-04 11:16:53.202 *** View log from node mongooseim@localhost when started mongooseim@localhost_29.html

*** User 2022-03-04 11:16:53.204 ***
issue="ct_mongoose_log_hook created log file", ct_node=test@88d84ff17c71, reader=<0.1281.0>, reader_node=test@88d84ff17c71, writer=<0.1283.0>, out_file="/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.accounts_SUITE.logs/run.2022-03-04_11.16.52/log_private/../../../ejabberd2@localhost.log.html"
*** CT 2022-03-04 11:16:53.204 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_30.html

*** User 2022-03-04 11:16:53.223 ***
alicE_register_8@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-04 11:16:53.223 ***
alicE_register_8@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c86600c10d40b81c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:16:53.224 ***
alicE_register_8@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-04 11:16:53.224 ***
alicE_register_8@domain.example.com out
<iq type='get' id='0a860d3d7459fbad49bdf25612cdd918'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-04 11:16:53.230 ***
alicE_register_8@domain.example.com in
<iq from='domain.example.com' id='0a860d3d7459fbad49bdf25612cdd918' 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-04 11:16:53.230 ***
alicE_register_8@domain.example.com out
<iq type='set' id='46fc882b0d7c89705bc64a31273eebed'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_8</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-04 11:16:53.298 ***
alicE_register_8@domain.example.com in
<iq from='domain.example.com' id='46fc882b0d7c89705bc64a31273eebed' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_8</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-04 11:16:53.298 ***
alicE_register_8@domain.example.com out
</stream:stream>

*** User 2022-03-04 11:16:53.299 ***
alicE_register_8@domain.example.com in
</stream:stream>

*** User 2022-03-04 11:16:53.300 ***
bOb_register_8@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-04 11:16:53.300 ***
bOb_register_8@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05e293285766c0fe' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:16:53.300 ***
bOb_register_8@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-04 11:16:53.301 ***
bOb_register_8@domain.example.com out
<iq type='get' id='42b2c4d071a35a09adf90339488e412e'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-04 11:16:53.301 ***
bOb_register_8@domain.example.com in
<iq from='domain.example.com' id='42b2c4d071a35a09adf90339488e412e' 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-04 11:16:53.301 ***
bOb_register_8@domain.example.com out
<iq type='set' id='7519a510ad98034aae68f9af734f97e4'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_8</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-03-04 11:16:53.307 ***
bOb_register_8@domain.example.com in
<iq from='domain.example.com' id='7519a510ad98034aae68f9af734f97e4' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_8</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-03-04 11:16:53.310 ***
bOb_register_8@domain.example.com out
</stream:stream>

*** User 2022-03-04 11:16:53.317 ***
bOb_register_8@domain.example.com in
</stream:stream>
*** CT 2022-03-04 11:16:53.328 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_30.html
*** CT 2022-03-04 11:16:53.329 *** View log from node mongooseim@localhost when finished mongooseim@localhost_29.html



=== Ended at 2022-03-04 11:16:53
=== successfully completed test case
=== === Returned value: [{escalus_event_mgr,<0.1321.0>},
                     {tc_name,register},
                     {escalus_cleaner,<0.1320.0>},
                     {watchdog,<0.1317.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,"odbc_mssql_mnesia"},
                     {tc_logfile,
                         "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.accounts_SUITE.logs/run.2022-03-04_11.16.52/accounts_suite.register.514.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.accounts_SUITE.logs/run.2022-03-04_11.16.52/log_private/"},
                     {escalus_users,
                         [{alice,
                              [{username,<<"alicE_register_8">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"matygrysa">>}]},
                          {bob,
                              [{username,<<"bOb_register_8">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"makrolika">>}]}]}]