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

=== Config value:

    [{watchdog,<0.69788.0>},
     {preset,"pgsql_cets"},
     {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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.muc_light_http_api_SUITE.logs/run.2024-04-18_11.07.56/muc_light_http_api_suite.delete_room.189954.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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.muc_light_http_api_SUITE.logs/run.2024-04-18_11.07.56/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        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_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => cets,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@2ed2b07c4324.2024-04-18_10.56.18"

=== Started at 2024-04-18 11:07:57


*** CT 2024-04-18 11:07:57.044 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5413.html

*** User 2024-04-18 11:07:57.053 ***🔗
alicE_delete_room_2593@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-18 11:07:57.053 ***🔗
alicE_delete_room_2593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6542b34328adf81' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:07:57.053 ***🔗
alicE_delete_room_2593@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-18 11:07:57.053 ***🔗
alicE_delete_room_2593@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tXzI1OTMAbWF0eWdyeXNh</auth>



*** User 2024-04-18 11:07:57.054 ***🔗
alicE_delete_room_2593@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:07:57.054 ***🔗
alicE_delete_room_2593@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-18 11:07:57.054 ***🔗
alicE_delete_room_2593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e3237bc33efb436' from='localhost' version='1.0' xml:lang='en' to='alice_delete_room_2593@localhost'>

*** User 2024-04-18 11:07:57.054 ***🔗
alicE_delete_room_2593@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-18 11:07:57.054 ***🔗
alicE_delete_room_2593@localhost/res1 out
<iq type='set' id='7d3b981c13cd59e042aed2f52bef9828'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:07:57.054 ***🔗
alicE_delete_room_2593@localhost/res1 in
<iq id='7d3b981c13cd59e042aed2f52bef9828' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_delete_room_2593@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:07:57.054 ***🔗
alice_delete_room_2593@localhost/res1 out
<iq type='set' id='b44ade85aa71c78d7594383fa7922f94'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:07:57.055 ***🔗
alice_delete_room_2593@localhost/res1 in
<iq from='localhost' to='alice_delete_room_2593@localhost/res1' id='b44ade85aa71c78d7594383fa7922f94' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:07:57.055 ***🔗
alice_delete_room_2593@localhost/res1 out
<presence/>



*** User 2024-04-18 11:07:57.055 ***🔗
alice_delete_room_2593@localhost/res1 in
<presence from='alice_delete_room_2593@localhost/res1' to='alice_delete_room_2593@localhost/res1'/>



*** User 2024-04-18 11:07:57.056 ***🔗
bOb_delete_room_2593@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-18 11:07:57.056 ***🔗
bOb_delete_room_2593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b580d931a0c4dda1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:07:57.056 ***🔗
bOb_delete_room_2593@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-18 11:07:57.056 ***🔗
bOb_delete_room_2593@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV8yNTkzAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-18 11:07:57.057 ***🔗
bOb_delete_room_2593@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:07:57.057 ***🔗
bOb_delete_room_2593@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-18 11:07:57.058 ***🔗
bOb_delete_room_2593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ae0f12aa9c3a00e' from='localhost' version='1.0' xml:lang='en' to='bob_delete_room_2593@localhost'>

*** User 2024-04-18 11:07:57.058 ***🔗
bOb_delete_room_2593@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-18 11:07:57.058 ***🔗
bOb_delete_room_2593@localhost/res1 out
<iq type='set' id='1caf7e1e73c284c24fd71dfe90b0a8b7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:07:57.058 ***🔗
bOb_delete_room_2593@localhost/res1 in
<iq id='1caf7e1e73c284c24fd71dfe90b0a8b7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_delete_room_2593@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:07:57.058 ***🔗
bob_delete_room_2593@localhost/res1 out
<iq type='set' id='84a1321a474cd6def9d626e409ca26b1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:07:57.059 ***🔗
bob_delete_room_2593@localhost/res1 in
<iq from='localhost' to='bob_delete_room_2593@localhost/res1' id='84a1321a474cd6def9d626e409ca26b1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:07:57.059 ***🔗
bob_delete_room_2593@localhost/res1 out
<presence/>



*** User 2024-04-18 11:07:57.060 ***🔗
bob_delete_room_2593@localhost/res1 in
<presence from='bob_delete_room_2593@localhost/res1' to='bob_delete_room_2593@localhost/res1'/>



*** User 2024-04-18 11:07:57.061 ***🔗
kate_delete_room_2593@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-18 11:07:57.061 ***🔗
kate_delete_room_2593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47dcc53cf301bec5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:07:57.061 ***🔗
kate_delete_room_2593@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-18 11:07:57.061 ***🔗
kate_delete_room_2593@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fMjU5MwBtYWtyb3dlO3A=</auth>



*** User 2024-04-18 11:07:57.062 ***🔗
kate_delete_room_2593@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:07:57.062 ***🔗
kate_delete_room_2593@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-18 11:07:57.062 ***🔗
kate_delete_room_2593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a105893cd5146058' from='localhost' version='1.0' xml:lang='en' to='kate_delete_room_2593@localhost'>

*** User 2024-04-18 11:07:57.062 ***🔗
kate_delete_room_2593@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-18 11:07:57.063 ***🔗
kate_delete_room_2593@localhost/res1 out
<iq type='set' id='2220acf5cea0fc46450f83a8fa36e37e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:07:57.063 ***🔗
kate_delete_room_2593@localhost/res1 in
<iq id='2220acf5cea0fc46450f83a8fa36e37e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_delete_room_2593@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:07:57.063 ***🔗
kate_delete_room_2593@localhost/res1 out
<iq type='set' id='e07567b098b0bb5a8ad2adcd753f15a4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:07:57.063 ***🔗
kate_delete_room_2593@localhost/res1 in
<iq from='localhost' to='kate_delete_room_2593@localhost/res1' id='e07567b098b0bb5a8ad2adcd753f15a4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:07:57.063 ***🔗
kate_delete_room_2593@localhost/res1 out
<presence/>



*** User 2024-04-18 11:07:57.064 ***🔗
kate_delete_room_2593@localhost/res1 in
<presence from='kate_delete_room_2593@localhost/res1' to='kate_delete_room_2593@localhost/res1'/>



*** User 2024-04-18 11:07:57.064 ***🔗
alice_delete_room_2593@localhost/res1 out
<iq type='set' id='3c5153fc6151f70291246e78d149adb4' to='delete_room@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration>
			<roomname>wonderland</roomname>
		</configuration>
		<occupants>
			<user affiliation='member'>bob_delete_room_2593@localhost</user>
			<user affiliation='member'>kate_delete_room_2593@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2024-04-18 11:07:57.067 ***🔗
alice_delete_room_2593@localhost/res1 in
<message from='delete_room@muclight.localhost' to='alice_delete_room_2593@localhost' id='3c5153fc6151f70291246e78d149adb4' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-438477-65725</version>
		<user affiliation='owner'>alice_delete_room_2593@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-18 11:07:57.067 ***🔗
alice_delete_room_2593@localhost/res1 in
<iq from='delete_room@muclight.localhost' to='alice_delete_room_2593@localhost/res1' id='3c5153fc6151f70291246e78d149adb4' type='result'/>



*** User 2024-04-18 11:07:57.067 ***🔗
bob_delete_room_2593@localhost/res1 in
<message from='delete_room@muclight.localhost' to='bob_delete_room_2593@localhost' id='3c5153fc6151f70291246e78d149adb4' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-438477-65725</version>
		<user affiliation='member'>bob_delete_room_2593@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-18 11:07:57.067 ***🔗
kate_delete_room_2593@localhost/res1 in
<message from='delete_room@muclight.localhost' to='kate_delete_room_2593@localhost' id='3c5153fc6151f70291246e78d149adb4' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-438477-65725</version>
		<user affiliation='member'>kate_delete_room_2593@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-18 11:07:57.070 ***🔗
REST request:
Code: 204
Req: {<0.69860.0>,
      <<"/api/muc-lights/muclight.localhost/delete_room/management">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"002ceac129979e7f">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 18 Apr 2024 11:07:56 GMT">>}],
         <<>>,80,1838}
Params: #{path =>
              <<"/api/muc-lights/muclight.localhost/delete_room/management">>,
          server => #{node => mongooseim@localhost},
          method => <<"DELETE">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-04-18 11:07:57.070 ***🔗
kate_delete_room_2593@localhost/res1 out
</stream:stream>

*** User 2024-04-18 11:07:57.070 ***🔗
kate_delete_room_2593@localhost/res1 in
</stream:stream>

*** User 2024-04-18 11:07:57.070 ***🔗
bob_delete_room_2593@localhost/res1 out
</stream:stream>

*** User 2024-04-18 11:07:57.071 ***🔗
bob_delete_room_2593@localhost/res1 in
</stream:stream>

*** User 2024-04-18 11:07:57.071 ***🔗
alice_delete_room_2593@localhost/res1 out
</stream:stream>

*** User 2024-04-18 11:07:57.071 ***🔗
alice_delete_room_2593@localhost/res1 in
</stream:stream>
*** CT 2024-04-18 11:07:57.075 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5414.html



=== Ended at 2024-04-18 11:07:57
=== successfully completed test case
=== === Returned value: ok