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

=== Config value:

    [{escalus_cleaner,<0.13965.2>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {watchdog,<0.13962.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-05-18_10.10.22/auth_methods_for_c2s_suite.can_login_to_another_listener.131587.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-05-18_10.10.22/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:10:22


*** CT 2022-05-18 10:10:22.861 *** View log from node mongooseim@localhost when started mongooseim@localhost_3098.html
*** CT 2022-05-18 10:10:22.862 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_577.html

*** User 2022-05-18 10:10:22.868 ***
alicE_unnamed_2042@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-18 10:10:22.868 ***
alicE_unnamed_2042@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98401c0f4a474b3d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:10:22.868 ***
alicE_unnamed_2042@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-18 10:10:22.869 ***
alicE_unnamed_2042@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjA0MgB3cm9uZw==</auth>



*** User 2022-05-18 10:10:23.205 ***
alicE_unnamed_2042@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:10:23.205 ***
alicE_unnamed_2042@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-18 10:10:23.206 ***
alicE_unnamed_2042@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2872bf19ad3fdb1c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:10:23.206 ***
alicE_unnamed_2042@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-18 10:10:23.206 ***
alicE_unnamed_2042@domain.example.com out
<iq type='set' id='2f9d035cbc7524b0f565b37eb256eb0f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-05-18 10:10:23.206 ***
alicE_unnamed_2042@domain.example.com in
<iq id='2f9d035cbc7524b0f565b37eb256eb0f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_2042@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-05-18 10:10:23.206 ***
alice_unnamed_2042@domain.example.com/escalus-default-resource out
<iq type='set' id='01bc3ff02dac2b3416f6ae34773be8ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:10:23.207 ***
alice_unnamed_2042@domain.example.com/escalus-default-resource in
<iq type='result' id='01bc3ff02dac2b3416f6ae34773be8ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>


*** CT 2022-05-18 10:10:23.210 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_577.html
*** CT 2022-05-18 10:10:23.211 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3098.html



=== Ended at 2022-05-18 10:10:23
=== successfully completed test case
=== === Returned value: {ok,{client,<<"alice_unnamed_2042@domain.example.com/escalus-default-resource">>,
                                escalus_tcp,<0.14016.2>,undefined,
                                [{port,5223},
                                 {password,<<"wrong">>},
                                 {username,<<"alice_unnamed_2042">>},
                                 {server,<<"domain.example.com">>},
                                 {host,<<"localhost">>},
                                 {password,<<"matygrysa">>},
                                 {stream_id,<<"2872bf19ad3fdb1c">>},
                                 {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}]}