=== Test case: auth_methods_for_c2s_SUITE:can_login_to_another_listener/1 (click for source code)

=== Config value:

    [{escalus_cleaner,<0.13444.2>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {watchdog,<0.13441.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/auth_methods_for_c2s_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-05-11_09.06.31/auth_methods_for_c2s_suite.can_login_to_another_listener.171778.html"},
     {tc_group_properties,[{name,two_methods_enabled},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/auth_methods_for_c2s_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-05-11_09.06.31/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:06:32


*** CT 2022-05-11 09:06:32.382 *** View log from node mongooseim@localhost when started mongooseim@localhost_3184.html
*** CT 2022-05-11 09:06:32.383 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_578.html

*** User 2022-05-11 09:06:32.391 ***
alicE_unnamed_2203@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-05-11 09:06:32.392 ***
alicE_unnamed_2203@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1b0e974b46a513f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:06:32.392 ***
alicE_unnamed_2203@domain.example.com in
<stream:features>
	<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-05-11 09:06:32.392 ***
alicE_unnamed_2203@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjIwMwB3cm9uZw==</auth>



*** User 2022-05-11 09:06:32.619 ***
alicE_unnamed_2203@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:06:32.619 ***
alicE_unnamed_2203@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-05-11 09:06:32.620 ***
alicE_unnamed_2203@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5448120f1e040db2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:06:32.620 ***
alicE_unnamed_2203@domain.example.com 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-05-11 09:06:32.620 ***
alicE_unnamed_2203@domain.example.com out
<iq type='set' id='fb4e94cbec46be9d354256cae79b6dbb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-05-11 09:06:32.620 ***
alicE_unnamed_2203@domain.example.com in
<iq id='fb4e94cbec46be9d354256cae79b6dbb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unnamed_2203@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-05-11 09:06:32.620 ***
alicE_unnamed_2203@domain.example.com/escalus-default-resource out
<iq type='set' id='157fcc7afb3bb30087f777b72096124c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:06:32.620 ***
alicE_unnamed_2203@domain.example.com/escalus-default-resource in
<iq type='result' id='157fcc7afb3bb30087f777b72096124c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>


*** CT 2022-05-11 09:06:32.623 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_578.html
*** CT 2022-05-11 09:06:32.623 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3189.html



=== Ended at 2022-05-11 09:06:32
=== successfully completed test case
=== === Returned value: {ok,{client,<<"alicE_unnamed_2203@domain.example.com/escalus-default-resource">>,
                                escalus_tcp,<0.13489.2>,undefined,
                                [{port,5223},
                                 {password,<<"wrong">>},
                                 {username,<<"alicE_unnamed_2203">>},
                                 {server,<<"domain.example.com">>},
                                 {host,<<"localhost">>},
                                 {password,<<"matygrysa">>},
                                 {stream_id,<<"5448120f1e040db2">>},
                                 {resource,<<"escalus-default-resource">>}]},
                        [{compression,[<<"zlib">>]},
                         {starttls,false},
                         {stream_management,true},
                         {advanced_message_processing,true},
                         {client_state_indication,false},
                         {sasl_mechanisms,[<<"SCRAM-SHA-256">>,<<"PLAIN">>]},
                         {caps,undefined}]}