=== Test case: muc_light_http_api_SUITE:delete_room/1 (click for source code)
=== Config value:
[{watchdog,<0.60860.0>},
{preset,"internal_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_http_api_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.muc_light_http_api_SUITE.logs/run.2024-04-16_10.27.37/muc_light_http_api_suite.delete_room.152450.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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.muc_light_http_api_SUITE.logs/run.2024-04-16_10.27.37/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => mnesia,iqdisc => parallel},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}},
{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@6b87bb397ec6.2024-04-16_10.12.53"
=== Started at 2024-04-16 10:27:37
*** User 2024-04-16 10:27:37.704 ***🔗
alicE_delete_room_2117@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:37.705 ***🔗
alicE_delete_room_2117@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ea2f7c1b9cd1e7c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:27:37.705 ***🔗
alicE_delete_room_2117@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 10:27:37.705 ***🔗
alicE_delete_room_2117@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tXzIxMTcAbWF0eWdyeXNh</auth>
*** User 2024-04-16 10:27:37.706 ***🔗
alicE_delete_room_2117@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:27:37.706 ***🔗
alicE_delete_room_2117@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:37.707 ***🔗
alicE_delete_room_2117@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df2dd088288947f9' from='localhost' version='1.0' xml:lang='en' to='alice_delete_room_2117@localhost'>
*** User 2024-04-16 10:27:37.707 ***🔗
alicE_delete_room_2117@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 10:27:37.707 ***🔗
alicE_delete_room_2117@localhost/res1 out
<iq type='set' id='788f47574ac5eab039319c061f05e328'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:27:37.707 ***🔗
alicE_delete_room_2117@localhost/res1 in
<iq id='788f47574ac5eab039319c061f05e328' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_delete_room_2117@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:27:37.707 ***🔗
alice_delete_room_2117@localhost/res1 out
<iq type='set' id='ecb23424d2706d2c322c45a96116e5aa'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:37.709 ***🔗
alice_delete_room_2117@localhost/res1 in
<iq from='localhost' to='alice_delete_room_2117@localhost/res1' id='ecb23424d2706d2c322c45a96116e5aa' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:37.709 ***🔗
alice_delete_room_2117@localhost/res1 out
<presence/>
*** User 2024-04-16 10:27:37.710 ***🔗
alice_delete_room_2117@localhost/res1 in
<presence from='alice_delete_room_2117@localhost/res1' to='alice_delete_room_2117@localhost/res1'/>
*** User 2024-04-16 10:27:37.710 ***🔗
bOb_delete_room_2117@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:37.712 ***🔗
bOb_delete_room_2117@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='50e97220f2bb7bb2' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:27:37.712 ***🔗
bOb_delete_room_2117@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 10:27:37.712 ***🔗
bOb_delete_room_2117@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV8yMTE3AG1ha3JvbGlrYQ==</auth>
*** User 2024-04-16 10:27:37.712 ***🔗
bOb_delete_room_2117@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:27:37.712 ***🔗
bOb_delete_room_2117@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:37.713 ***🔗
bOb_delete_room_2117@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ecf540df60acc9bb' from='localhost' version='1.0' xml:lang='en' to='bob_delete_room_2117@localhost'>
*** User 2024-04-16 10:27:37.713 ***🔗
bOb_delete_room_2117@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 10:27:37.713 ***🔗
bOb_delete_room_2117@localhost/res1 out
<iq type='set' id='6e69e1031d92bd347530c72b5ae7d5b6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:27:37.713 ***🔗
bOb_delete_room_2117@localhost/res1 in
<iq id='6e69e1031d92bd347530c72b5ae7d5b6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_delete_room_2117@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:27:37.713 ***🔗
bob_delete_room_2117@localhost/res1 out
<iq type='set' id='2da1417901a85b0ed4a83009f66dac78'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:37.714 ***🔗
bob_delete_room_2117@localhost/res1 in
<iq from='localhost' to='bob_delete_room_2117@localhost/res1' id='2da1417901a85b0ed4a83009f66dac78' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:37.714 ***🔗
bob_delete_room_2117@localhost/res1 out
<presence/>
*** User 2024-04-16 10:27:37.715 ***🔗
bob_delete_room_2117@localhost/res1 in
<presence from='bob_delete_room_2117@localhost/res1' to='bob_delete_room_2117@localhost/res1'/>
*** User 2024-04-16 10:27:37.715 ***🔗
kate_delete_room_2117@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:37.716 ***🔗
kate_delete_room_2117@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7654656c2a12aea5' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:27:37.716 ***🔗
kate_delete_room_2117@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 10:27:37.716 ***🔗
kate_delete_room_2117@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fMjExNwBtYWtyb3dlO3A=</auth>
*** User 2024-04-16 10:27:37.716 ***🔗
kate_delete_room_2117@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:27:37.717 ***🔗
kate_delete_room_2117@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:27:37.717 ***🔗
kate_delete_room_2117@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c27c6c41f55da10' from='localhost' version='1.0' xml:lang='en' to='kate_delete_room_2117@localhost'>
*** User 2024-04-16 10:27:37.717 ***🔗
kate_delete_room_2117@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-16 10:27:37.717 ***🔗
kate_delete_room_2117@localhost/res1 out
<iq type='set' id='4780de1ac2032e2f6db7b3a0d07692ba'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:27:37.718 ***🔗
kate_delete_room_2117@localhost/res1 in
<iq id='4780de1ac2032e2f6db7b3a0d07692ba' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_delete_room_2117@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:27:37.718 ***🔗
kate_delete_room_2117@localhost/res1 out
<iq type='set' id='37801c7f2513e07bf013e436c414e71f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:37.718 ***🔗
kate_delete_room_2117@localhost/res1 in
<iq from='localhost' to='kate_delete_room_2117@localhost/res1' id='37801c7f2513e07bf013e436c414e71f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:27:37.718 ***🔗
kate_delete_room_2117@localhost/res1 out
<presence/>
*** User 2024-04-16 10:27:37.719 ***🔗
kate_delete_room_2117@localhost/res1 in
<presence from='kate_delete_room_2117@localhost/res1' to='kate_delete_room_2117@localhost/res1'/>
*** User 2024-04-16 10:27:37.719 ***🔗
alice_delete_room_2117@localhost/res1 out
<iq type='set' id='ca8fa9876ae2836c4c2956bbcba160fa' to='delete_room@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#create'>
<configuration>
<roomname>wonderland</roomname>
</configuration>
<occupants>
<user affiliation='member'>bob_delete_room_2117@localhost</user>
<user affiliation='member'>kate_delete_room_2117@localhost</user>
</occupants>
</query>
</iq>
*** User 2024-04-16 10:27:37.720 ***🔗
alice_delete_room_2117@localhost/res1 in
<message from='delete_room@muclight.localhost' to='alice_delete_room_2117@localhost' id='ca8fa9876ae2836c4c2956bbcba160fa' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1713-263257-719686</version>
<user affiliation='owner'>alice_delete_room_2117@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-16 10:27:37.720 ***🔗
alice_delete_room_2117@localhost/res1 in
<iq from='delete_room@muclight.localhost' to='alice_delete_room_2117@localhost/res1' id='ca8fa9876ae2836c4c2956bbcba160fa' type='result'/>
*** User 2024-04-16 10:27:37.720 ***🔗
bob_delete_room_2117@localhost/res1 in
<message from='delete_room@muclight.localhost' to='bob_delete_room_2117@localhost' id='ca8fa9876ae2836c4c2956bbcba160fa' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1713-263257-719686</version>
<user affiliation='member'>bob_delete_room_2117@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-16 10:27:37.720 ***🔗
kate_delete_room_2117@localhost/res1 in
<message from='delete_room@muclight.localhost' to='kate_delete_room_2117@localhost' id='ca8fa9876ae2836c4c2956bbcba160fa' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1713-263257-719686</version>
<user affiliation='member'>kate_delete_room_2117@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-16 10:27:37.722 ***🔗
REST request:
Code: 204
Req: {<0.60929.0>,
<<"/api/muc-lights/muclight.localhost/delete_room/management">>,
<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d6571fe83356eeab">>}],
<<>>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:27:36 GMT">>}],
<<>>,80,650}
Params: #{path =>
<<"/api/muc-lights/muclight.localhost/delete_room/management">>,
server => #{node => mongooseim@localhost},
role => admin,method => <<"DELETE">>,body => <<>>,
return_headers => true}
*** User 2024-04-16 10:27:37.722 ***🔗
kate_delete_room_2117@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:27:37.722 ***🔗
kate_delete_room_2117@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:27:37.723 ***🔗
bob_delete_room_2117@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:27:37.723 ***🔗
bob_delete_room_2117@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:27:37.723 ***🔗
alice_delete_room_2117@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:27:37.723 ***🔗
alice_delete_room_2117@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 10:27:37
=== successfully completed test case
=== === Returned value: ok