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

=== Config value:

    [{c2s_listener,
         #{access => c2s,backlog => 1024,backwards_compatible_session => true,
           c2s_state_timeout => 5000,connection_type => undefined,
           hibernate_after => 0,ip_address => "0",
           ip_tuple => {0,0,0,0},
           ip_version => 4,max_connections => infinity,
           max_stanza_size => 65536,module => mongoose_c2s_listener,
           num_acceptors => 100,port => 5222,proto => tcp,
           proxy_protocol => false,reuse_port => false,shaper => c2s_shaper,
           tls =>
               #{certfile => "priv/ssl/fake_server.pem",
                 ciphers => "TLSv1.2:TLSv1.3",
                 dhfile => "priv/ssl/fake_dh_server.pem",mode => starttls,
                 module => fast_tls,
                 protocol_options =>
                     ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
                 verify_mode => none}}},
     {watchdog,<0.1493.0>},
     {escalus_overrides,
         [{initial_activity,#Fun<mim_c2s_SUITE.0.67541742>},
          {start_ready_clients,fun mim_c2s_SUITE:escalus_start/2}]},
     {preset,"pgsql_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@1378bf9ac78f.2024-03-20_18.07.19/big_tests.tests.mim_c2s_SUITE.logs/run.2024-03-20_18.07.21/mim_c2s_suite.too_big_stanza_is_rejected.131.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@1378bf9ac78f.2024-03-20_18.07.19/big_tests.tests.mim_c2s_SUITE.logs/run.2024-03-20_18.07.21/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {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@1378bf9ac78f.2024-03-20_18.07.19"

=== Started at 2024-03-20 18:07:22


*** CT 2024-03-20 18:07:22.022 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_24.html

*** User 2024-03-20 18:07:22.137 ***🔗
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-03-20 18:07:22.138 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47cf25a5dc30c02e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:07:22.141 ***🔗
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-03-20 18:07:22.156 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Rvb19iaWdfc3RhbnphX2lzX3JlamVjdGVkXzkAbWF0eWdyeXNh</auth>



*** User 2024-03-20 18:07:22.160 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:07:22.160 ***🔗
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-03-20 18:07:22.162 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6bca730d3385d3e3' from='localhost' version='1.0' xml:lang='en' to='alice_too_big_stanza_is_rejected_9@localhost'>

*** User 2024-03-20 18:07:22.166 ***🔗
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-03-20 18:07:22.166 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost out
<iq type='set' id='2ea1a5ff8568feba7657c274bd53c45f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-03-20 18:07:22.167 ***🔗
alicE_too_big_stanza_is_rejected_9@localhost in
<iq id='2ea1a5ff8568feba7657c274bd53c45f' 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-03-20 18:07:22.178 ***🔗
alice_too_big_stanza_is_rejected_9@localhost/escalus-default-resource out
<message to='alice_too_big_stanza_is_rejected_9@localhost/escalus-default-resource' type='chat'>
	<body>d7aa1c24437a3d5a20c458d8b559ea52296056e5499cef153d752ceb4aadd6727a75f613faf1fc1ebfdb694a6a75910d808106bee291a408e0c06203b07b21f22451af7e6116a4d1374114650222bd7efe4897638ef776d4cd82befae4706e17556e005ff4550fd62737491c2d527f0447b14549b8dd3cc7f097123782802c15e5e2a73a63f7502a64b3b9c4ba85e296dd4f69c60d7a3be6d3e637fea3051e2413e2a37e64ee15ca81c8109b3fbb9c081c8205b7b7b9db9e0baa6ef516815f3fdd2fcc462b5a9b0a611575a248ea200242b4bae798434b256dee4162086877571ef7d6fbe5b148898df442b43b981452412722ec6634815da1126779c27ef19c6fbd3896312d02b81054061389c5335960389ec268a4140fd34ad0ced2c6c8da90fbbd37fb017e4c1ebaa06c0db5fd13b6e88248b8fad1f5e3bf4328a4bbef47a901ee7e5a2d51dab5376b3bc83c330dc35d2b19fee0756ed9348a128cdc92bd9e66869453e01b767c365535abd96465e82a32bc41e8928fe0f83039efa61d2ce741f1a6cb81e024eb80f6573c20cbbd80c59a9487e3d5045248f47c576f6400674bc4251e80b626c9ce43af5025784bb98ae68fb6626343975e4a95a6b53a0a50bfa62102ae907a5cf114bf0be926eee550f2e0e470b18ae57eb8ab482b2b1bcd50e48524697cd2f90abd1992e0844657e10820e81b69292cad0fd81ad7c4f9cb116e54c93c3a8e3b04847ffa5ab141c068ae723c0a5ac742a648f52b30db83d85f1d3f8fa8f1d865fd3ceb3c65e0e03f7d6ffa77e84e8f46a7ba3635daacacf52980f81e3ee6392a99c95e66017b2cda8fd89a6d646b0b3b15e479caddd1055617050f6b7248d0745c235cf673ba07ac16c122f6f6b7b8533ed7ab3fd93facab5e47a63c0eed3e625587436615d0ee4eb59117a15711b8a42c9213437a965574ec78fb72e028879ee4d55e4726c0c3177bf9dca0479e562d61d23c8a105e09206f6962c1963622f930ad14a31e1b9ed680b0dd2c9fd812178c9b865eda5f9945886f57dfb077d3377caba2663df45a60f8331c9902dc95b8e1fdf0617c3dda0bcb28e6c346ed8716ee22891b79aa01d48b302c61f56cef1d2f692ee0b5f3319d391ee2aab03c508876904e700e370416fbd114a0af647f37cda5a4fe54cf7765e77b12f9d49aff387b116167da108b4c7b446988aa321444a6eecb32a4dd9d47fdbe63bfc5787bde736e0a11cb1b13b597063bb4a2747a33ca11e3d35b366babfc5ac39812446a61ce46a0cc08b4c633c2aac997ce7027a49ff3460ac84d779ac3b5984c1a47a6df1e9b679da35be4d6bb2fe5c82be8ed127f39fd6e92465275b3c6b27c4fe03caeda4e608971fc49ff66ba80f47b51ad4eb2737b4088607bdbd564a28f66329757022bd5506bbfbf0578f5f1e346ff91d00bcd7960a938ba</body>
</message>



*** User 2024-03-20 18:07:22.178 ***🔗
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-03-20 18:07:22.178 ***🔗
alice_too_big_stanza_is_rejected_9@localhost/escalus-default-resource in
</stream:stream>
*** CT 2024-03-20 18:07:22.183 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_30.html



=== Ended at 2024-03-20 18:07:22
=== successfully completed test case
=== === Returned value: true