=== Test case: muc_light_http_api_SUITE:delete_room/1 (click for source code)

=== Config value:

    [{watchdog,<0.6192.2>},
     {preset,"pgsql_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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.muc_light_http_api_SUITE.logs/run.2023-12-04_15.53.14/muc_light_http_api_suite.delete_room.211458.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@cdcecdf9c9e0.2023-12-04_15.40.23/big_tests.tests.muc_light_http_api_SUITE.logs/run.2023-12-04_15.53.14/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {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@cdcecdf9c9e0.2023-12-04_15.40.23"

=== Started at 2023-12-04 15:53:14


*** CT 2023-12-04 15:53:14.286 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4718.html

*** User 2023-12-04 15:53:14.295 ***🔗
alicE_delete_room_2673@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:53:14.295 ***🔗
alicE_delete_room_2673@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='baeab86a9bea995b' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:53:14.296 ***🔗
alicE_delete_room_2673@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 2023-12-04 15:53:14.296 ***🔗
alicE_delete_room_2673@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tXzI2NzMAbWF0eWdyeXNh</auth>



*** User 2023-12-04 15:53:14.296 ***🔗
alicE_delete_room_2673@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:53:14.296 ***🔗
alicE_delete_room_2673@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:53:14.297 ***🔗
alicE_delete_room_2673@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d01b2d0e5d3b606' from='localhost' version='1.0' xml:lang='en' to='alice_delete_room_2673@localhost'>

*** User 2023-12-04 15:53:14.297 ***🔗
alicE_delete_room_2673@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 2023-12-04 15:53:14.297 ***🔗
alicE_delete_room_2673@localhost/res1 out
<iq type='set' id='8c7d28b47ea1b636de985c1e46a7266d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:53:14.297 ***🔗
alicE_delete_room_2673@localhost/res1 in
<iq id='8c7d28b47ea1b636de985c1e46a7266d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_delete_room_2673@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:53:14.297 ***🔗
alice_delete_room_2673@localhost/res1 out
<iq type='set' id='00e4ba540bc2e56fc9950be14c642319'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:14.298 ***🔗
alice_delete_room_2673@localhost/res1 in
<iq from='localhost' to='alice_delete_room_2673@localhost/res1' id='00e4ba540bc2e56fc9950be14c642319' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:14.298 ***🔗
alice_delete_room_2673@localhost/res1 out
<presence/>



*** User 2023-12-04 15:53:14.298 ***🔗
alice_delete_room_2673@localhost/res1 in
<presence from='alice_delete_room_2673@localhost/res1' to='alice_delete_room_2673@localhost/res1'/>



*** User 2023-12-04 15:53:14.299 ***🔗
bOb_delete_room_2673@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:53:14.299 ***🔗
bOb_delete_room_2673@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b1f0cf092e80f73' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:53:14.300 ***🔗
bOb_delete_room_2673@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 2023-12-04 15:53:14.300 ***🔗
bOb_delete_room_2673@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV8yNjczAG1ha3JvbGlrYQ==</auth>



*** User 2023-12-04 15:53:14.301 ***🔗
bOb_delete_room_2673@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:53:14.301 ***🔗
bOb_delete_room_2673@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:53:14.301 ***🔗
bOb_delete_room_2673@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='485850ade501fca8' from='localhost' version='1.0' xml:lang='en' to='bob_delete_room_2673@localhost'>

*** User 2023-12-04 15:53:14.302 ***🔗
bOb_delete_room_2673@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 2023-12-04 15:53:14.302 ***🔗
bOb_delete_room_2673@localhost/res1 out
<iq type='set' id='0f0004b97cd722e406d91a3d5cb61cd9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:53:14.302 ***🔗
bOb_delete_room_2673@localhost/res1 in
<iq id='0f0004b97cd722e406d91a3d5cb61cd9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_delete_room_2673@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:53:14.302 ***🔗
bob_delete_room_2673@localhost/res1 out
<iq type='set' id='05fa6a82d093f71896ce2e54a1e75965'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:14.303 ***🔗
bob_delete_room_2673@localhost/res1 in
<iq from='localhost' to='bob_delete_room_2673@localhost/res1' id='05fa6a82d093f71896ce2e54a1e75965' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:14.303 ***🔗
bob_delete_room_2673@localhost/res1 out
<presence/>



*** User 2023-12-04 15:53:14.304 ***🔗
bob_delete_room_2673@localhost/res1 in
<presence from='bob_delete_room_2673@localhost/res1' to='bob_delete_room_2673@localhost/res1'/>



*** User 2023-12-04 15:53:14.305 ***🔗
kate_delete_room_2673@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:53:14.305 ***🔗
kate_delete_room_2673@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='85dc11ba5470f33b' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-04 15:53:14.305 ***🔗
kate_delete_room_2673@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 2023-12-04 15:53:14.305 ***🔗
kate_delete_room_2673@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fMjY3MwBtYWtyb3dlO3A=</auth>



*** User 2023-12-04 15:53:14.306 ***🔗
kate_delete_room_2673@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-04 15:53:14.306 ***🔗
kate_delete_room_2673@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-04 15:53:14.306 ***🔗
kate_delete_room_2673@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='267100d4fd167393' from='localhost' version='1.0' xml:lang='en' to='kate_delete_room_2673@localhost'>

*** User 2023-12-04 15:53:14.306 ***🔗
kate_delete_room_2673@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 2023-12-04 15:53:14.306 ***🔗
kate_delete_room_2673@localhost/res1 out
<iq type='set' id='4652f70a3d106fd4a4377c69d9fa6a06'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-04 15:53:14.307 ***🔗
kate_delete_room_2673@localhost/res1 in
<iq id='4652f70a3d106fd4a4377c69d9fa6a06' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_delete_room_2673@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-04 15:53:14.307 ***🔗
kate_delete_room_2673@localhost/res1 out
<iq type='set' id='f6ad6753cfb04863c03df3b51a5efa3b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:14.307 ***🔗
kate_delete_room_2673@localhost/res1 in
<iq from='localhost' to='kate_delete_room_2673@localhost/res1' id='f6ad6753cfb04863c03df3b51a5efa3b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-04 15:53:14.307 ***🔗
kate_delete_room_2673@localhost/res1 out
<presence/>



*** User 2023-12-04 15:53:14.308 ***🔗
kate_delete_room_2673@localhost/res1 in
<presence from='kate_delete_room_2673@localhost/res1' to='kate_delete_room_2673@localhost/res1'/>



*** User 2023-12-04 15:53:14.308 ***🔗
alice_delete_room_2673@localhost/res1 out
<iq type='set' id='bfa0534ca60994e67c9c637477a015da' to='delete_room@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration>
			<roomname>wonderland</roomname>
		</configuration>
		<occupants>
			<user affiliation='member'>bob_delete_room_2673@localhost</user>
			<user affiliation='member'>kate_delete_room_2673@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2023-12-04 15:53:14.311 ***🔗
alice_delete_room_2673@localhost/res1 in
<message from='delete_room@muclight.localhost' to='alice_delete_room_2673@localhost' id='bfa0534ca60994e67c9c637477a015da' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1701-705194-309053</version>
		<user affiliation='owner'>alice_delete_room_2673@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-12-04 15:53:14.311 ***🔗
alice_delete_room_2673@localhost/res1 in
<iq from='delete_room@muclight.localhost' to='alice_delete_room_2673@localhost/res1' id='bfa0534ca60994e67c9c637477a015da' type='result'/>



*** User 2023-12-04 15:53:14.311 ***🔗
bob_delete_room_2673@localhost/res1 in
<message from='delete_room@muclight.localhost' to='bob_delete_room_2673@localhost' id='bfa0534ca60994e67c9c637477a015da' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1701-705194-309053</version>
		<user affiliation='member'>bob_delete_room_2673@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-12-04 15:53:14.311 ***🔗
kate_delete_room_2673@localhost/res1 in
<message from='delete_room@muclight.localhost' to='kate_delete_room_2673@localhost' id='bfa0534ca60994e67c9c637477a015da' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1701-705194-309053</version>
		<user affiliation='member'>kate_delete_room_2673@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-12-04 15:53:14.313 ***🔗
REST request:
Code: 204
Req: {<0.6264.2>,
      <<"/api/muc-lights/muclight.localhost/delete_room/management">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"efafd24a2380c9f0">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Dec 2023 15:53:13 GMT">>}],
         <<>>,80,1383}
Params: #{body => <<>>,method => <<"DELETE">>,
          path =>
              <<"/api/muc-lights/muclight.localhost/delete_room/management">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-12-04 15:53:14.313 ***🔗
kate_delete_room_2673@localhost/res1 out
</stream:stream>

*** User 2023-12-04 15:53:14.314 ***🔗
kate_delete_room_2673@localhost/res1 in
</stream:stream>

*** User 2023-12-04 15:53:14.314 ***🔗
bob_delete_room_2673@localhost/res1 out
</stream:stream>

*** User 2023-12-04 15:53:14.314 ***🔗
bob_delete_room_2673@localhost/res1 in
</stream:stream>

*** User 2023-12-04 15:53:14.314 ***🔗
alice_delete_room_2673@localhost/res1 out
</stream:stream>

*** User 2023-12-04 15:53:14.314 ***🔗
alice_delete_room_2673@localhost/res1 in
</stream:stream>
*** CT 2023-12-04 15:53:14.318 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4719.html



=== Ended at 2023-12-04 15:53:14
=== successfully completed test case
=== === Returned value: ok