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

=== Config value:

    [{watchdog,<0.1199.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.accounts_SUITE.logs/run.2022-02-02_15.07.36/accounts_suite.already_registered.130.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.accounts_SUITE.logs/run.2022-02-02_15.07.36/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:07:37


*** CT 2022-02-02 15:07:37.197 *** View log from node mongooseim@localhost when started mongooseim@localhost_28.html
*** CT 2022-02-02 15:07:37.199 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_29.html

*** User 2022-02-02 15:07:37.210 ***
alicE_already_registered_1@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-02-02 15:07:37.210 ***
alicE_already_registered_1@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfa4031588f47021' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:07:37.210 ***
alicE_already_registered_1@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-02-02 15:07:37.211 ***
alicE_already_registered_1@domain.example.com out
<iq type='get' id='5753c5193e08c4ca65663e1f3a8d05ca'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-02-02 15:07:37.211 ***
alicE_already_registered_1@domain.example.com in
<iq from='domain.example.com' id='5753c5193e08c4ca65663e1f3a8d05ca' 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-02-02 15:07:37.211 ***
alicE_already_registered_1@domain.example.com out
<iq type='set' id='7ff79e4090fe24c914175721d2d50800'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_already_registered_1</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-02-02 15:07:37.224 ***
alicE_already_registered_1@domain.example.com in
<iq from='domain.example.com' id='7ff79e4090fe24c914175721d2d50800' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_already_registered_1</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-02-02 15:07:37.224 ***
alicE_already_registered_1@domain.example.com out
</stream:stream>

*** User 2022-02-02 15:07:37.225 ***
alicE_already_registered_1@domain.example.com in
</stream:stream>

*** User 2022-02-02 15:07:37.237 ***
alicE_already_registered_1@domain.example.com/res1 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-02-02 15:07:37.237 ***
alicE_already_registered_1@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a291ad7a85c1c730' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:07:37.237 ***
alicE_already_registered_1@domain.example.com/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-02-02 15:07:37.241 ***
alicE_already_registered_1@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FscmVhZHlfcmVnaXN0ZXJlZF8xAG1hdHlncnlzYQ==</auth>



*** User 2022-02-02 15:07:37.242 ***
alicE_already_registered_1@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:07:37.242 ***
alicE_already_registered_1@domain.example.com/res1 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-02-02 15:07:37.242 ***
alicE_already_registered_1@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e084c6378d52672' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:07:37.242 ***
alicE_already_registered_1@domain.example.com/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-02-02 15:07:37.242 ***
alicE_already_registered_1@domain.example.com/res1 out
<iq type='set' id='67b87347e07b646204f93419d5ff89b1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:07:37.243 ***
alicE_already_registered_1@domain.example.com/res1 in
<iq id='67b87347e07b646204f93419d5ff89b1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_already_registered_1@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:07:37.248 ***
alicE_already_registered_1@domain.example.com/res1 out
<iq type='set' id='6707665f7301c32c69cd9c623c4c45e9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:07:37.249 ***
alicE_already_registered_1@domain.example.com/res1 in
<iq type='result' id='6707665f7301c32c69cd9c623c4c45e9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:07:37.249 ***
alicE_already_registered_1@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:07:37.251 ***
alicE_already_registered_1@domain.example.com/res1 in
<presence from='alicE_already_registered_1@domain.example.com/res1' to='alice_already_registered_1@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:07:37.253 ***
alicE_already_registered_1@domain.example.com/res1 out
<iq type='get' id='0ba5f026f73d098a6883e60cbf1826af'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-02-02 15:07:37.263 ***
alicE_already_registered_1@domain.example.com/res1 in
<iq from='alicE_already_registered_1@domain.example.com' to='alicE_already_registered_1@domain.example.com/res1' id='0ba5f026f73d098a6883e60cbf1826af' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username>alicE_already_registered_1</username>
		<password/>
		<registered/>
	</query>
</iq>



*** User 2022-02-02 15:07:37.263 ***
alicE_already_registered_1@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:07:37.264 ***
alicE_already_registered_1@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:07:37.265 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_29.html
*** CT 2022-02-02 15:07:37.265 *** View log from node mongooseim@localhost when finished mongooseim@localhost_28.html



=== Ended at 2022-02-02 15:07:37
=== successfully completed test case
=== === Returned value: ok