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

=== Config value:

    [{escalus_cleaner,<0.28675.2>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {watchdog,<0.28672.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-04-04_15.17.55/auth_methods_for_c2s_suite.cannot_login_with_not_allowed_method.132995.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2022-04-04_15.17.55/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:17:55


*** CT 2022-04-04 15:17:55.570 *** View log from node mongooseim@localhost when started mongooseim@localhost_5715.html
*** CT 2022-04-04 15:17:55.571 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2051.html

*** User 2022-04-04 15:17:55.575 ***
alicE_unnamed_2598@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:17:55.575 ***
alicE_unnamed_2598@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d49865f174cda4f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:17:55.575 ***
alicE_unnamed_2598@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-04-04 15:17:55.575 ***
alicE_unnamed_2598@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjU5OAB3cm9uZw==</auth>



*** User 2022-04-04 15:17:55.576 ***
alicE_unnamed_2598@localhost in
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
	<not-authorized/>
</failure>


*** CT 2022-04-04 15:17:55.579 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2051.html
*** CT 2022-04-04 15:17:55.580 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5715.html



=== Ended at 2022-04-04 15:17:55
=== successfully completed test case
=== === Returned value: {error,
                        {connection_step_failed,
                            {{escalus_session,authenticate},
                             {client,<<"alicE_unnamed_2598@localhost">>,
                                 escalus_tcp,<0.28743.2>,undefined,
                                 [{password,<<"wrong">>},
                                  {username,<<"alicE_unnamed_2598">>},
                                  {server,<<"localhost">>},
                                  {password,<<"matygrysa">>},
                                  {host,<<"localhost">>},
                                  {stream_id,<<"4d49865f174cda4f">>}]},
                             [{compression,[<<"zlib">>]},
                              {starttls,true},
                              {stream_management,true},
                              {advanced_message_processing,true},
                              {client_state_indication,false},
                              {sasl_mechanisms,
                                  [<<"SCRAM-SHA-256">>,<<"PLAIN">>]},
                              {caps,undefined}]},
                            {auth_failed,<<"alicE_unnamed_2598">>,
                                {xmlel,<<"failure">>,
                                    [{<<"xmlns">>,
                                      <<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                                    [{xmlel,<<"not-authorized">>,[],[]}]}}}}