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

=== Config value:

    [{watchdog,<0.1184.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_12.27.57/accounts_suite.register.3.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_12.27.57/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:27:57


*** CT 2022-01-27 12:27:57.821 *** View log from node mongooseim@localhost when started mongooseim@localhost_29.html
*** CT 2022-01-27 12:27:57.823 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_32.html

*** User 2022-01-27 12:27:57.835 ***
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-01-27 12:27:57.835 ***
alicE_register_7@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de0c69061fa4f242' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:27:57.836 ***
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-01-27 12:27:57.836 ***
alicE_register_7@domain.example.com out
<iq type='get' id='80ab953266d4dead3bfe59e55c9f4de9'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 12:27:57.836 ***
alicE_register_7@domain.example.com in
<iq from='domain.example.com' id='80ab953266d4dead3bfe59e55c9f4de9' 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 12:27:57.836 ***
alicE_register_7@domain.example.com out
<iq type='set' id='6b037c80e59148fd2902caa5a77e8175'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_7</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 12:27:57.854 ***
alicE_register_7@domain.example.com in
<iq from='domain.example.com' id='6b037c80e59148fd2902caa5a77e8175' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_register_7</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-01-27 12:27:57.854 ***
alicE_register_7@domain.example.com out
</stream:stream>

*** User 2022-01-27 12:27:57.855 ***
alicE_register_7@domain.example.com in
</stream:stream>

*** User 2022-01-27 12:27:57.855 ***
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-01-27 12:27:57.858 ***
bOb_register_7@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e537fc182cba93ae' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:27:57.860 ***
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-01-27 12:27:57.862 ***
bOb_register_7@domain.example.com out
<iq type='get' id='f6a2d99858a556234107a54b0e791bc3'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 12:27:57.865 ***
bOb_register_7@domain.example.com in
<iq from='domain.example.com' id='f6a2d99858a556234107a54b0e791bc3' 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 12:27:57.865 ***
bOb_register_7@domain.example.com out
<iq type='set' id='ab704c481f04904c41404f5f23e59b50'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_7</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-01-27 12:27:57.868 ***
bOb_register_7@domain.example.com in
<iq from='domain.example.com' id='ab704c481f04904c41404f5f23e59b50' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_register_7</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-01-27 12:27:57.870 ***
bOb_register_7@domain.example.com out
</stream:stream>

*** User 2022-01-27 12:27:57.871 ***
bOb_register_7@domain.example.com in
</stream:stream>
*** CT 2022-01-27 12:27:57.875 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_32.html
*** CT 2022-01-27 12:27:57.878 *** View log from node mongooseim@localhost when finished mongooseim@localhost_29.html



=== Ended at 2022-01-27 12:27:57
=== successfully completed test case
=== === Returned value: [{escalus_event_mgr,<0.1287.0>},
                     {tc_name,register},
                     {escalus_cleaner,<0.1286.0>},
                     {watchdog,<0.1285.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_12.27.57/accounts_suite.register.3.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.accounts_SUITE.logs/run.2022-01-27_12.27.57/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">>}]}]}]