=== Test case: muc_light_http_api_SUITE:delete_room_by_owner/1 (click for source code)
=== Config value:
[{watchdog,<0.2780.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_http_api_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-03-03_10.36.06/muc_light_http_api_suite.delete_room_by_owner.19844.html"},
{tc_group_properties,[{name,positive},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_light_http_api_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-03-03_10.36.06/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:36:06
*** User 2022-03-03 10:36:06.805 ***
alicE_delete_room_by_owner_951@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:36:06.806 ***
alicE_delete_room_by_owner_951@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='825ca345b621eb00' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:06.806 ***
alicE_delete_room_by_owner_951@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:36:06.806 ***
alicE_delete_room_by_owner_951@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tX2J5X293bmVyXzk1MQBtYXR5Z3J5c2E=</auth>
*** User 2022-03-03 10:36:06.807 ***
alicE_delete_room_by_owner_951@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:06.807 ***
alicE_delete_room_by_owner_951@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:36:06.808 ***
alicE_delete_room_by_owner_951@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6889298b62e002fa' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:06.808 ***
alicE_delete_room_by_owner_951@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:36:06.808 ***
alicE_delete_room_by_owner_951@localhost/res1 out
<iq type='set' id='c8d1024cf6e41716223c040b4ef3096e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:06.808 ***
alicE_delete_room_by_owner_951@localhost/res1 in
<iq id='c8d1024cf6e41716223c040b4ef3096e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_delete_room_by_owner_951@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:06.808 ***
alicE_delete_room_by_owner_951@localhost/res1 out
<iq type='set' id='b0f83fede65a77cb9b0b56da9083268c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:06.808 ***
alicE_delete_room_by_owner_951@localhost/res1 in
<iq type='result' id='b0f83fede65a77cb9b0b56da9083268c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:06.808 ***
alicE_delete_room_by_owner_951@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:06.809 ***
alicE_delete_room_by_owner_951@localhost/res1 in
<presence from='alicE_delete_room_by_owner_951@localhost/res1' to='alice_delete_room_by_owner_951@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:06.810 ***
bOb_delete_room_by_owner_951@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:36:06.810 ***
bOb_delete_room_by_owner_951@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9891c8fa2af8d902' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:06.810 ***
bOb_delete_room_by_owner_951@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:36:06.810 ***
bOb_delete_room_by_owner_951@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV9ieV9vd25lcl85NTEAbWFrcm9saWth</auth>
*** User 2022-03-03 10:36:06.812 ***
bOb_delete_room_by_owner_951@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:06.812 ***
bOb_delete_room_by_owner_951@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:36:06.812 ***
bOb_delete_room_by_owner_951@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5bfa814be58fe860' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:06.812 ***
bOb_delete_room_by_owner_951@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:36:06.812 ***
bOb_delete_room_by_owner_951@localhost/res1 out
<iq type='set' id='f5bc8447db95265cfc1657295172cc18'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:06.812 ***
bOb_delete_room_by_owner_951@localhost/res1 in
<iq id='f5bc8447db95265cfc1657295172cc18' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_delete_room_by_owner_951@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:06.812 ***
bOb_delete_room_by_owner_951@localhost/res1 out
<iq type='set' id='9d03e5b3e90e2ba07db59e9c30b84582'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:06.813 ***
bOb_delete_room_by_owner_951@localhost/res1 in
<iq type='result' id='9d03e5b3e90e2ba07db59e9c30b84582'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:06.813 ***
bOb_delete_room_by_owner_951@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:06.813 ***
bOb_delete_room_by_owner_951@localhost/res1 in
<presence from='bOb_delete_room_by_owner_951@localhost/res1' to='bob_delete_room_by_owner_951@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:06.814 ***
kate_delete_room_by_owner_951@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:36:06.815 ***
kate_delete_room_by_owner_951@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d24c00f3db0f6aaf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:06.815 ***
kate_delete_room_by_owner_951@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:36:06.815 ***
kate_delete_room_by_owner_951@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fYnlfb3duZXJfOTUxAG1ha3Jvd2U7cA==</auth>
*** User 2022-03-03 10:36:06.816 ***
kate_delete_room_by_owner_951@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:36:06.816 ***
kate_delete_room_by_owner_951@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:36:06.816 ***
kate_delete_room_by_owner_951@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='88f7e3c23cff40f5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:36:06.816 ***
kate_delete_room_by_owner_951@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:36:06.816 ***
kate_delete_room_by_owner_951@localhost/res1 out
<iq type='set' id='52c66292bbf2f6e2b0ee64bd320eecb5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:36:06.816 ***
kate_delete_room_by_owner_951@localhost/res1 in
<iq id='52c66292bbf2f6e2b0ee64bd320eecb5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_delete_room_by_owner_951@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:36:06.816 ***
kate_delete_room_by_owner_951@localhost/res1 out
<iq type='set' id='2fe5d9b8f9642b6e0806e724ccc4d806'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:06.817 ***
kate_delete_room_by_owner_951@localhost/res1 in
<iq type='result' id='2fe5d9b8f9642b6e0806e724ccc4d806'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:36:06.817 ***
kate_delete_room_by_owner_951@localhost/res1 out
<presence/>
*** User 2022-03-03 10:36:06.817 ***
kate_delete_room_by_owner_951@localhost/res1 in
<presence from='kate_delete_room_by_owner_951@localhost/res1' to='kate_delete_room_by_owner_951@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:36:06.817 ***
alicE_delete_room_by_owner_951@localhost/res1 out
<iq type='set' id='70c836c71c44093eac7204cdcda6933a' to='delete_room_by_owner@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#create'>
<configuration>
<roomname>wonderland</roomname>
</configuration>
<occupants>
<user affiliation='member'>bob_delete_room_by_owner_951@localhost</user>
<user affiliation='member'>kate_delete_room_by_owner_951@localhost</user>
</occupants>
</query>
</iq>
*** User 2022-03-03 10:36:06.818 ***
alicE_delete_room_by_owner_951@localhost/res1 in
<message from='delete_room_by_owner@muclight.localhost' to='alice_delete_room_by_owner_951@localhost' id='70c836c71c44093eac7204cdcda6933a' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-303766-818225</version>
<user affiliation='owner'>alice_delete_room_by_owner_951@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-03 10:36:06.818 ***
alicE_delete_room_by_owner_951@localhost/res1 in
<iq from='delete_room_by_owner@muclight.localhost' to='alicE_delete_room_by_owner_951@localhost/res1' id='70c836c71c44093eac7204cdcda6933a' type='result'/>
*** User 2022-03-03 10:36:06.819 ***
bOb_delete_room_by_owner_951@localhost/res1 in
<message from='delete_room_by_owner@muclight.localhost' to='bob_delete_room_by_owner_951@localhost' id='70c836c71c44093eac7204cdcda6933a' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-303766-818225</version>
<user affiliation='member'>bob_delete_room_by_owner_951@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-03 10:36:06.819 ***
kate_delete_room_by_owner_951@localhost/res1 in
<message from='delete_room_by_owner@muclight.localhost' to='kate_delete_room_by_owner_951@localhost' id='70c836c71c44093eac7204cdcda6933a' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-303766-818225</version>
<user affiliation='member'>kate_delete_room_by_owner_951@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-03 10:36:06.821 ***
REST request:
Code: 204
Req: {<0.2864.1>,
<<"/api/muc-lights/muclight.localhost/delete_room_by_owner/alicE_delete_room_by_owner_951@localhost/management">>,
<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"dda0b71091c4ad98">>}],
<<>>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:36:06 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,884}
Params: #{body => <<>>,method => <<"DELETE">>,
path =>
<<"/api/muc-lights/muclight.localhost/delete_room_by_owner/alicE_delete_room_by_owner_951@localhost/management">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:36:06.821 ***
kate_delete_room_by_owner_951@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:06.821 ***
kate_delete_room_by_owner_951@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:36:06.821 ***
bOb_delete_room_by_owner_951@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:06.821 ***
bOb_delete_room_by_owner_951@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:36:06.821 ***
alicE_delete_room_by_owner_951@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:36:06.822 ***
alicE_delete_room_by_owner_951@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:36:06
=== successfully completed test case
=== === Returned value: ok