=== Test case: rest_client_SUITE:config_can_be_changed_by_owner/1 (click for source code) === Config value: [{watchdog,<0.27516.1>}, {muc_light_host,<<"muclight2.domain.example.com">>}, {mam_backend,rdbms}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"}, {preset,"pgsql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.rest_client_SUITE.logs/run.2022-02-02_15.15.09/rest_client_suite.config_can_be_changed_by_owner.html"}, {tc_group_properties,[{name,muc_config},{repeat_until_all_ok,3}]}, {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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.rest_client_SUITE.logs/run.2022-02-02_15.15.09/log_private/"}, {{saved_modules,mongooseim@localhost,<<"test type">>}, #{mod_adhoc => [],mod_amp => [],mod_bosh => [], mod_cache_users => [{number_of_segments,5},{time_to_live,2}], mod_carboncopy => [],mod_commands => [], mod_disco => [{users_can_see_hidden_services,false}], mod_muc_commands => [],mod_muc_light_commands => [], mod_register => [{access,register}, {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]}, {welcome_message,{[],[]}}], mod_roster => [{backend,rdbms}], mod_sic => [],mod_stream_management => [], mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36" === Started at 2022-02-02 15:15:11
*** User 2022-02-02 15:15:11.444 *** alicE_config_can_be_changed_by_owner_1641@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 2022-02-02 15:15:11.444 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80fde74738bb8381' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.444 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in <stream:features> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-02-02 15:15:11.444 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NvbmZpZ19jYW5fYmVfY2hhbmdlZF9ieV9vd25lcl8xNjQxAG1hdHlncnlzYQ==</auth>
*** User 2022-02-02 15:15:11.445 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:15:11.445 *** alicE_config_can_be_changed_by_owner_1641@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 2022-02-02 15:15:11.445 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e32fa2f1bc66dfd' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.445 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in <stream:features> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-02-02 15:15:11.446 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 out <iq type='set' id='c931e208daeac32516161481d0733852'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-02-02 15:15:11.446 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in <iq id='c931e208daeac32516161481d0733852' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1</jid> </bind> </iq>
*** User 2022-02-02 15:15:11.446 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 out <iq type='set' id='b4d289c5cf47d1a0c70f3a19701d7fb4'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-02-02 15:15:11.446 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in <iq type='result' id='b4d289c5cf47d1a0c70f3a19701d7fb4'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-02-02 15:15:11.446 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 out <presence/>
*** User 2022-02-02 15:15:11.447 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in <presence from='alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1' to='alice_config_can_be_changed_by_owner_1641@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:15:11.456 *** REST request: Code: 201 Req: {<0.27527.1>, <<"/api/rooms/room-90ba7d2655@muclight2.domain.example.com">>,<<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"45ef564b71d328a1">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbl9iZV9jaGFuZ2VkX2J5X293bmVyXzE2NDFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<"{\"subject\":\"This room subject\",\"name\":\"old_name\"}">>} Result: {{<<"201">>,<<"Created">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 02 Feb 2022 15:15:11 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"24">>}], <<"{\"id\":\"room-90ba7d2655\"}">>,153,1089} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"old_name\"}">>, creds => {<<"alice_config_can_be_changed_by_owner_1641@domain.example.com">>, <<"matygrysa">>}, method => <<"PUT">>, path => <<"/api/rooms/room-90ba7d2655@muclight2.domain.example.com">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:15:11.464 *** REST request: Code: 200 Req: {<0.27533.1>,<<"/api/rooms/room-90ba7d2655">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"a47f65078c165a32">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbl9iZV9jaGFuZ2VkX2J5X293bmVyXzE2NDFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 02 Feb 2022 15:15:11 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"153">>}], <<"{\"subject\":\"This room subject\",\"participants\":[{\"user\":\"alice_config_can_be_changed_by_owner_1641@domain.example.com\",\"role\":\"owner\"}],\"name\":\"old_name\"}">>, 278,974} Params: #{body => <<>>, creds => {<<"alice_config_can_be_changed_by_owner_1641@domain.example.com">>, <<"matygrysa">>}, method => <<"GET">>,path => <<"/api/rooms/room-90ba7d2655">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:15:11.472 *** REST request: Code: 204 Req: {<0.27539.1>, <<"/api/rooms/room-90ba7d2655@muclight2.domain.example.com/config">>, <<"PUT">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"d5111949b74318b9">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbl9iZV9jaGFuZ2VkX2J5X293bmVyXzE2NDFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<"{\"subject\":\"new_subject\",\"name\":\"new_name\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 02 Feb 2022 15:15:11 GMT">>}], <<>>,80,1239} Params: #{body => <<"{\"subject\":\"new_subject\",\"name\":\"new_name\"}">>, creds => {<<"alice_config_can_be_changed_by_owner_1641@domain.example.com">>, <<"matygrysa">>}, method => <<"PUT">>, path => <<"/api/rooms/room-90ba7d2655@muclight2.domain.example.com/config">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:15:11.480 *** REST request: Code: 200 Req: {<0.27545.1>,<<"/api/rooms/room-90ba7d2655">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c45af787bfe53c0e">>}, {<<"authorization">>, <<"Basic YWxpY2VfY29uZmlnX2Nhbl9iZV9jaGFuZ2VkX2J5X293bmVyXzE2NDFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 02 Feb 2022 15:15:11 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"147">>}], <<"{\"subject\":\"new_subject\",\"participants\":[{\"user\":\"alice_config_can_be_changed_by_owner_1641@domain.example.com\",\"role\":\"owner\"}],\"name\":\"new_name\"}">>, 272,942} Params: #{body => <<>>, creds => {<<"alice_config_can_be_changed_by_owner_1641@domain.example.com">>, <<"matygrysa">>}, method => <<"GET">>,path => <<"/api/rooms/room-90ba7d2655">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:15:11.481 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 out </stream:stream>
*** User 2022-02-02 15:15:11.481 *** alicE_config_can_be_changed_by_owner_1641@domain.example.com/res1 in </stream:stream>
=== Ended at 2022-02-02 15:15:11 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result