=== Test case: muc_light_http_api_SUITE:delete_room_by_owner/1 (click for source code)
=== Config value:
[{watchdog,<0.2704.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_http_api_SUITE_data"},
{preset,"internal_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-01-27_15.33.34/muc_light_http_api_suite.delete_room_by_owner.53122.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-01-27_15.33.34/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@34a9b6d2516c.2022-01-27_15.25.07"
=== Started at 2022-01-27 15:33:34
*** User 2022-01-27 15:33:34.932 ***
alicE_delete_room_by_owner_1004@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-01-27 15:33:34.932 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='956d0a2d8a902a30' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:34.933 ***
alicE_delete_room_by_owner_1004@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-01-27 15:33:34.933 ***
alicE_delete_room_by_owner_1004@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tX2J5X293bmVyXzEwMDQAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:33:34.933 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:34.933 ***
alicE_delete_room_by_owner_1004@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-01-27 15:33:34.933 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67aaf0a1430229e4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:34.933 ***
alicE_delete_room_by_owner_1004@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-01-27 15:33:34.933 ***
alicE_delete_room_by_owner_1004@localhost/res1 out
<iq type='set' id='da42ce90fa5f38b8e00a71b9ff179924'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:34.934 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
<iq id='da42ce90fa5f38b8e00a71b9ff179924' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_delete_room_by_owner_1004@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:34.934 ***
alicE_delete_room_by_owner_1004@localhost/res1 out
<iq type='set' id='533c449d897fcb6fba538a5eccc29fd5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:34.934 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
<iq type='result' id='533c449d897fcb6fba538a5eccc29fd5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:34.934 ***
alicE_delete_room_by_owner_1004@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:34.935 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
<presence from='alicE_delete_room_by_owner_1004@localhost/res1' to='alice_delete_room_by_owner_1004@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:34.935 ***
bOb_delete_room_by_owner_1004@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-01-27 15:33:34.936 ***
bOb_delete_room_by_owner_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='780d80799c8f4d2a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:34.936 ***
bOb_delete_room_by_owner_1004@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-01-27 15:33:34.936 ***
bOb_delete_room_by_owner_1004@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV9ieV9vd25lcl8xMDA0AG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:33:34.936 ***
bOb_delete_room_by_owner_1004@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:34.937 ***
bOb_delete_room_by_owner_1004@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-01-27 15:33:34.937 ***
bOb_delete_room_by_owner_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ddd00c03f6de892' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:34.937 ***
bOb_delete_room_by_owner_1004@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-01-27 15:33:34.937 ***
bOb_delete_room_by_owner_1004@localhost/res1 out
<iq type='set' id='5b1ac95ff9c689cf03d13a883417871f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:34.937 ***
bOb_delete_room_by_owner_1004@localhost/res1 in
<iq id='5b1ac95ff9c689cf03d13a883417871f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_delete_room_by_owner_1004@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:34.938 ***
bOb_delete_room_by_owner_1004@localhost/res1 out
<iq type='set' id='5ba3e3792099ec6cb65fe21da04dbc11'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:34.938 ***
bOb_delete_room_by_owner_1004@localhost/res1 in
<iq type='result' id='5ba3e3792099ec6cb65fe21da04dbc11'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:34.938 ***
bOb_delete_room_by_owner_1004@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:34.938 ***
bOb_delete_room_by_owner_1004@localhost/res1 in
<presence from='bOb_delete_room_by_owner_1004@localhost/res1' to='bob_delete_room_by_owner_1004@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:34.939 ***
kate_delete_room_by_owner_1004@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-01-27 15:33:34.939 ***
kate_delete_room_by_owner_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39d41c991757fdc5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:34.939 ***
kate_delete_room_by_owner_1004@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-01-27 15:33:34.940 ***
kate_delete_room_by_owner_1004@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fYnlfb3duZXJfMTAwNABtYWtyb3dlO3A=</auth>
*** User 2022-01-27 15:33:34.940 ***
kate_delete_room_by_owner_1004@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:33:34.940 ***
kate_delete_room_by_owner_1004@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-01-27 15:33:34.940 ***
kate_delete_room_by_owner_1004@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a7c9f03ecf4b0e3f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:33:34.940 ***
kate_delete_room_by_owner_1004@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-01-27 15:33:34.940 ***
kate_delete_room_by_owner_1004@localhost/res1 out
<iq type='set' id='5027110376b5feb78d46d75738fc2a1f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:33:34.941 ***
kate_delete_room_by_owner_1004@localhost/res1 in
<iq id='5027110376b5feb78d46d75738fc2a1f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_delete_room_by_owner_1004@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:33:34.941 ***
kate_delete_room_by_owner_1004@localhost/res1 out
<iq type='set' id='e8ebb8d1810f7ea35ed9826e90dc4b2a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:34.941 ***
kate_delete_room_by_owner_1004@localhost/res1 in
<iq type='result' id='e8ebb8d1810f7ea35ed9826e90dc4b2a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:33:34.941 ***
kate_delete_room_by_owner_1004@localhost/res1 out
<presence/>
*** User 2022-01-27 15:33:34.942 ***
kate_delete_room_by_owner_1004@localhost/res1 in
<presence from='kate_delete_room_by_owner_1004@localhost/res1' to='kate_delete_room_by_owner_1004@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:33:34.942 ***
alicE_delete_room_by_owner_1004@localhost/res1 out
<iq type='set' id='fe5e1985cf304f80082e53e9f81222a0' to='muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#create'>
<configuration>
<roomname>wonderland</roomname>
</configuration>
<occupants>
<user affiliation='member'>bob_delete_room_by_owner_1004@localhost</user>
<user affiliation='member'>kate_delete_room_by_owner_1004@localhost</user>
</occupants>
</query>
</iq>
*** User 2022-01-27 15:33:34.943 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
<message from='1643-297614-942808@muclight.localhost' to='alice_delete_room_by_owner_1004@localhost' id='fe5e1985cf304f80082e53e9f81222a0' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-297614-942764</version>
<user affiliation='owner'>alice_delete_room_by_owner_1004@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:33:34.943 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
<iq from='muclight.localhost' to='alicE_delete_room_by_owner_1004@localhost/res1' id='fe5e1985cf304f80082e53e9f81222a0' type='result'/>
*** User 2022-01-27 15:33:34.943 ***
bOb_delete_room_by_owner_1004@localhost/res1 in
<message from='1643-297614-942808@muclight.localhost' to='bob_delete_room_by_owner_1004@localhost' id='fe5e1985cf304f80082e53e9f81222a0' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-297614-942764</version>
<user affiliation='member'>bob_delete_room_by_owner_1004@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:33:34.943 ***
kate_delete_room_by_owner_1004@localhost/res1 in
<message from='1643-297614-942808@muclight.localhost' to='kate_delete_room_by_owner_1004@localhost' id='fe5e1985cf304f80082e53e9f81222a0' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-297614-942764</version>
<user affiliation='member'>kate_delete_room_by_owner_1004@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:33:34.945 ***
REST request:
Code: 204
Req: {<0.2790.1>,
<<"/api/muc-lights/muclight.localhost/wonderland/alicE_delete_room_by_owner_1004@localhost/management">>,
<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"92df56d2e9f401bc">>}],
<<>>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 15:33:34 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,598}
Params: #{body => <<>>,method => <<"DELETE">>,
path =>
<<"/api/muc-lights/muclight.localhost/wonderland/alicE_delete_room_by_owner_1004@localhost/management">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:33:34.945 ***
kate_delete_room_by_owner_1004@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:34.945 ***
kate_delete_room_by_owner_1004@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:33:34.945 ***
bOb_delete_room_by_owner_1004@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:34.945 ***
bOb_delete_room_by_owner_1004@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:33:34.945 ***
alicE_delete_room_by_owner_1004@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:33:34.946 ***
alicE_delete_room_by_owner_1004@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:33:34
=== successfully completed test case
=== === Returned value: ok