=== Test case: muc_light_http_api_SUITE:delete_room_by_owner/1 (click for source code)
=== Config value:
[{watchdog,<0.28988.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_http_api_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-01-27_15.34.18/muc_light_http_api_suite.delete_room_by_owner.125442.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-01-27_15.34.18/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@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:34:18
*** User 2022-01-27 15:34:18.281 ***
alicE_delete_room_by_owner_1791@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:34:18.281 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad773a9d5b21e3d8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:18.281 ***
alicE_delete_room_by_owner_1791@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:34:18.282 ***
alicE_delete_room_by_owner_1791@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tX2J5X293bmVyXzE3OTEAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:34:18.283 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:18.283 ***
alicE_delete_room_by_owner_1791@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:34:18.283 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='646942e8a7277674' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:18.283 ***
alicE_delete_room_by_owner_1791@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:34:18.283 ***
alicE_delete_room_by_owner_1791@localhost/res1 out
<iq type='set' id='079de74c3c377d1f7336a4ad7050caa6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:18.283 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
<iq id='079de74c3c377d1f7336a4ad7050caa6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_delete_room_by_owner_1791@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:18.283 ***
alicE_delete_room_by_owner_1791@localhost/res1 out
<iq type='set' id='02f2e49a68cf586cf482f7c215325e8d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:18.284 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
<iq type='result' id='02f2e49a68cf586cf482f7c215325e8d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:18.284 ***
alicE_delete_room_by_owner_1791@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:18.285 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
<presence from='alicE_delete_room_by_owner_1791@localhost/res1' to='alice_delete_room_by_owner_1791@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:18.286 ***
bOb_delete_room_by_owner_1791@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:34:18.286 ***
bOb_delete_room_by_owner_1791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c19b25ff9f8b4e34' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:18.286 ***
bOb_delete_room_by_owner_1791@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:34:18.286 ***
bOb_delete_room_by_owner_1791@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV9ieV9vd25lcl8xNzkxAG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:34:18.287 ***
bOb_delete_room_by_owner_1791@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:18.287 ***
bOb_delete_room_by_owner_1791@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:34:18.288 ***
bOb_delete_room_by_owner_1791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bccfe4dd49d70b2f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:18.288 ***
bOb_delete_room_by_owner_1791@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:34:18.288 ***
bOb_delete_room_by_owner_1791@localhost/res1 out
<iq type='set' id='195bd6823d6d1872509dcee1b3c10024'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:18.288 ***
bOb_delete_room_by_owner_1791@localhost/res1 in
<iq id='195bd6823d6d1872509dcee1b3c10024' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_delete_room_by_owner_1791@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:18.288 ***
bOb_delete_room_by_owner_1791@localhost/res1 out
<iq type='set' id='08f7af215e03fe984d4a6183de2d5e5d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:18.289 ***
bOb_delete_room_by_owner_1791@localhost/res1 in
<iq type='result' id='08f7af215e03fe984d4a6183de2d5e5d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:18.289 ***
bOb_delete_room_by_owner_1791@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:18.291 ***
bOb_delete_room_by_owner_1791@localhost/res1 in
<presence from='bOb_delete_room_by_owner_1791@localhost/res1' to='bob_delete_room_by_owner_1791@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:18.292 ***
kate_delete_room_by_owner_1791@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:34:18.293 ***
kate_delete_room_by_owner_1791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82700d04d89e9252' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:18.293 ***
kate_delete_room_by_owner_1791@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:34:18.293 ***
kate_delete_room_by_owner_1791@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fYnlfb3duZXJfMTc5MQBtYWtyb3dlO3A=</auth>
*** User 2022-01-27 15:34:18.295 ***
kate_delete_room_by_owner_1791@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:18.295 ***
kate_delete_room_by_owner_1791@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:34:18.295 ***
kate_delete_room_by_owner_1791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2c53c3b97a04c84' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:18.295 ***
kate_delete_room_by_owner_1791@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:34:18.295 ***
kate_delete_room_by_owner_1791@localhost/res1 out
<iq type='set' id='55ba2cd508c18ce6dcb2bb4828582d82'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:18.295 ***
kate_delete_room_by_owner_1791@localhost/res1 in
<iq id='55ba2cd508c18ce6dcb2bb4828582d82' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_delete_room_by_owner_1791@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:18.295 ***
kate_delete_room_by_owner_1791@localhost/res1 out
<iq type='set' id='30c685ff70512a84d94f7306dcc60a0c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:18.296 ***
kate_delete_room_by_owner_1791@localhost/res1 in
<iq type='result' id='30c685ff70512a84d94f7306dcc60a0c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:18.296 ***
kate_delete_room_by_owner_1791@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:18.297 ***
kate_delete_room_by_owner_1791@localhost/res1 in
<presence from='kate_delete_room_by_owner_1791@localhost/res1' to='kate_delete_room_by_owner_1791@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:18.298 ***
alicE_delete_room_by_owner_1791@localhost/res1 out
<iq type='set' id='7b6a54b5df190cbaff6d63ef46595cb4' to='muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#create'>
<configuration>
<roomname>wonderland</roomname>
</configuration>
<occupants>
<user affiliation='member'>bob_delete_room_by_owner_1791@localhost</user>
<user affiliation='member'>kate_delete_room_by_owner_1791@localhost</user>
</occupants>
</query>
</iq>
*** User 2022-01-27 15:34:18.303 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
<message from='1643-297658-299975@muclight.localhost' to='alice_delete_room_by_owner_1791@localhost' id='7b6a54b5df190cbaff6d63ef46595cb4' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-297658-299963</version>
<user affiliation='owner'>alice_delete_room_by_owner_1791@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:34:18.303 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
<iq from='muclight.localhost' to='alicE_delete_room_by_owner_1791@localhost/res1' id='7b6a54b5df190cbaff6d63ef46595cb4' type='result'/>
*** User 2022-01-27 15:34:18.303 ***
bOb_delete_room_by_owner_1791@localhost/res1 in
<message from='1643-297658-299975@muclight.localhost' to='bob_delete_room_by_owner_1791@localhost' id='7b6a54b5df190cbaff6d63ef46595cb4' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-297658-299963</version>
<user affiliation='member'>bob_delete_room_by_owner_1791@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:34:18.303 ***
kate_delete_room_by_owner_1791@localhost/res1 in
<message from='1643-297658-299975@muclight.localhost' to='kate_delete_room_by_owner_1791@localhost' id='7b6a54b5df190cbaff6d63ef46595cb4' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-297658-299963</version>
<user affiliation='member'>kate_delete_room_by_owner_1791@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:34:18.312 ***
REST request:
Code: 204
Req: {<0.29072.1>,
<<"/api/muc-lights/muclight.localhost/wonderland/alicE_delete_room_by_owner_1791@localhost/management">>,
<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"75c68a2464562c85">>}],
<<>>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 15:34:17 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,7169}
Params: #{body => <<>>,method => <<"DELETE">>,
path =>
<<"/api/muc-lights/muclight.localhost/wonderland/alicE_delete_room_by_owner_1791@localhost/management">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:34:18.312 ***
kate_delete_room_by_owner_1791@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:18.312 ***
kate_delete_room_by_owner_1791@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:18.312 ***
bOb_delete_room_by_owner_1791@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:18.313 ***
bOb_delete_room_by_owner_1791@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:18.313 ***
alicE_delete_room_by_owner_1791@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:18.313 ***
alicE_delete_room_by_owner_1791@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:18
=== successfully completed test case
=== === Returned value: ok