=== Test case: mim_c2s_SUITE:too_big_opening_tag_is_rejected/1 (click for source code)

=== Config value:

    [{c2s_listener,
         #{access => c2s,module => mongoose_c2s_listener,port => 5222,
           num_acceptors => 100,hibernate_after => 0,backlog => 1024,
           tls =>
               #{module => fast_tls,mode => starttls,
                 certfile => "priv/ssl/fake_server.pem",
                 ciphers => "TLSv1.2:TLSv1.3",
                 dhfile => "priv/ssl/fake_dh_server.pem",verify_mode => none,
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
           proto => tcp,ip_address => "0",ip_version => 4,
           ip_tuple => {0,0,0,0},
           max_connections => infinity,reuse_port => false,
           connection_type => undefined,max_stanza_size => 65536,
           shaper => c2s_shaper,backwards_compatible_session => true,
           c2s_state_timeout => 5000,proxy_protocol => false}},
     {watchdog,<0.1487.0>},
     {escalus_overrides,
         [{initial_activity,#Fun<mim_c2s_SUITE.0.17191332>},
          {start_ready_clients,fun mim_c2s_SUITE:escalus_start/2}]},
     {preset,"ldap_mnesia"},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/mim_c2s_SUITE_data"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@77b2c96015af.2024-04-26_12.39.16/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-26_12.39.18/mim_c2s_suite.too_big_opening_tag_is_rejected.514.html"},
     {tc_group_properties,[{name,basic},parallel]},
     {tc_group_path,[]},
     {data_dir,
         "/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mim_c2s_SUITE_data/"},
     {priv_dir,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@77b2c96015af.2024-04-26_12.39.16/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-26_12.39.18/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,
              ldap =>
                  #{filter => <<"(objectClass=inetOrgPerson)">>,
                    base => <<"ou=Users,dc=esl,dc=com">>,deref => never,
                    pool_tag => default,
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
                    uids => [{<<"uid">>,<<"%u">>}],
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    search_operator => 'and',binary_search_fields => []},
              iqdisc => parallel,backend => ldap},
        mod_roster =>
            #{iqdisc => one_queue,backend => mnesia,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {escalus_users,
         [{alice,
              [{username,<<"alicE">>},
               {server,<<"localhost">>},
               {password,<<"matygrysa">>},
               {connection_steps,
                   [start_stream,stream_features,maybe_use_ssl,authenticate,
                    bind]}]},
          {alice_bis,
              [{username,<<"alicE">>},
               {server,<<"localhost.bis">>},
               {host,<<"localhost">>},
               {password,<<"matygrysa">>}]},
          {bob,
              [{username,<<"bOb">>},
               {server,<<"localhost">>},
               {password,<<"makrolika">>},
               {connection_steps,
                   [start_stream,stream_features,maybe_use_ssl,authenticate,
                    bind]}]},
          {carol,
              [{username,<<"carol">>},
               {server,<<"localhost">>},
               {password,<<"jinglebells">>},
               {transport,escalus_bosh},
               {path,<<"/http-bind">>},
               {port,5280}]},
          {carol_s,
              [{username,<<"carol_s">>},
               {server,<<"localhost">>},
               {password,<<"jinglebells_s">>},
               {transport,escalus_bosh},
               {ssl,true},
               {path,<<"/http-bind">>},
               {port,5285},
               {ssl_opts,[{verify,verify_none}]}]},
          {kate,
              [{username,<<"kate">>},
               {server,<<"localhost">>},
               {password,<<"makrowe;p">>}]},
          {mike,
              [{username,<<"mike">>},
               {server,<<"localhost">>},
               {password,<<"nicniema">>}]},
          {john,
              [{username,<<"john">>},
               {server,<<"localhost">>},
               {password,<<"cosontuma">>}]},
          {geralt,
              [{username,<<"geralt">>},
               {server,<<"localhost">>},
               {password,<<"witcher">>},
               {transport,escalus_ws},
               {port,5280},
               {wspath,<<"/ws-xmpp">>}]},
          {geralt_s,
              [{username,<<"geralt_s">>},
               {server,<<"localhost">>},
               {password,<<"witcher_s">>},
               {transport,escalus_ws},
               {ssl,true},
               {port,5285},
               {wspath,<<"/ws-xmpp">>},
               {ssl_opts,[{verify,verify_none}]}]},
          {hacker,
              [{username,<<"hacker">>},
               {server,<<"localhost">>},
               {password,<<"bringdowntheserver">>},
               {port,5223}]},
          {admin,
              [{username,<<"admin">>},
               {server,<<"localhost">>},
               {password,<<"bruce_almighty">>}]},
          {secure_joe,
              [{username,<<"secure_joe">>},
               {server,<<"localhost">>},
               {password,<<"break_me">>},
               {starttls,required}]},
          {astrid,
              [{username,<<"astrid">>},
               {server,<<"sogndal">>},
               {host,<<"localhost">>},
               {password,<<"doctor">>}]},
          {alice2,
              [{username,<<"alice">>},
               {server,<<"fed1">>},
               {host,<<"localhost">>},
               {port,5242},
               {password,<<"makota2">>}]},
          {bob2,
              [{username,<<"bob">>},
               {server,<<109,105,99,104,97,197,130>>},
               {host,<<"localhost">>},
               {port,5242},
               {password,<<"makota3">>}]},
          {clusterguy,
              [{username,<<"clusterguy">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"distributionftw">>},
               {port,5232}]},
          {clusterbuddy,
              [{username,<<"clusterbuddy">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"wasssssssup">>},
               {port,5232}]},
          {eve,
              [{username,<<"eve">>},
               {server,<<"localhost">>},
               {password,<<"password">>},
               {port,5252}]},
          {neustradamus,
              [{username,<<"neustradamus">>},
               {server,<<"localhost">>},
               {host,<<"localhost">>},
               {password,<<"scramshaplus">>},
               {starttls,required},
               {tls_module,fast_tls}]},
          {alice3,
              [{username,<<"alice">>},
               {server,<<"example.com">>},
               {host,<<"localhost">>},
               {password,<<"makota2">>}]},
          {bob3,
              [{username,<<"bob">>},
               {server,<<"example.org">>},
               {host,<<"localhost">>},
               {password,<<"makota3">>},
               {port,5232}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@77b2c96015af.2024-04-26_12.39.16"

=== Started at 2024-04-26 12:39:18


*** CT 2024-04-26 12:39:18.407 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_21.html

*** User 2024-04-26 12:39:18.527 ***🔗
alicE_too_big_opening_tag_is_rejected_7@localhost out
<stream:stream bigattr='d05f7483567e3e341fb4dcd2b4376b3295a35ed6dead6cafcca436a233f6a555dfe72198d9ea42648ba7b06c3ced76fed20d169cbeaa899ec764f45e6ed86af19e03107db50cd66fd9ec990ef3aa6ff2271ccafa65675f297c11c9cf1e37c8f7159b56a7670b1dd41a6eb37c91039c7e7b7b3136443800bf38c9ac9a8b7271fbda3758c7e4db0375656edde3bd9ac4675dcc7e369f824286389b0cabfa736c7dc7d392fedc80b789ea33b6e9acf8198ee9d1a7d4fb28f19716c635ec5ba2f192d4f0ca7b2de31efe208a80c5568ea294d0fd8f251773cdcfb7b0778f60f34503aaf4b1a19794f01feed28cf59a1f78f6810871d065ffac4ae36759a7b9719944b5250ec95835441a9e50837439b8d7838f469949b3581894dbfae4a80a6c6fe40cd028e1b34da43d231db19b41abcc4817c0a9055249a40fc98f255a4e37d078252846c2f4fece429fb3e65ced8131ddca93935746a10bc45109b01cf8129da27b38a93792074178c91fee3076cc003e26bdcc62f989ba094dc276797ef7acf013ce7d05816639eb3e6cafac27cf5cb019fec6380136ddc58bc6c25a15d360e3fe04ab822eefef5958714b346ad01c998619d35e5f0e0620a0e2dcb18a7981d6fbf0c498de0285dedca6d0f239c410d6d31f62365a24039a7a37b1a175689663f45a767a78b45f85a2c2bb73f55275a07212433df7044b1166254aa31b1f19c9b62722f2943d39303f008d8d041345e3c8045405e658bdf6231af864541f23ca33c753ae774d6ff4430b4ac446390ab82f270bcd00a877768abfcf82f4177ce031ac6d9df34352ca1cb5ffe974494b63341c9e0f30722114f3740538e7441e3e9a103cc0a2346e40ff48b455fc111f3b22b6bd364df00457e727cf275c3dda6e3775ec72d74a0e4a04ec9454e3ff3121fc7785ccd94d045585fdddc5990a6931e511004a4a284f1720b6b35777b93c58b1e8f5b98f6af108f8645646e5d74eb711a34d67135315bdf8654cf8abaf487c324c1e303458c20e3f883b4549d67ea648d95db48d4abb362cfdc8f65bd696a5dada223b3386bfcac37749ba201df322998af093ddb898f357ff31e5681286da60858ff4a6831eb14bb3c189c304e0cf4ed75d693331e8809f3f40e4fdcc20ed41a7dbccf5c521daee962cb62c0cd477412d1c19ca50eca2cbf5643e670dfbb87dc2f6cc8623ff3911936c8db6d530b1b244af7865b656d9e3c9630022cf028740eb662d25c5abc7b30fb6e01b42b7fa7c205f199af6e38fe1f8939de1fe1489f9af529bd4953eb3bedd4ffe4d7cd5974f58eb4acc24bb63a5d977fd1ad07adb8c375197566c98172a79a299f7af9534045da6dd34076477e0b059b9416b47d0e0cb148fe55ca4c4cabc2dd2dbe94862339455f019396a6d507d81fb0be26496daa4f915e67dba6b459a3498d33845dd'/>



*** User 2024-04-26 12:39:18.529 ***🔗
alicE_too_big_opening_tag_is_rejected_7@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='819b495dcc02a11e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:39:18.541 ***🔗
alicE_too_big_opening_tag_is_rejected_7@localhost in
<stream:error>
	<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</stream:error>



*** User 2024-04-26 12:39:18.542 ***🔗
alicE_too_big_opening_tag_is_rejected_7@localhost in
</stream:stream>
*** CT 2024-04-26 12:39:18.544 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_27.html



=== Ended at 2024-04-26 12:39:18
=== successfully completed test case
=== === Returned value: true