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

=== Config value:

    [{escalus_cleaner,<0.5044.2>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {watchdog,<0.5041.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/auth_methods_for_c2s_SUITE_data"},
     {preset,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1d2c55569403.2022-05-25_09.03.50/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-05-25_09.17.22/auth_methods_for_c2s_suite.can_login_with_allowed_method.108674.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@1d2c55569403.2022-05-25_09.03.50/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-05-25_09.17.22/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1d2c55569403.2022-05-25_09.03.50"

=== Started at 2022-05-25 09:17:23


*** CT 2022-05-25 09:17:23.624 *** View log from node mongooseim@localhost when started mongooseim@localhost_5961.html
*** CT 2022-05-25 09:17:23.625 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2071.html

*** User 2022-05-25 09:17:23.629 ***
alicE_unnamed_1769@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:17:23.629 ***
alicE_unnamed_1769@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ca78523f26f2e9c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:17:23.630 ***
alicE_unnamed_1769@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-05-25 09:17:23.630 ***
alicE_unnamed_1769@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTc2OQBtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 09:17:23.630 ***
alicE_unnamed_1769@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:17:23.630 ***
alicE_unnamed_1769@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 09:17:23.630 ***
alicE_unnamed_1769@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c45e5cd3d60ff00' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:17:23.631 ***
alicE_unnamed_1769@localhost 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-25 09:17:23.631 ***
alicE_unnamed_1769@localhost out
<iq type='set' id='9d838132d59bac0049fe4f76eb5a7e49'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-05-25 09:17:23.631 ***
alicE_unnamed_1769@localhost in
<iq id='9d838132d59bac0049fe4f76eb5a7e49' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_1769@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-05-25 09:17:23.631 ***
alice_unnamed_1769@localhost/escalus-default-resource out
<iq type='set' id='c91771703c7af517bd2d32210e26093a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:17:23.631 ***
alice_unnamed_1769@localhost/escalus-default-resource in
<iq type='result' id='c91771703c7af517bd2d32210e26093a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>


*** CT 2022-05-25 09:17:23.635 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2071.html
*** CT 2022-05-25 09:17:23.635 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5961.html



=== Ended at 2022-05-25 09:17:23
=== successfully completed test case
=== === Returned value: {ok,{client,<<"alice_unnamed_1769@localhost/escalus-default-resource">>,
                                escalus_tcp,<0.5112.2>,undefined,
                                [{username,<<"alice_unnamed_1769">>},
                                 {server,<<"localhost">>},
                                 {password,<<"matygrysa">>},
                                 {host,<<"localhost">>},
                                 {stream_id,<<"9c45e5cd3d60ff00">>},
                                 {resource,<<"escalus-default-resource">>}]},
                        [{compression,[<<"zlib">>]},
                         {starttls,true},
                         {stream_management,true},
                         {advanced_message_processing,true},
                         {client_state_indication,false},
                         {sasl_mechanisms,[<<"SCRAM-SHA-256">>,<<"PLAIN">>]},
                         {caps,undefined}]}