=== Test case: websockets_SUITE:too_big_stanza_is_rejected/1 (click for source code) === Config value: [{user,geralt}, {watchdog,<0.62040.0>}, {original_listeners,[#{module => ejabberd_cowboy,port => 5280, protocol => #{compress => false}, handlers => [#{module => mod_bosh,path => "/http-bind", host => '_'}, #{timeout => 60000,module => mod_websockets, path => "/ws-xmpp",host => '_', backwards_compatible_session => true, max_stanza_size => infinity, c2s_state_timeout => 5000}], transport => #{num_acceptors => 10,max_connections => 1024}, ip_address => "0", ip_tuple => {0,0,0,0}, proto => tcp,connection_type => undefined, ip_version => 4}, #{module => ejabberd_cowboy,port => 5285, protocol => #{compress => false}, handlers => [#{module => mod_bosh,path => "/http-bind", host => '_'}, #{timeout => 60000,module => mod_websockets, path => "/ws-xmpp",host => '_', backwards_compatible_session => true, max_stanza_size => infinity, c2s_state_timeout => 5000}], transport => #{num_acceptors => 10,max_connections => 1024}, tls => #{password => [], certfile => "priv/ssl/fake_cert.pem", keyfile => "priv/ssl/fake_key.pem", verify_mode => none}, ip_address => "0", ip_tuple => {0,0,0,0}, proto => tcp,connection_type => undefined, ip_version => 4}, #{module => ejabberd_cowboy,port => 8088, protocol => #{compress => false}, handlers => [#{module => mongoose_admin_api, path => "/api",host => "localhost", handlers => [contacts,users,sessions,messages, stanzas,muc_light,muc,inbox,domain, metrics]}], transport => #{num_acceptors => 10,max_connections => 1024}, ip_address => "127.0.0.1", ip_tuple => {127,0,0,1}, proto => tcp,connection_type => undefined, ip_version => 4}, #{module => ejabberd_cowboy,port => 8089, protocol => #{compress => true}, handlers => [#{module => mongoose_client_api, path => "/api",host => '_', handlers => [sse,messages,contacts,rooms, rooms_config,rooms_users, rooms_messages], docs => true}], transport => #{num_acceptors => 10,max_connections => 1024}, tls => #{password => [], certfile => "priv/ssl/fake_cert.pem", keyfile => "priv/ssl/fake_key.pem", verify_mode => none}, ip_address => "0", ip_tuple => {0,0,0,0}, proto => tcp,connection_type => undefined, ip_version => 4}, #{module => ejabberd_cowboy,port => 5551, protocol => #{compress => false}, handlers => [#{module => mongoose_graphql_handler, path => "/api/graphql",host => "localhost", username => <<"admin">>, password => <<"secret">>, sse_idle_timeout => 3600000, schema_endpoint => admin}], transport => #{num_acceptors => 10,max_connections => 1024}, ip_address => "127.0.0.1", ip_tuple => {127,0,0,1}, proto => tcp,connection_type => undefined, ip_version => 4}, #{module => ejabberd_cowboy,port => 5541, protocol => #{compress => false}, handlers => [#{module => mongoose_graphql_handler, path => "/api/graphql",host => '_', sse_idle_timeout => 3600000, schema_endpoint => domain_admin}], transport => #{num_acceptors => 10,max_connections => 1024}, ip_address => "0.0.0.0", ip_tuple => {0,0,0,0}, proto => tcp,connection_type => undefined, ip_version => 4}, #{module => ejabberd_cowboy,port => 5561, protocol => #{compress => false}, handlers => [#{module => mongoose_graphql_handler, path => "/api/graphql",host => '_', sse_idle_timeout => 3600000, schema_endpoint => user}], transport => #{num_acceptors => 10,max_connections => 1024}, ip_address => "0.0.0.0", ip_tuple => {0,0,0,0}, proto => tcp,connection_type => undefined, ip_version => 4}]}, {preset,"ldap_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/websockets_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@89b846a8b46e.2024-03-11_11.28.50/big_tests.tests.websockets_SUITE.logs/run.2024-03-11_11.42.49/websockets_suite.too_big_stanza_is_rejected.html"}, {tc_group_properties,[{name,ws_chat},sequence]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/websockets_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@89b846a8b46e.2024-03-11_11.28.50/big_tests.tests.websockets_SUITE.logs/run.2024-03-11_11.42.49/log_private/"}, {escalus_users,[{alice,[{username,<<"alicE">>}, {server,<<"localhost">>}, {password,<<"matygrysa">>}]}, {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}]}]}, {carol,[{username,<<"carol">>}, {server,<<"localhost">>}, {password,<<"jinglebells">>}, {transport,escalus_bosh}, {path,<<"/http-bind">>}, {port,5280}]}]}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@89b846a8b46e.2024-03-11_11.28.50" === Started at 2024-03-11 11:42:49
*** User 2024-03-11 11:42:50.004 ***🔗 alicE@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:42:50.004 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d95d308da70460f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:42:50.004 ***🔗 alicE@localhost/res1 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>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-03-11 11:42:50.004 ***🔗 alicE@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 11:42:50.006 ***🔗 alicE@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:42:50.006 ***🔗 alicE@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:42:50.006 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd77453b3392d2b2' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-03-11 11:42:50.006 ***🔗 alicE@localhost/res1 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <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-11 11:42:50.006 ***🔗 alicE@localhost/res1 out <iq type='set' id='6457fcbb5e00fb809880c8115699ceb4'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-11 11:42:50.007 ***🔗 alicE@localhost/res1 in <iq id='6457fcbb5e00fb809880c8115699ceb4' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res1</jid> </bind> </iq>
*** User 2024-03-11 11:42:50.007 ***🔗 alice@localhost/res1 out <iq type='set' id='61d304e210c637ae2c9c7af2af6df483'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 11:42:50.007 ***🔗 alice@localhost/res1 in <iq from='localhost' to='alice@localhost/res1' id='61d304e210c637ae2c9c7af2af6df483' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 11:42:50.007 ***🔗 alice@localhost/res1 out <presence/>
*** User 2024-03-11 11:42:50.008 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res1' to='alice@localhost/res1'/>
*** User 2024-03-11 11:42:50.009 ***🔗 geralt@localhost/res1 out <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2024-03-11 11:42:50.009 ***🔗 geralt@localhost/res1 in <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='35d96b334719de09' from='localhost' version='1.0' xml:lang='en'/>
*** User 2024-03-11 11:42:50.010 ***🔗 geralt@localhost/res1 in <features xmlns='http://etherx.jabber.org/streams'> <register xmlns='http://jabber.org/features/iq-register'/> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </features>
*** User 2024-03-11 11:42:50.010 ***🔗 geralt@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdAB3aXRjaGVy</auth>
*** User 2024-03-11 11:42:50.011 ***🔗 geralt@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:42:50.011 ***🔗 geralt@localhost/res1 out <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2024-03-11 11:42:50.011 ***🔗 geralt@localhost/res1 in <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='7ef1760f5436811f' from='localhost' version='1.0' xml:lang='en' to='geralt@localhost'/>
*** User 2024-03-11 11:42:50.011 ***🔗 geralt@localhost/res1 in <features xmlns='http://etherx.jabber.org/streams'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <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'/> </features>
*** User 2024-03-11 11:42:50.011 ***🔗 geralt@localhost/res1 out <iq type='set' id='62daed0ea053c04f915e76f1b4c119c3'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-11 11:42:50.012 ***🔗 geralt@localhost/res1 in <iq id='62daed0ea053c04f915e76f1b4c119c3' type='result' xmlns='jabber:client'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>geralt@localhost/res1</jid> </bind> </iq>
*** User 2024-03-11 11:42:50.012 ***🔗 geralt@localhost/res1 out <iq type='set' id='1a30428f2496491775a3cd8a8ec2560f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 11:42:50.012 ***🔗 geralt@localhost/res1 in <iq from='localhost' to='geralt@localhost/res1' id='1a30428f2496491775a3cd8a8ec2560f' type='result' xmlns='jabber:client'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 11:42:50.012 ***🔗 geralt@localhost/res1 out <presence/>
*** User 2024-03-11 11:42:50.013 ***🔗 geralt@localhost/res1 in <presence from='geralt@localhost/res1' to='geralt@localhost/res1' xmlns='jabber:client'/>
*** User 2024-03-11 11:42:50.013 ***🔗 geralt@localhost/res1 out <message type='chat' to='alice@localhost/res1'> <body>6a84536ddf31b0957d6967501368bb6d480b5c78ad7d88e1a0d62884d0e92ca68191210793a1d43f029399e71676d160d96c1a0062de30870e233e90f5cc9886814eebad8875e0ea7197b69cede44e7f18d25c5dc0636e654d1e0376c7297c966caf49a6a71806f5f62357d7e75bce33479047e9a4ba5bd0fcc65aa669baa463b10796b056e53523b0ebd1f79547cb44385421a53454b47caeb71b831c25dc5a53529d1c3f4d6e5eb46f5415611d22219ebe896756eed516fa6cb02a6a40419428cf50ac85e6a053</body> </message>
*** User 2024-03-11 11:42:50.013 ***🔗 geralt@localhost/res1 in <error xmlns='http://etherx.jabber.org/streams'> <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> </error>
*** User 2024-03-11 11:42:50.014 ***🔗 geralt@localhost/res1 in <close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2024-03-11 11:42:50.014 ***🔗 alice@localhost/res1 out </stream:stream>
*** User 2024-03-11 11:42:50.014 ***🔗 alice@localhost/res1 in </stream:stream>
=== Ended at 2024-03-11 11:42:50 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result