=== Test case: rest_client_SUITE:owner_can_leave_a_room_and_auto_select_owner/1 (click for source code) === Config value: [{watchdog,<0.14754.1>}, {muc_light_host,<<"muclight.localhost">>}, {mam_backend,disabled}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"}, {preset,"ldap_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.39.21/rest_client_suite.owner_can_leave_a_room_and_auto_select_owner.html"}, {tc_group_properties,[{name,muc},pararell]}, {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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.39.21/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{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 => [],mod_sic => [],mod_stream_management => [], mod_vcard => [{backend,ldap}, {host,{prefix,<<"vjud.">>}}, {ldap_base,"ou=Users,dc=esl,dc=com"}, {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25" === Started at 2022-03-03 10:39:22
*** User 2022-03-03 10:39:22.093 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:22.093 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='392153817759053b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:22.093 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/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>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-03-03 10:39:22.094 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX293bmVyX2Nhbl9sZWF2ZV9hX3Jvb21fYW5kX2F1dG9fc2VsZWN0X293bmVyXzExNDkAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:39:22.095 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:22.095 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:22.095 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='01535408b46a01f0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:22.095 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/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-03-03 10:39:22.095 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <iq type='set' id='ea7d1b15d19717e7dd2e0a9b4a52ba7b'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:39:22.095 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <iq id='ea7d1b15d19717e7dd2e0a9b4a52ba7b' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:39:22.096 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <iq type='set' id='4e2417bd7d7e47be8332668f126a189e'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:22.096 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <iq type='result' id='4e2417bd7d7e47be8332668f126a189e'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:22.096 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <presence/>
*** User 2022-03-03 10:39:22.096 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <presence from='alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1' to='alice_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:22.097 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:22.097 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d8b9feb0e658fe7' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:22.098 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/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>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-03-03 10:39:22.098 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vd25lcl9jYW5fbGVhdmVfYV9yb29tX2FuZF9hdXRvX3NlbGVjdF9vd25lcl8xMTQ5AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-03 10:39:22.099 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:22.099 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:22.099 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f481d56e1c68904a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:22.099 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/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-03-03 10:39:22.099 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <iq type='set' id='fd2309bf90efbadfd44cbca419b9ddbc'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-03 10:39:22.100 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <iq id='fd2309bf90efbadfd44cbca419b9ddbc' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1</jid> </bind> </iq>
*** User 2022-03-03 10:39:22.100 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <iq type='set' id='9bc97a538cd5f1ea922a9fceb0494c7c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:22.100 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <iq type='result' id='9bc97a538cd5f1ea922a9fceb0494c7c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-03 10:39:22.100 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out <presence/>
*** User 2022-03-03 10:39:22.101 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <presence from='bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1' to='bob_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:22.109 *** REST request: Code: 200 Req: {<0.14940.1>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c4646347e1f82ccf">>}, {<<"authorization">>, <<"Basic YWxpY2Vfb3duZXJfY2FuX2xlYXZlX2Ffcm9vbV9hbmRfYXV0b19zZWxlY3Rfb3duZXJfMTE0OUBsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1646-303962-109513\"}">>,151,1718} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_owner_can_leave_a_room_and_auto_select_owner_1149@localhost">>, <<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:22.120 *** REST request: Code: 204 Req: {<0.14946.1>,<<"/api/rooms/1646-303962-109513/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"a8ea2f4bbd5a88b2">>}, {<<"authorization">>, <<"Basic YWxpY2Vfb3duZXJfY2FuX2xlYXZlX2Ffcm9vbV9hbmRfYXV0b19zZWxlY3Rfb3duZXJfMTE0OUBsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<"{\"user\":\"bob_owner_can_leave_a_room_and_auto_select_owner_1149@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}], <<>>,80,2385} Params: #{body => <<"{\"user\":\"bob_owner_can_leave_a_room_and_auto_select_owner_1149@localhost\"}">>, creds => {<<"alice_owner_can_leave_a_room_and_auto_select_owner_1149@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1646-303962-109513/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:22.120 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <message from='1646-303962-109513@muclight.localhost' to='bob_owner_can_leave_a_room_and_auto_select_owner_1149@localhost' id='83ad7eaa-ab15-485b-b220-cdc3e9e29477' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1646-303962-119923</version> <user affiliation='member'>bob_owner_can_leave_a_room_and_auto_select_owner_1149@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:39:22.120 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <message from='1646-303962-109513@muclight.localhost' to='alice_owner_can_leave_a_room_and_auto_select_owner_1149@localhost' id='83ad7eaa-ab15-485b-b220-cdc3e9e29477' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1646-303962-109454</prev-version> <version>1646-303962-119923</version> <user affiliation='member'>bob_owner_can_leave_a_room_and_auto_select_owner_1149@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:39:22.132 *** REST request: Code: 204 Req: {<0.14952.1>, <<"/api/rooms/1646-303962-109513/users/alice_owner_can_leave_a_room_and_auto_select_owner_1149@localhost">>, <<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"05a8543354f435d8">>}, {<<"authorization">>, <<"Basic YWxpY2Vfb3duZXJfY2FuX2xlYXZlX2Ffcm9vbV9hbmRfYXV0b19zZWxlY3Rfb3duZXJfMTE0OUBsb2NhbGhvc3Q6bWF0eWdyeXNh">>}], <<>>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 03 Mar 2022 10:39:21 GMT">>}], <<>>,80,2626} Params: #{body => <<>>, creds => {<<"alice_owner_can_leave_a_room_and_auto_select_owner_1149@localhost">>, <<"matygrysa">>}, method => <<"DELETE">>, path => <<"/api/rooms/1646-303962-109513/users/alice_owner_can_leave_a_room_and_auto_select_owner_1149@localhost">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:22.132 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in <message from='1646-303962-109513@muclight.localhost' to='bob_owner_can_leave_a_room_and_auto_select_owner_1149@localhost' id='3f85aae2-fc0c-4dee-a8c6-0edf31821133' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1646-303962-119923</prev-version> <version>1646-303962-131423</version> <user affiliation='owner'>bob_owner_can_leave_a_room_and_auto_select_owner_1149@localhost</user> <user affiliation='none'>alice_owner_can_leave_a_room_and_auto_select_owner_1149@localhost</user> </x> <body/> </message>
*** User 2022-03-03 10:39:22.132 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:39:22.132 *** bOb_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in </stream:stream>
*** User 2022-03-03 10:39:22.132 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 out </stream:stream>
*** User 2022-03-03 10:39:22.133 *** alicE_owner_can_leave_a_room_and_auto_select_owner_1149@localhost/res1 in </stream:stream>
=== Ended at 2022-03-03 10:39:22 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result