=== Test case: rest_client_SUITE:config_can_be_changed_by_all/1 (click for source code) === Config value: [{watchdog,<0.75643.0>}, {muc_light_host,<<"muclight.domain.example.com">>}, {mam_backend,rdbms}, {preset,"pgsql_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b324fd85012a.2024-02-19_17.21.03/big_tests.tests.rest_client_SUITE.logs/run.2024-02-19_17.35.01/rest_client_suite.config_can_be_changed_by_all.html"}, {tc_group_properties,[{name,muc_config}]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_client_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@b324fd85012a.2024-02-19_17.21.03/big_tests.tests.rest_client_SUITE.logs/run.2024-02-19_17.35.01/log_private/"}, {{saved_modules,mongooseim@localhost,<<"test type">>}, #{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_cache_users => #{strategy => fifo,number_of_segments => 5,time_to_live => 2}, mod_bosh => #{backend => mnesia,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_carboncopy => #{iqdisc => no_queue}}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b324fd85012a.2024-02-19_17.21.03" === Started at 2024-02-19 17:35:02
*** User 2024-02-19 17:35:02.750 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-19 17:35:02.750 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79e82a145b201b1f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-19 17:35:02.750 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/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-02-19 17:35:02.751 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NvbmZpZ19jYW5fYmVfY2hhbmdlZF9ieV9hbGxfMjkwNgBtYXR5Z3J5c2E=</auth>
*** User 2024-02-19 17:35:02.752 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-19 17:35:02.752 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-19 17:35:02.752 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2640d79624650d32' from='domain.example.com' version='1.0' xml:lang='en' to='alice_config_can_be_changed_by_all_2906@domain.example.com'>
*** User 2024-02-19 17:35:02.752 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/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-02-19 17:35:02.752 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/res1 out <iq type='set' id='36c68f04d47dd6ace702bc34ec6cc9a5'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-02-19 17:35:02.753 ***🔗 alicE_config_can_be_changed_by_all_2906@domain.example.com/res1 in <iq id='36c68f04d47dd6ace702bc34ec6cc9a5' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_config_can_be_changed_by_all_2906@domain.example.com/res1</jid> </bind> </iq>
*** User 2024-02-19 17:35:02.753 ***🔗 alice_config_can_be_changed_by_all_2906@domain.example.com/res1 out <iq type='set' id='69b318fb5c1bf7f7a95b37972c08c390'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-02-19 17:35:02.753 ***🔗 alice_config_can_be_changed_by_all_2906@domain.example.com/res1 in <iq from='domain.example.com' to='alice_config_can_be_changed_by_all_2906@domain.example.com/res1' id='69b318fb5c1bf7f7a95b37972c08c390' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-02-19 17:35:02.753 ***🔗 alice_config_can_be_changed_by_all_2906@domain.example.com/res1 out <presence/>
*** User 2024-02-19 17:35:02.755 ***🔗 alice_config_can_be_changed_by_all_2906@domain.example.com/res1 in <presence from='alice_config_can_be_changed_by_all_2906@domain.example.com/res1' to='alice_config_can_be_changed_by_all_2906@domain.example.com/res1'/>
*** User 2024-02-19 17:35:02.755 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-19 17:35:02.756 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53cc3f4ec562da4b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-19 17:35:02.756 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/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-02-19 17:35:02.756 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jb25maWdfY2FuX2JlX2NoYW5nZWRfYnlfYWxsXzI5MDYAbWFrcm9saWth</auth>
*** User 2024-02-19 17:35:02.757 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-19 17:35:02.757 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-19 17:35:02.757 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d509d50f4b0f83f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_config_can_be_changed_by_all_2906@domain.example.com'>
*** User 2024-02-19 17:35:02.757 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/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-02-19 17:35:02.758 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/res1 out <iq type='set' id='9cc75408ccde9468621ccb27135d358e'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-02-19 17:35:02.758 ***🔗 bOb_config_can_be_changed_by_all_2906@domain.example.com/res1 in <iq id='9cc75408ccde9468621ccb27135d358e' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_config_can_be_changed_by_all_2906@domain.example.com/res1</jid> </bind> </iq>
*** User 2024-02-19 17:35:02.758 ***🔗 bob_config_can_be_changed_by_all_2906@domain.example.com/res1 out <iq type='set' id='afec011f99bc6b54d9884df63db564ac'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-02-19 17:35:02.758 ***🔗 bob_config_can_be_changed_by_all_2906@domain.example.com/res1 in <iq from='domain.example.com' to='bob_config_can_be_changed_by_all_2906@domain.example.com/res1' id='afec011f99bc6b54d9884df63db564ac' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-02-19 17:35:02.758 ***🔗 bob_config_can_be_changed_by_all_2906@domain.example.com/res1 out <presence/>
*** User 2024-02-19 17:35:02.760 ***🔗 bob_config_can_be_changed_by_all_2906@domain.example.com/res1 in <presence from='bob_config_can_be_changed_by_all_2906@domain.example.com/res1' to='bob_config_can_be_changed_by_all_2906@domain.example.com/res1'/>
*** User 2024-02-19 17:35:02.770 ***🔗 REST request: Code: 201 Req: {<0.75789.0>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"77a08e7b9fa45d51">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbl9iZV9jaGFuZ2VkX2J5X2FsbF8yOTA2QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"201">>,<<"Created">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 19 Feb 2024 17:35:02 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1708-364102-767243\"}">>,156,4522} Params: #{path => <<"/api/rooms">>, server => #{node => mongooseim@localhost}, body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_config_can_be_changed_by_all_2906@domain.example.com">>, <<"matygrysa">>}, method => <<"POST">>,role => client,return_headers => true}
*** User 2024-02-19 17:35:02.786 ***🔗 REST request: Code: 204 Req: {<0.75795.0>,<<"/api/rooms/1708-364102-767243/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"41e6455c53b4d93b">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbl9iZV9jaGFuZ2VkX2J5X2FsbF8yOTA2QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}], <<"{\"user\":\"bob_config_can_be_changed_by_all_2906@domain.example.com\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 19 Feb 2024 17:35:02 GMT">>}], <<>>,80,9376} Params: #{path => <<"/api/rooms/1708-364102-767243/users">>, server => #{node => mongooseim@localhost}, body => <<"{\"user\":\"bob_config_can_be_changed_by_all_2906@domain.example.com\"}">>, creds => {<<"alice_config_can_be_changed_by_all_2906@domain.example.com">>, <<"matygrysa">>}, method => <<"POST">>,role => client,return_headers => true}
*** User 2024-02-19 17:35:02.786 ***🔗 bob_config_can_be_changed_by_all_2906@domain.example.com/res1 in <message from='1708-364102-767243@muclight.domain.example.com' to='bob_config_can_be_changed_by_all_2906@domain.example.com' id='4231bd67-16b0-44ca-9661-73e2153bd028' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1708-364102-781756</version> <user affiliation='member'>bob_config_can_be_changed_by_all_2906@domain.example.com</user> </x> <body/> </message>
*** User 2024-02-19 17:35:02.786 ***🔗 alice_config_can_be_changed_by_all_2906@domain.example.com/res1 in <message from='1708-364102-767243@muclight.domain.example.com' to='alice_config_can_be_changed_by_all_2906@domain.example.com' id='4231bd67-16b0-44ca-9661-73e2153bd028' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1708-364102-767226</prev-version> <version>1708-364102-781756</version> <user affiliation='member'>bob_config_can_be_changed_by_all_2906@domain.example.com</user> </x> <body/> <stanza-id by='1708-364102-767243@muclight.domain.example.com' id='C4DVGDV42AG1' xmlns='urn:xmpp:sid:0'/> </message>
*** User 2024-02-19 17:35:02.796 ***🔗 REST request: Code: 200 Req: {<0.75801.0>,<<"/api/rooms/1708-364102-767243">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"b4e2d0ec745dc0ba">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbl9iZV9jaGFuZ2VkX2J5X2FsbF8yOTA2QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 19 Feb 2024 17:35:02 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"240">>}], <<"{\"participants\":[{\"role\":\"owner\",\"user\":\"alice_config_can_be_changed_by_all_2906@domain.example.com\"},{\"role\":\"member\",\"user\":\"bob_config_can_be_changed_by_all_2906@domain.example.com\"}],\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, 365,2502} Params: #{path => <<"/api/rooms/1708-364102-767243">>, server => #{node => mongooseim@localhost}, body => <<>>, creds => {<<"alice_config_can_be_changed_by_all_2906@domain.example.com">>, <<"matygrysa">>}, method => <<"GET">>,role => client,return_headers => true}
*** User 2024-02-19 17:35:02.808 ***🔗 REST request: Code: 204 Req: {<0.75807.0>, <<"/api/rooms/1708-364102-767243@muclight.domain.example.com/config">>, <<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"8e3c2ea2c2e18aed">>}, {<<"authorization">>, <<"Basic Ym9iX2NvbmZpZ19jYW5fYmVfY2hhbmdlZF9ieV9hbGxfMjkwNkBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}], <<"{\"subject\":\"other_subject\",\"name\":\"other_name\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 19 Feb 2024 17:35:02 GMT">>}], <<>>,80,4731} Params: #{path => <<"/api/rooms/1708-364102-767243@muclight.domain.example.com/config">>, server => #{node => mongooseim@localhost}, body => <<"{\"subject\":\"other_subject\",\"name\":\"other_name\"}">>, creds => {<<"bob_config_can_be_changed_by_all_2906@domain.example.com">>, <<"makrolika">>}, method => <<"PUT">>,role => client,return_headers => true}
*** User 2024-02-19 17:35:02.815 ***🔗 REST request: Code: 200 Req: {<0.75813.0>,<<"/api/rooms/1708-364102-767243">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"2ad744dc22b8b2d2">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbl9iZV9jaGFuZ2VkX2J5X2FsbF8yOTA2QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 19 Feb 2024 17:35:02 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"233">>}], <<"{\"participants\":[{\"role\":\"owner\",\"user\":\"alice_config_can_be_changed_by_all_2906@domain.example.com\"},{\"role\":\"member\",\"user\":\"bob_config_can_be_changed_by_all_2906@domain.example.com\"}],\"subject\":\"other_subject\",\"name\":\"other_name\"}">>, 358,1889} Params: #{path => <<"/api/rooms/1708-364102-767243">>, server => #{node => mongooseim@localhost}, body => <<>>, creds => {<<"alice_config_can_be_changed_by_all_2906@domain.example.com">>, <<"matygrysa">>}, method => <<"GET">>,role => client,return_headers => true}
*** User 2024-02-19 17:35:02.815 ***🔗 bob_config_can_be_changed_by_all_2906@domain.example.com/res1 out </stream:stream>
*** User 2024-02-19 17:35:02.816 ***🔗 bob_config_can_be_changed_by_all_2906@domain.example.com/res1 in </stream:stream>
*** User 2024-02-19 17:35:02.816 ***🔗 alice_config_can_be_changed_by_all_2906@domain.example.com/res1 out </stream:stream>
*** User 2024-02-19 17:35:02.816 ***🔗 alice_config_can_be_changed_by_all_2906@domain.example.com/res1 in </stream:stream>
=== Ended at 2024-02-19 17:35:02 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result