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

=== Config value:

    [{watchdog,<0.75741.0>},
     {preset,"odbc_mssql_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@8e6f7313e05d.2024-04-22_14.41.36/big_tests.tests.muc_light_http_api_SUITE.logs/run.2024-04-22_14.58.31/muc_light_http_api_suite.delete_room.145411.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@8e6f7313e05d.2024-04-22_14.41.36/big_tests.tests.muc_light_http_api_SUITE.logs/run.2024-04-22_14.58.31/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_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_sic => #{iqdisc => one_queue},
        mod_amp => #{},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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}},
     {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@8e6f7313e05d.2024-04-22_14.41.36"

=== Started at 2024-04-22 14:58:31


*** CT 2024-04-22 14:58:31.341 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5271.html

*** User 2024-04-22 14:58:31.354 ***🔗
alicE_delete_room_3044@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-22 14:58:31.355 ***🔗
alicE_delete_room_3044@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a4aef95609de607f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:58:31.355 ***🔗
alicE_delete_room_3044@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-22 14:58:31.355 ***🔗
alicE_delete_room_3044@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tXzMwNDQAbWF0eWdyeXNh</auth>



*** User 2024-04-22 14:58:31.358 ***🔗
alicE_delete_room_3044@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:58:31.358 ***🔗
alicE_delete_room_3044@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-22 14:58:31.358 ***🔗
alicE_delete_room_3044@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7fbe304930f0712d' from='localhost' version='1.0' xml:lang='en' to='alice_delete_room_3044@localhost'>

*** User 2024-04-22 14:58:31.358 ***🔗
alicE_delete_room_3044@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-22 14:58:31.359 ***🔗
alicE_delete_room_3044@localhost/res1 out
<iq type='set' id='4accf4b3294f4ccb83c5a2dd1708fea4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:58:31.359 ***🔗
alicE_delete_room_3044@localhost/res1 in
<iq id='4accf4b3294f4ccb83c5a2dd1708fea4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_delete_room_3044@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:58:31.359 ***🔗
alice_delete_room_3044@localhost/res1 out
<iq type='set' id='54ca01d1d87dfd5035b44aba437a505f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:31.359 ***🔗
alice_delete_room_3044@localhost/res1 in
<iq from='localhost' to='alice_delete_room_3044@localhost/res1' id='54ca01d1d87dfd5035b44aba437a505f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:31.359 ***🔗
alice_delete_room_3044@localhost/res1 out
<presence/>



*** User 2024-04-22 14:58:31.365 ***🔗
alice_delete_room_3044@localhost/res1 in
<presence from='alice_delete_room_3044@localhost/res1' to='alice_delete_room_3044@localhost/res1'/>



*** User 2024-04-22 14:58:31.366 ***🔗
bOb_delete_room_3044@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-22 14:58:31.367 ***🔗
bOb_delete_room_3044@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='364dfe527923322a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:58:31.367 ***🔗
bOb_delete_room_3044@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-22 14:58:31.367 ***🔗
bOb_delete_room_3044@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV8zMDQ0AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-22 14:58:31.368 ***🔗
bOb_delete_room_3044@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:58:31.368 ***🔗
bOb_delete_room_3044@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-22 14:58:31.369 ***🔗
bOb_delete_room_3044@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4650a1bf95a113d4' from='localhost' version='1.0' xml:lang='en' to='bob_delete_room_3044@localhost'>

*** User 2024-04-22 14:58:31.369 ***🔗
bOb_delete_room_3044@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-22 14:58:31.369 ***🔗
bOb_delete_room_3044@localhost/res1 out
<iq type='set' id='60f322559889ad29f258e428767bfbec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:58:31.369 ***🔗
bOb_delete_room_3044@localhost/res1 in
<iq id='60f322559889ad29f258e428767bfbec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_delete_room_3044@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:58:31.369 ***🔗
bob_delete_room_3044@localhost/res1 out
<iq type='set' id='dfc23589596ac37d11515c4a99449f67'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:31.370 ***🔗
bob_delete_room_3044@localhost/res1 in
<iq from='localhost' to='bob_delete_room_3044@localhost/res1' id='dfc23589596ac37d11515c4a99449f67' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:31.370 ***🔗
bob_delete_room_3044@localhost/res1 out
<presence/>



*** User 2024-04-22 14:58:31.371 ***🔗
bob_delete_room_3044@localhost/res1 in
<presence from='bob_delete_room_3044@localhost/res1' to='bob_delete_room_3044@localhost/res1'/>



*** User 2024-04-22 14:58:31.371 ***🔗
kate_delete_room_3044@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-22 14:58:31.371 ***🔗
kate_delete_room_3044@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c3e8387d2ae9bdf' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:58:31.372 ***🔗
kate_delete_room_3044@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-22 14:58:31.372 ***🔗
kate_delete_room_3044@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fMzA0NABtYWtyb3dlO3A=</auth>



*** User 2024-04-22 14:58:31.373 ***🔗
kate_delete_room_3044@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:58:31.373 ***🔗
kate_delete_room_3044@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-22 14:58:31.373 ***🔗
kate_delete_room_3044@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e614bda86a523e38' from='localhost' version='1.0' xml:lang='en' to='kate_delete_room_3044@localhost'>

*** User 2024-04-22 14:58:31.373 ***🔗
kate_delete_room_3044@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-22 14:58:31.373 ***🔗
kate_delete_room_3044@localhost/res1 out
<iq type='set' id='805d5fd49ff40108d8a4de40c0370151'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:58:31.391 ***🔗
kate_delete_room_3044@localhost/res1 in
<iq id='805d5fd49ff40108d8a4de40c0370151' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_delete_room_3044@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:58:31.391 ***🔗
kate_delete_room_3044@localhost/res1 out
<iq type='set' id='f630b9bfd6bb76cace7a6a13a2b546f7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:31.392 ***🔗
kate_delete_room_3044@localhost/res1 in
<iq from='localhost' to='kate_delete_room_3044@localhost/res1' id='f630b9bfd6bb76cace7a6a13a2b546f7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:31.392 ***🔗
kate_delete_room_3044@localhost/res1 out
<presence/>



*** User 2024-04-22 14:58:31.393 ***🔗
kate_delete_room_3044@localhost/res1 in
<presence from='kate_delete_room_3044@localhost/res1' to='kate_delete_room_3044@localhost/res1'/>



*** User 2024-04-22 14:58:31.393 ***🔗
alice_delete_room_3044@localhost/res1 out
<iq type='set' id='506a57e1d9c36071de74d7429daa2918' to='delete_room@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration>
			<roomname>wonderland</roomname>
		</configuration>
		<occupants>
			<user affiliation='member'>bob_delete_room_3044@localhost</user>
			<user affiliation='member'>kate_delete_room_3044@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2024-04-22 14:58:31.398 ***🔗
alice_delete_room_3044@localhost/res1 in
<message from='delete_room@muclight.localhost' to='alice_delete_room_3044@localhost' id='506a57e1d9c36071de74d7429daa2918' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-797911-395142</version>
		<user affiliation='owner'>alice_delete_room_3044@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-22 14:58:31.398 ***🔗
alice_delete_room_3044@localhost/res1 in
<iq from='delete_room@muclight.localhost' to='alice_delete_room_3044@localhost/res1' id='506a57e1d9c36071de74d7429daa2918' type='result'/>



*** User 2024-04-22 14:58:31.398 ***🔗
bob_delete_room_3044@localhost/res1 in
<message from='delete_room@muclight.localhost' to='bob_delete_room_3044@localhost' id='506a57e1d9c36071de74d7429daa2918' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-797911-395142</version>
		<user affiliation='member'>bob_delete_room_3044@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-22 14:58:31.398 ***🔗
kate_delete_room_3044@localhost/res1 in
<message from='delete_room@muclight.localhost' to='kate_delete_room_3044@localhost' id='506a57e1d9c36071de74d7429daa2918' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-797911-395142</version>
		<user affiliation='member'>kate_delete_room_3044@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-22 14:58:31.408 ***🔗
REST request:
Code: 204
Req: {<0.75812.0>,
      <<"/api/muc-lights/muclight.localhost/delete_room/management">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"781a5e7f28a20a9d">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:58:30 GMT">>}],
         <<>>,80,7820}
Params: #{path =>
              <<"/api/muc-lights/muclight.localhost/delete_room/management">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"DELETE">>,
          return_headers => true}


*** User 2024-04-22 14:58:31.408 ***🔗
kate_delete_room_3044@localhost/res1 out
</stream:stream>

*** User 2024-04-22 14:58:31.408 ***🔗
kate_delete_room_3044@localhost/res1 in
</stream:stream>

*** User 2024-04-22 14:58:31.408 ***🔗
bob_delete_room_3044@localhost/res1 out
</stream:stream>

*** User 2024-04-22 14:58:31.408 ***🔗
bob_delete_room_3044@localhost/res1 in
</stream:stream>

*** User 2024-04-22 14:58:31.408 ***🔗
alice_delete_room_3044@localhost/res1 out
</stream:stream>

*** User 2024-04-22 14:58:31.409 ***🔗
alice_delete_room_3044@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 14:58:31.411 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5271.html



=== Ended at 2024-04-22 14:58:31
=== successfully completed test case
=== === Returned value: ok