=== Test case: muc_light_http_api_SUITE:delete_room_by_owner/1 (click for source code)
=== Config value:
[{watchdog,<0.30895.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_http_api_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-03-07_09.39.10/muc_light_http_api_suite.delete_room_by_owner.99203.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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-03-07_09.39.10/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@b90e3713176e.2022-03-07_09.29.55"
=== Started at 2022-03-07 09:39:10
*** User 2022-03-07 09:39:10.955 ***
alicE_delete_room_by_owner_1725@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-07 09:39:10.955 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e30276917f9fa331' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:10.956 ***
alicE_delete_room_by_owner_1725@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>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-03-07 09:39:10.956 ***
alicE_delete_room_by_owner_1725@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tX2J5X293bmVyXzE3MjUAbWF0eWdyeXNh</auth>
*** User 2022-03-07 09:39:10.957 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:10.957 ***
alicE_delete_room_by_owner_1725@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-07 09:39:10.957 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c03fe7a9cf1b578f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:10.957 ***
alicE_delete_room_by_owner_1725@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-07 09:39:10.958 ***
alicE_delete_room_by_owner_1725@localhost/res1 out
<iq type='set' id='1262f3798184340d351f23d528b5d7d0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:10.964 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
<iq id='1262f3798184340d351f23d528b5d7d0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_delete_room_by_owner_1725@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:10.964 ***
alicE_delete_room_by_owner_1725@localhost/res1 out
<iq type='set' id='2ead87ad6e638a0cccc5102dbc60e063'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:10.968 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
<iq type='result' id='2ead87ad6e638a0cccc5102dbc60e063'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:10.975 ***
alicE_delete_room_by_owner_1725@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:10.979 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
<presence from='alicE_delete_room_by_owner_1725@localhost/res1' to='alice_delete_room_by_owner_1725@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:10.987 ***
bOb_delete_room_by_owner_1725@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-07 09:39:10.991 ***
bOb_delete_room_by_owner_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='594a45f7a443c108' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:10.991 ***
bOb_delete_room_by_owner_1725@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>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-03-07 09:39:10.992 ***
bOb_delete_room_by_owner_1725@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV9ieV9vd25lcl8xNzI1AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-07 09:39:10.996 ***
bOb_delete_room_by_owner_1725@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:10.996 ***
bOb_delete_room_by_owner_1725@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-07 09:39:10.996 ***
bOb_delete_room_by_owner_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67902c7dbec8bcb5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:10.996 ***
bOb_delete_room_by_owner_1725@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-07 09:39:10.996 ***
bOb_delete_room_by_owner_1725@localhost/res1 out
<iq type='set' id='a8844f59b1be0728b87674b9bfe05ac0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:10.997 ***
bOb_delete_room_by_owner_1725@localhost/res1 in
<iq id='a8844f59b1be0728b87674b9bfe05ac0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_delete_room_by_owner_1725@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:10.997 ***
bOb_delete_room_by_owner_1725@localhost/res1 out
<iq type='set' id='25bd3f367adaf8e7f18e15306b1881e3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:10.997 ***
bOb_delete_room_by_owner_1725@localhost/res1 in
<iq type='result' id='25bd3f367adaf8e7f18e15306b1881e3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:10.997 ***
bOb_delete_room_by_owner_1725@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:11.009 ***
bOb_delete_room_by_owner_1725@localhost/res1 in
<presence from='bOb_delete_room_by_owner_1725@localhost/res1' to='bob_delete_room_by_owner_1725@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:11.019 ***
kate_delete_room_by_owner_1725@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-07 09:39:11.019 ***
kate_delete_room_by_owner_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1e768117caac226' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:11.020 ***
kate_delete_room_by_owner_1725@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>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-03-07 09:39:11.020 ***
kate_delete_room_by_owner_1725@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fYnlfb3duZXJfMTcyNQBtYWtyb3dlO3A=</auth>
*** User 2022-03-07 09:39:11.021 ***
kate_delete_room_by_owner_1725@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:39:11.021 ***
kate_delete_room_by_owner_1725@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-07 09:39:11.021 ***
kate_delete_room_by_owner_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e4f1f2d9003772f4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:39:11.021 ***
kate_delete_room_by_owner_1725@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-07 09:39:11.022 ***
kate_delete_room_by_owner_1725@localhost/res1 out
<iq type='set' id='1d65d25545f17b85284ce323f786a05e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:39:11.023 ***
kate_delete_room_by_owner_1725@localhost/res1 in
<iq id='1d65d25545f17b85284ce323f786a05e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_delete_room_by_owner_1725@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:39:11.023 ***
kate_delete_room_by_owner_1725@localhost/res1 out
<iq type='set' id='803b49ebe2efb29f99edbda5ccddfdf9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:11.024 ***
kate_delete_room_by_owner_1725@localhost/res1 in
<iq type='result' id='803b49ebe2efb29f99edbda5ccddfdf9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:39:11.024 ***
kate_delete_room_by_owner_1725@localhost/res1 out
<presence/>
*** User 2022-03-07 09:39:11.025 ***
kate_delete_room_by_owner_1725@localhost/res1 in
<presence from='kate_delete_room_by_owner_1725@localhost/res1' to='kate_delete_room_by_owner_1725@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:39:11.025 ***
alicE_delete_room_by_owner_1725@localhost/res1 out
<iq type='set' id='1ee447955fdbc4f62ee10bc31a5cf5bb' 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_1725@localhost</user>
<user affiliation='member'>kate_delete_room_by_owner_1725@localhost</user>
</occupants>
</query>
</iq>
*** User 2022-03-07 09:39:11.030 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
<message from='delete_room_by_owner@muclight.localhost' to='alice_delete_room_by_owner_1725@localhost' id='1ee447955fdbc4f62ee10bc31a5cf5bb' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-645951-28453</version>
<user affiliation='owner'>alice_delete_room_by_owner_1725@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-07 09:39:11.030 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
<iq from='delete_room_by_owner@muclight.localhost' to='alicE_delete_room_by_owner_1725@localhost/res1' id='1ee447955fdbc4f62ee10bc31a5cf5bb' type='result'/>
*** User 2022-03-07 09:39:11.031 ***
bOb_delete_room_by_owner_1725@localhost/res1 in
<message from='delete_room_by_owner@muclight.localhost' to='bob_delete_room_by_owner_1725@localhost' id='1ee447955fdbc4f62ee10bc31a5cf5bb' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-645951-28453</version>
<user affiliation='member'>bob_delete_room_by_owner_1725@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-07 09:39:11.031 ***
kate_delete_room_by_owner_1725@localhost/res1 in
<message from='delete_room_by_owner@muclight.localhost' to='kate_delete_room_by_owner_1725@localhost' id='1ee447955fdbc4f62ee10bc31a5cf5bb' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-645951-28453</version>
<user affiliation='member'>kate_delete_room_by_owner_1725@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-07 09:39:11.034 ***
REST request:
Code: 204
Req: {<0.30982.1>,
<<"/api/muc-lights/muclight.localhost/delete_room_by_owner/alicE_delete_room_by_owner_1725@localhost/management">>,
<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"dc58c838a0a68dc1">>}],
<<>>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 07 Mar 2022 09:39:10 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,2328}
Params: #{body => <<>>,method => <<"DELETE">>,
path =>
<<"/api/muc-lights/muclight.localhost/delete_room_by_owner/alicE_delete_room_by_owner_1725@localhost/management">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-07 09:39:11.034 ***
kate_delete_room_by_owner_1725@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:11.034 ***
kate_delete_room_by_owner_1725@localhost/res1 in
</stream:stream>
*** User 2022-03-07 09:39:11.035 ***
bOb_delete_room_by_owner_1725@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:11.035 ***
bOb_delete_room_by_owner_1725@localhost/res1 in
</stream:stream>
*** User 2022-03-07 09:39:11.035 ***
alicE_delete_room_by_owner_1725@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:39:11.035 ***
alicE_delete_room_by_owner_1725@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 09:39:11
=== successfully completed test case
=== === Returned value: ok