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

=== Config value:

    [{escalus_cleaner,<0.13892.2>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {watchdog,<0.13889.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/auth_methods_for_c2s_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-05-25_09.15.24/auth_methods_for_c2s_suite.can_login_with_allowed_method.160002.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-05-25_09.15.24/log_private/"}]

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

=== Started at 2022-05-25 09:15:25


*** CT 2022-05-25 09:15:25.058 *** View log from node mongooseim@localhost when started mongooseim@localhost_3108.html
*** CT 2022-05-25 09:15:25.059 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_580.html

*** User 2022-05-25 09:15:25.066 ***
alicE_unnamed_2244@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-25 09:15:25.067 ***
alicE_unnamed_2244@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6dd626ce7a6c70f1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:15:25.067 ***
alicE_unnamed_2244@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-05-25 09:15:25.067 ***
alicE_unnamed_2244@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjI0NABtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 09:15:25.068 ***
alicE_unnamed_2244@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:15:25.069 ***
alicE_unnamed_2244@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-25 09:15:25.069 ***
alicE_unnamed_2244@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='85f43148e57fc4d1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:15:25.069 ***
alicE_unnamed_2244@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-25 09:15:25.070 ***
alicE_unnamed_2244@domain.example.com out
<iq type='set' id='ae80dfdcec920ebddf42005c221f4cb5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-05-25 09:15:25.070 ***
alicE_unnamed_2244@domain.example.com in
<iq id='ae80dfdcec920ebddf42005c221f4cb5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_2244@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-05-25 09:15:25.071 ***
alice_unnamed_2244@domain.example.com/escalus-default-resource out
<iq type='set' id='2436d69d6f80dbeb46eb3aa5fde0d0a3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:15:25.071 ***
alice_unnamed_2244@domain.example.com/escalus-default-resource in
<iq type='result' id='2436d69d6f80dbeb46eb3aa5fde0d0a3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>


*** CT 2022-05-25 09:15:25.095 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_580.html
*** CT 2022-05-25 09:15:25.102 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3108.html



=== Ended at 2022-05-25 09:15:25
=== successfully completed test case
=== === Returned value: {ok,{client,<<"alice_unnamed_2244@domain.example.com/escalus-default-resource">>,
                                escalus_tcp,<0.13941.2>,undefined,
                                [{username,<<"alice_unnamed_2244">>},
                                 {server,<<"domain.example.com">>},
                                 {host,<<"localhost">>},
                                 {password,<<"matygrysa">>},
                                 {stream_id,<<"85f43148e57fc4d1">>},
                                 {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}]}