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

=== Config value:

    [{watchdog,<0.1456.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.accounts_SUITE.logs/run.2022-03-04_11.16.22/accounts_suite.already_registered.1027.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.accounts_SUITE.logs/run.2022-03-04_11.16.22/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18"

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


*** CT 2022-03-04 11:16:22.529 *** View log from node mongooseim@localhost when started mongooseim@localhost_34.html
*** CT 2022-03-04 11:16:22.529 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_28.html

*** User 2022-03-04 11:16:22.542 ***
alicE_already_registered_5@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:16:22.542 ***
alicE_already_registered_5@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eba3ea154ee76c5b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:16:22.543 ***
alicE_already_registered_5@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-03-04 11:16:22.543 ***
alicE_already_registered_5@localhost out
<iq type='get' id='6fabefd4281351b2e5cb0f090363ab13'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-04 11:16:22.543 ***
alicE_already_registered_5@localhost in
<iq from='localhost' id='6fabefd4281351b2e5cb0f090363ab13' 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:22.543 ***
alicE_already_registered_5@localhost out
<iq type='set' id='5a4f24a4080f5b2f3edfdde094a94b83'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_already_registered_5</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-04 11:16:22.544 ***
alicE_already_registered_5@localhost in
<iq from='localhost' id='5a4f24a4080f5b2f3edfdde094a94b83' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_already_registered_5</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-04 11:16:22.544 ***
alicE_already_registered_5@localhost out
</stream:stream>

*** User 2022-03-04 11:16:22.545 ***
alicE_already_registered_5@localhost in
</stream:stream>

*** User 2022-03-04 11:16:22.545 ***
alicE_already_registered_5@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:16:22.546 ***
alicE_already_registered_5@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59a388e8452a3098' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:16:22.546 ***
alicE_already_registered_5@localhost/res1 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:22.546 ***
alicE_already_registered_5@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FscmVhZHlfcmVnaXN0ZXJlZF81AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:16:22.547 ***
alicE_already_registered_5@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:16:22.547 ***
alicE_already_registered_5@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:16:22.547 ***
alicE_already_registered_5@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b7eabefa010d9a4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:16:22.547 ***
alicE_already_registered_5@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<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:22.548 ***
alicE_already_registered_5@localhost/res1 out
<iq type='set' id='4adf379999bb6a541d3ade45591f5a92'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:16:22.548 ***
alicE_already_registered_5@localhost/res1 in
<iq id='4adf379999bb6a541d3ade45591f5a92' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_already_registered_5@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:16:22.548 ***
alicE_already_registered_5@localhost/res1 out
<iq type='set' id='bffe96fd9a2688c95c327a29b3d9fc3f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:16:22.549 ***
alicE_already_registered_5@localhost/res1 in
<iq type='result' id='bffe96fd9a2688c95c327a29b3d9fc3f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:16:22.549 ***
alicE_already_registered_5@localhost/res1 out
<presence/>



*** User 2022-03-04 11:16:22.550 ***
alicE_already_registered_5@localhost/res1 in
<presence from='alicE_already_registered_5@localhost/res1' to='alice_already_registered_5@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:16:22.550 ***
alicE_already_registered_5@localhost/res1 out
<iq type='get' id='3267853626a3ddd345a7f974b525c654'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-04 11:16:22.551 ***
alicE_already_registered_5@localhost/res1 in
<iq from='alicE_already_registered_5@localhost' to='alicE_already_registered_5@localhost/res1' id='3267853626a3ddd345a7f974b525c654' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username>alicE_already_registered_5</username>
		<password/>
		<registered/>
	</query>
</iq>



*** User 2022-03-04 11:16:22.551 ***
alicE_already_registered_5@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:16:22.551 ***
alicE_already_registered_5@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:16:22.553 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_28.html
*** CT 2022-03-04 11:16:22.553 *** View log from node mongooseim@localhost when finished mongooseim@localhost_34.html



=== Ended at 2022-03-04 11:16:22
=== successfully completed test case
=== === Returned value: ok