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

=== Config value:

    [{escalus_cleaner,<0.5155.0>},
     {auth_mod,ejabberd_auth_internal},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {watchdog,<0.5151.0>},
     {preset,"internal_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/auth_methods_for_c2s_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@de782f0351b0.2024-04-23_08.56.42/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2024-04-23_08.57.03/auth_methods_for_c2s_suite.can_login_with_allowed_method.9730.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@de782f0351b0.2024-04-23_08.56.42/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2024-04-23_08.57.03/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@de782f0351b0.2024-04-23_08.56.42"

=== Started at 2024-04-23 08:57:04


*** CT 2024-04-23 08:57:04.525 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_66.html

*** User 2024-04-23 08:57:04.527 ***🔗
alicE_unnamed_267@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 08:57:04.527 ***🔗
alicE_unnamed_267@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1aef92313a25268' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 08:57:04.527 ***🔗
alicE_unnamed_267@localhost in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 08:57:04.527 ***🔗
alicE_unnamed_267@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjY3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 08:57:04.528 ***🔗
alicE_unnamed_267@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 08:57:04.528 ***🔗
alicE_unnamed_267@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 08:57:04.528 ***🔗
alicE_unnamed_267@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='770783202797cd01' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_267@localhost'>

*** User 2024-04-23 08:57:04.528 ***🔗
alicE_unnamed_267@localhost in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 08:57:04.528 ***🔗
alicE_unnamed_267@localhost out
<iq type='set' id='e0a05e6ac505f756b9d7f3771be64d0e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-23 08:57:04.529 ***🔗
alicE_unnamed_267@localhost in
<iq id='e0a05e6ac505f756b9d7f3771be64d0e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_267@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-23 08:57:04.529 ***🔗
alice_unnamed_267@localhost/escalus-default-resource out
<iq type='set' id='7b791ffdb297dfcef40afdcd884c68f2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:57:04.529 ***🔗
alice_unnamed_267@localhost/escalus-default-resource in
<iq from='localhost' to='alice_unnamed_267@localhost/escalus-default-resource' id='7b791ffdb297dfcef40afdcd884c68f2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>


*** CT 2024-04-23 08:57:04.533 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_66.html



=== Ended at 2024-04-23 08:57:04
=== successfully completed test case
=== === Returned value: {ok,{client,<<"alice_unnamed_267@localhost/escalus-default-resource">>,
                                escalus_tcp,<0.5191.0>,undefined,
                                [{username,<<"alice_unnamed_267">>},
                                 {server,<<"localhost">>},
                                 {password,<<"matygrysa">>},
                                 {host,<<"localhost">>},
                                 {stream_id,<<"770783202797cd01">>},
                                 {resource,<<"escalus-default-resource">>}]},
                        [{compression,false},
                         {starttls,true},
                         {stream_management,true},
                         {advanced_message_processing,true},
                         {client_state_indication,false},
                         {sasl_mechanisms,[<<"SCRAM-SHA-256">>,<<"PLAIN">>]},
                         {caps,undefined}]}