=== Test case: mim_c2s_SUITE:too_big_stanza_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,
           shaper => c2s_shaper,proto => tcp,ip_address => "0",
           tls =>
               #{module => fast_tls,mode => starttls,
                 ciphers => "TLSv1.2:TLSv1.3",verify_mode => none,
                 certfile => "priv/ssl/fake_server.pem",
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
                 dhfile => "priv/ssl/fake_dh_server.pem"},
           ip_tuple => {0,0,0,0},
           connection_type => undefined,max_stanza_size => 65536,
           ip_version => 4,c2s_state_timeout => 5000,
           backwards_compatible_session => true,proxy_protocol => false,
           max_connections => infinity,reuse_port => false}},
     {watchdog,<0.1502.0>},
     {escalus_overrides,
         [{initial_activity,#Fun<mim_c2s_SUITE.0.17191332>},
          {start_ready_clients,fun mim_c2s_SUITE:escalus_start/2}]},
     {preset,"mysql_redis"},
     {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@ddae1a9683cd.2024-04-23_06.47.23/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-23_06.47.25/mim_c2s_suite.too_big_stanza_is_rejected.4.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@ddae1a9683cd.2024-04-23_06.47.23/big_tests.tests.mim_c2s_SUITE.logs/run.2024-04-23_06.47.25/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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_carboncopy => #{iqdisc => no_queue},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2}}},
     {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@ddae1a9683cd.2024-04-23_06.47.23"

=== Started at 2024-04-23 06:47:25


*** CT 2024-04-23 06:47:25.915 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_27.html

*** User 2024-04-23 06:47:26.010 ***🔗
alicE_too_big_stanza_is_rejected_9@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 06:47:26.016 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b2c3e52bd53ba57' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:47:26.024 ***🔗
alicE_too_big_stanza_is_rejected_9@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 06:47:26.035 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rvb19iaWdfc3RhbnphX2lzX3JlamVjdGVkXzkAbWF0eWdyeXNh</auth>



*** User 2024-04-23 06:47:26.037 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:47:26.037 ***🔗
alicE_too_big_stanza_is_rejected_9@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 06:47:26.037 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0595245ac03f1972' from='localhost' version='1.0' xml:lang='en' to='alice_too_big_stanza_is_rejected_9@localhost'>

*** User 2024-04-23 06:47:26.037 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<stream:features>
	<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 06:47:26.037 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost out
<iq type='set' id='d76ba7ff0621474028cecd927bd41fec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-23 06:47:26.038 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<iq id='d76ba7ff0621474028cecd927bd41fec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_too_big_stanza_is_rejected_9@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-23 06:47:26.047 ***🔗
alice_too_big_stanza_is_rejected_9@localhost/escalus-default-resource out
<message type='chat' to='alice_too_big_stanza_is_rejected_9@localhost/escalus-default-resource'>
	<body>5ab6c46493abc67b89f80dc95c197c533e07726b5a957304034333ec239d8b50c35a495f5eb4d6d34a88a15d3755f52e26252ef9b79bfa8bc10c3e72b15921fc4105852d76d2caf4738e3c5daa91df07c69060398237fd5e2aa27ad9e9a3ee3fb18a438ef6cd9078bbb869697426327daa59a7f27536c4985095562b138a72c117ebc825e2e8d30e12aa275d764532f0b709e44e79e462a974f0947b777d620b44c5705587711109d3d14883131e838d3f6fa4610b57cbaa852e50c19dd17106f282b0d89b14ca0b7c5ad41dc034bee4f610e1836f96f2c13d01685559eb141f98b5b7616555628295bfdeb36ac35e06e1df9c4a2761969c901d4423459c5fbb7b9be135ba240aa415b0df6b52f7cc834774edc0e63811ab2eb1294f882d495c2bd46b837d6b9d542845de430bcaee3da805810dbc6b60529dfc43ba19335172353d7a38b034c86710b12062c671cfd0bb87e1c376a0b68d003bfa9e4d3ed5f9c299b1951bdf34464c26ef5579d761bca3797a1a83127cc6e9a04479604d2021e415383ba4f2800ebb5abab398daa10dc49ca6a7d6ecfe8076b5097833e13460ff13f34f351b992a85aaf15d508bafc4076f7426d78adaa51222914a87f6f80a6f3e4cc53fa720a6f04daccc3dfbfcb5eee0cad2a3b7f932981fffb98024817aa4bc1e60d652a38844aeecf2762398630397f705553e8d2dcb890ce6d62ed14a96958c5650ad121d76acaff9312d915097d83600e2475e132e130d6df0df57ea37433d1a1599351c97d0cd6a451f8ba988670cec46bcb2ee5de4916f12cb60782a4fdbeeb29fa408785f8d66a36d0e28caa034d5517dab460e3d53828ddc185addee6243f3535f926b467cddd768237871733cc96c3e088ec624e8888a8a2fc8ad059818071970e045e53cf99dd55f2a66e3225d0e89a58624e3c64191038ee4e32117c5a69f034d219af7d2551f0dcd4f3f4c02c6bc440c1910cd2eadeb367d560b42e9bec45984541578a54df766d1a003b80b0057647e1dd2fa609b5182579213e45f89b070a79dd07fc5ee385951bc0a56c1a91e0c1f9845882d5d7c1f3f247c31990b099b1642b66286c4f5ef56f1364ed6f2886892644bb3d4620486e6f8346873d66c1ebfbcc2167d3090946880cceb5271de708f25427ffb8a79793610a490c67b47e7720569062d2f6b71ce4a329a536c79c00faa98a8a3d71ed8e540622f41d16216e007c5e8fffe38b917554ff06b0bc2aad333a7b42776b0aa501ef27d3a22d6a55915890586ead4eda41f145d2df284b1ff8d7da4ab63edf3d9558783e68ac201d9aea160744c68dc936f9d20dce2bde60ea3aa147c1615c8009551bbd2daafb4e49de091f8a668b1f075d5b8aa31588eb8e9be0305c12b570272bb74d78a79a2c2c9420d451b63f81bf4fe83843eea847e190e923c0b63a7b7</body>
</message>



*** User 2024-04-23 06:47:26.048 ***🔗
alice_too_big_stanza_is_rejected_9@localhost/escalus-default-resource in
<stream:error>
	<policy-violation xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
	<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>element too big</text>
</stream:error>



*** User 2024-04-23 06:47:26.048 ***🔗
alice_too_big_stanza_is_rejected_9@localhost/escalus-default-resource in
</stream:stream>
*** CT 2024-04-23 06:47:26.052 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_33.html



=== Ended at 2024-04-23 06:47:26
=== successfully completed test case
=== === Returned value: true