=== Test case: graphql_muc_light_SUITE:admin_blocking_list/1 (click for source code) === Config value: [{muc_light_host,<<"muclight.localhost">>}, {secondary_muc_light_host,<<"muclight.localhost.bis">>}, {watchdog,<0.24933.0>}, {protocol,http}, {domain_admin,{<<"admin@localhost">>,<<"8410c8749ee91657">>}}, {schema_endpoint,domain_admin}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"pgsql_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_muc_light_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@74579b554f9a.2024-03-06_10.03.35/big_tests.tests.graphql_muc_light_SUITE.logs/run.2024-03-06_10.07.49/graphql_muc_light_suite.admin_blocking_list.67970.html"}, {tc_group_properties,[{name,domain_admin_muc_light}]}, {tc_group_path,[[{name,domain_admin}]]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_muc_light_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@74579b554f9a.2024-03-06_10.03.35/big_tests.tests.graphql_muc_light_SUITE.logs/run.2024-03-06_10.07.49/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_vcard => #{matches => 30, host => {prefix,<<"vjud.">>}, search => true,iqdisc => parallel,backend => rdbms}, mod_roster => #{iqdisc => one_queue,backend => rdbms,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}}}, {{saved_modules,mongooseim@localhost,<<"localhost.bis">>}, #{mod_vcard => #{matches => 30, host => {prefix,<<"vjud.">>}, search => true,iqdisc => parallel,backend => rdbms}, mod_roster => #{iqdisc => one_queue,backend => rdbms,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}}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@74579b554f9a.2024-03-06_10.03.35" === Started at 2024-03-06 10:08:31
*** User 2024-03-06 10:08:31.365 ***🔗 alicE_admin_blocking_list_1146@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-06 10:08:31.365 ***🔗 alicE_admin_blocking_list_1146@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='63096b734fde9f53' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 10:08:31.365 ***🔗 alicE_admin_blocking_list_1146@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>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-06 10:08:31.366 ***🔗 alicE_admin_blocking_list_1146@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX2Jsb2NraW5nX2xpc3RfMTE0NgBtYXR5Z3J5c2E=</auth>
*** User 2024-03-06 10:08:31.367 ***🔗 alicE_admin_blocking_list_1146@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 10:08:31.367 ***🔗 alicE_admin_blocking_list_1146@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-06 10:08:31.367 ***🔗 alicE_admin_blocking_list_1146@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5758ff7a1f282f50' from='localhost' version='1.0' xml:lang='en' to='alice_admin_blocking_list_1146@localhost'>
*** User 2024-03-06 10:08:31.367 ***🔗 alicE_admin_blocking_list_1146@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-06 10:08:31.367 ***🔗 alicE_admin_blocking_list_1146@localhost/res1 out <iq type='set' id='ca92c9a518b7b3220a6ac50645d5e616'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-06 10:08:31.368 ***🔗 alicE_admin_blocking_list_1146@localhost/res1 in <iq id='ca92c9a518b7b3220a6ac50645d5e616' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_admin_blocking_list_1146@localhost/res1</jid> </bind> </iq>
*** User 2024-03-06 10:08:31.368 ***🔗 alice_admin_blocking_list_1146@localhost/res1 out <iq type='set' id='cb3e13d7d899c7a15b476762a240660c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-06 10:08:31.368 ***🔗 alice_admin_blocking_list_1146@localhost/res1 in <iq from='localhost' to='alice_admin_blocking_list_1146@localhost/res1' id='cb3e13d7d899c7a15b476762a240660c' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-06 10:08:31.369 ***🔗 alice_admin_blocking_list_1146@localhost/res1 out <presence/>
*** User 2024-03-06 10:08:31.370 ***🔗 alice_admin_blocking_list_1146@localhost/res1 in <presence from='alice_admin_blocking_list_1146@localhost/res1' to='alice_admin_blocking_list_1146@localhost/res1'/>
*** User 2024-03-06 10:08:31.370 ***🔗 bOb_admin_blocking_list_1146@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-06 10:08:31.371 ***🔗 bOb_admin_blocking_list_1146@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c556eb9e7832d39' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 10:08:31.371 ***🔗 bOb_admin_blocking_list_1146@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>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-06 10:08:31.371 ***🔗 bOb_admin_blocking_list_1146@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9ibG9ja2luZ19saXN0XzExNDYAbWFrcm9saWth</auth>
*** User 2024-03-06 10:08:31.372 ***🔗 bOb_admin_blocking_list_1146@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 10:08:31.372 ***🔗 bOb_admin_blocking_list_1146@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-06 10:08:31.372 ***🔗 bOb_admin_blocking_list_1146@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e82b632c5e7222a' from='localhost' version='1.0' xml:lang='en' to='bob_admin_blocking_list_1146@localhost'>
*** User 2024-03-06 10:08:31.372 ***🔗 bOb_admin_blocking_list_1146@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-06 10:08:31.372 ***🔗 bOb_admin_blocking_list_1146@localhost/res1 out <iq type='set' id='90ecec9ffab84c0ddfd033249fbf3112'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-06 10:08:31.372 ***🔗 bOb_admin_blocking_list_1146@localhost/res1 in <iq id='90ecec9ffab84c0ddfd033249fbf3112' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_admin_blocking_list_1146@localhost/res1</jid> </bind> </iq>
*** User 2024-03-06 10:08:31.373 ***🔗 bob_admin_blocking_list_1146@localhost/res1 out <iq type='set' id='3f48783a8214da54c3323f0601599b4f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-06 10:08:31.373 ***🔗 bob_admin_blocking_list_1146@localhost/res1 in <iq from='localhost' to='bob_admin_blocking_list_1146@localhost/res1' id='3f48783a8214da54c3323f0601599b4f' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-06 10:08:31.373 ***🔗 bob_admin_blocking_list_1146@localhost/res1 out <presence/>
*** User 2024-03-06 10:08:31.374 ***🔗 bob_admin_blocking_list_1146@localhost/res1 in <presence from='bob_admin_blocking_list_1146@localhost/res1' to='bob_admin_blocking_list_1146@localhost/res1'/>
*** User 2024-03-06 10:08:31.387 ***🔗 REST request: Code: 200 Req: {<0.25367.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"ea97efcc8430ba4b">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0Ojg0MTBjODc0OWVlOTE2NTc=">>}], <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\"},\"query\":\"query ($user: JID!) { muc_light { getBlockingList(user: $user) { action entity entityType } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 06 Mar 2024 10:08:31 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"45">>}], <<"{\"data\":{\"muc_light\":{\"getBlockingList\":[]}}}">>,183,11936} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, role => {graphql,domain_admin}, method => <<"POST">>, creds => {<<"admin@localhost">>,<<"8410c8749ee91657">>}, body => <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\"},\"query\":\"query ($user: JID!) { muc_light { getBlockingList(user: $user) { action entity entityType } } }\"}">>, return_maps => true,return_headers => true}
*** User 2024-03-06 10:08:31.401 ***🔗 REST request: Code: 200 Req: {<0.25369.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"88af84eb36049e19">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0Ojg0MTBjODc0OWVlOTE2NTc=">>}], <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\",\"items\":[{\"entityType\":\"USER\",\"entity\":\"bob_admin_blocking_list_1146@localhost/res1\",\"action\":\"DENY\"}]},\"query\":\"mutation ($items: [BlockingInput!]!, $user: JID!) { muc_light { setBlockingList(items: $items, user: $user) } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 06 Mar 2024 10:08:31 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"84">>}], <<"{\"data\":{\"muc_light\":{\"setBlockingList\":\"User blocking list updated successfully\"}}}">>, 222,12333} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, role => {graphql,domain_admin}, method => <<"POST">>, creds => {<<"admin@localhost">>,<<"8410c8749ee91657">>}, body => <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\",\"items\":[{\"entityType\":\"USER\",\"entity\":\"bob_admin_blocking_list_1146@localhost/res1\",\"action\":\"DENY\"}]},\"query\":\"mutation ($items: [BlockingInput!]!, $user: JID!) { muc_light { setBlockingList(items: $items, user: $user) } }\"}">>, return_maps => true,return_headers => true}
*** User 2024-03-06 10:08:31.413 ***🔗 REST request: Code: 200 Req: {<0.25371.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"6ee107aad1c17bda">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0Ojg0MTBjODc0OWVlOTE2NTc=">>}], <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\"},\"query\":\"query ($user: JID!) { muc_light { getBlockingList(user: $user) { action entity entityType } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 06 Mar 2024 10:08:31 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"132">>}], <<"{\"data\":{\"muc_light\":{\"getBlockingList\":[{\"entityType\":\"USER\",\"entity\":\"bob_admin_blocking_list_1146@localhost\",\"action\":\"DENY\"}]}}}">>, 271,10136} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, role => {graphql,domain_admin}, method => <<"POST">>, creds => {<<"admin@localhost">>,<<"8410c8749ee91657">>}, body => <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\"},\"query\":\"query ($user: JID!) { muc_light { getBlockingList(user: $user) { action entity entityType } } }\"}">>, return_maps => true,return_headers => true}
*** User 2024-03-06 10:08:31.430 ***🔗 REST request: Code: 200 Req: {<0.25373.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f0ff92822857bf7f">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0Ojg0MTBjODc0OWVlOTE2NTc=">>}], <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\",\"items\":[{\"entityType\":\"USER\",\"entity\":\"bob_admin_blocking_list_1146@localhost/res1\",\"action\":\"ALLOW\"}]},\"query\":\"mutation ($items: [BlockingInput!]!, $user: JID!) { muc_light { setBlockingList(items: $items, user: $user) } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 06 Mar 2024 10:08:31 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"84">>}], <<"{\"data\":{\"muc_light\":{\"setBlockingList\":\"User blocking list updated successfully\"}}}">>, 222,15051} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, role => {graphql,domain_admin}, method => <<"POST">>, creds => {<<"admin@localhost">>,<<"8410c8749ee91657">>}, body => <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\",\"items\":[{\"entityType\":\"USER\",\"entity\":\"bob_admin_blocking_list_1146@localhost/res1\",\"action\":\"ALLOW\"}]},\"query\":\"mutation ($items: [BlockingInput!]!, $user: JID!) { muc_light { setBlockingList(items: $items, user: $user) } }\"}">>, return_maps => true,return_headers => true}
*** User 2024-03-06 10:08:31.439 ***🔗 REST request: Code: 200 Req: {<0.25375.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"6b7c6eea139b3fa3">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0Ojg0MTBjODc0OWVlOTE2NTc=">>}], <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\"},\"query\":\"query ($user: JID!) { muc_light { getBlockingList(user: $user) { action entity entityType } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 06 Mar 2024 10:08:31 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"45">>}], <<"{\"data\":{\"muc_light\":{\"getBlockingList\":[]}}}">>,183,8120} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, role => {graphql,domain_admin}, method => <<"POST">>, creds => {<<"admin@localhost">>,<<"8410c8749ee91657">>}, body => <<"{\"variables\":{\"user\":\"alice_admin_blocking_list_1146@localhost/res1\"},\"query\":\"query ($user: JID!) { muc_light { getBlockingList(user: $user) { action entity entityType } } }\"}">>, return_maps => true,return_headers => true}
*** User 2024-03-06 10:08:31.440 ***🔗 bob_admin_blocking_list_1146@localhost/res1 out </stream:stream>
*** User 2024-03-06 10:08:31.440 ***🔗 bob_admin_blocking_list_1146@localhost/res1 in </stream:stream>
*** User 2024-03-06 10:08:31.440 ***🔗 alice_admin_blocking_list_1146@localhost/res1 out </stream:stream>
*** User 2024-03-06 10:08:31.441 ***🔗 alice_admin_blocking_list_1146@localhost/res1 in </stream:stream>
=== Ended at 2024-03-06 10:08:31 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result