=== Test case: auth_methods_for_c2s_SUITE:cannot_login_with_not_allowed_method/1 (click for source code)
=== Config value:
[{escalus_cleaner,<0.6582.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{watchdog,<0.6578.0>},
{preset,"pgsql_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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2023-11-23_14.14.23/auth_methods_for_c2s_suite.cannot_login_with_not_allowed_method.12546.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.auth_methods_for_c2s_SUITE.logs/run.2023-11-23_14.14.23/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7465fd1d5a64.2023-11-23_14.13.58"
=== Started at 2023-11-23 14:14:23
*** User 2023-11-23 14:14:23.962 ***🔗
alicE_unnamed_384@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 2023-11-23 14:14:23.963 ***🔗
alicE_unnamed_384@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d592ba9ce6007d6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-23 14:14:23.963 ***🔗
alicE_unnamed_384@domain.example.com 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 2023-11-23 14:14:23.963 ***🔗
alicE_unnamed_384@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzg0AHdyb25n</auth>
*** User 2023-11-23 14:14:23.963 ***🔗
alicE_unnamed_384@domain.example.com in
<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<not-authorized/>
</failure>
=== Ended at 2023-11-23 14:14:23
=== successfully completed test case
=== === Returned value: {error,
{connection_step_failed,
{{escalus_session,authenticate},
{client,
<<"alicE_unnamed_384@domain.example.com">>,
escalus_tcp,<0.6624.0>,undefined,
[{password,<<"wrong">>},
{username,<<"alicE_unnamed_384">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"8d592ba9ce6007d6">>}]},
[{compression,false},
{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_384">>,
{xmlel,<<"failure">>,
[{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
[{xmlel,<<"not-authorized">>,[],[]}]}}}}