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

=== Config value:

    [{watchdog,<0.28419.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-01-25_16.31.49/muc_light_http_api_suite.delete_room_by_owner.121858.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.muc_light_http_api_SUITE.logs/run.2022-01-25_16.31.49/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:31:50


*** CT 2022-01-25 16:31:50.156 *** View log from node mongooseim@localhost when started mongooseim@localhost_5398.html
*** CT 2022-01-25 16:31:50.156 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2339.html

*** User 2022-01-25 16:31:50.173 ***
alicE_delete_room_by_owner_1861@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-25 16:31:50.173 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c4004d4370e35fe' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:50.173 ***
alicE_delete_room_by_owner_1861@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-25 16:31:50.174 ***
alicE_delete_room_by_owner_1861@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGV0ZV9yb29tX2J5X293bmVyXzE4NjEAbWF0eWdyeXNh</auth>



*** User 2022-01-25 16:31:50.180 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:31:50.180 ***
alicE_delete_room_by_owner_1861@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-25 16:31:50.180 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b92a1f1cf823768' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:50.180 ***
alicE_delete_room_by_owner_1861@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-25 16:31:50.180 ***
alicE_delete_room_by_owner_1861@localhost/res1 out
<iq type='set' id='6b9f7de7a5cb1212d8b9f6151c7ec933'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:31:50.180 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
<iq id='6b9f7de7a5cb1212d8b9f6151c7ec933' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_delete_room_by_owner_1861@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:31:50.180 ***
alicE_delete_room_by_owner_1861@localhost/res1 out
<iq type='set' id='28a7a61aa08b3c8d7f1d2f2fab5217d1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:50.181 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
<iq type='result' id='28a7a61aa08b3c8d7f1d2f2fab5217d1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:50.181 ***
alicE_delete_room_by_owner_1861@localhost/res1 out
<presence/>



*** User 2022-01-25 16:31:50.183 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
<presence from='alicE_delete_room_by_owner_1861@localhost/res1' to='alice_delete_room_by_owner_1861@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:31:50.183 ***
bOb_delete_room_by_owner_1861@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-25 16:31:50.184 ***
bOb_delete_room_by_owner_1861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2872bdc6fbb8bfe1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:50.184 ***
bOb_delete_room_by_owner_1861@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-25 16:31:50.184 ***
bOb_delete_room_by_owner_1861@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxldGVfcm9vbV9ieV9vd25lcl8xODYxAG1ha3JvbGlrYQ==</auth>



*** User 2022-01-25 16:31:50.185 ***
bOb_delete_room_by_owner_1861@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:31:50.185 ***
bOb_delete_room_by_owner_1861@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-25 16:31:50.185 ***
bOb_delete_room_by_owner_1861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4dbf4fb10cb9596e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:50.185 ***
bOb_delete_room_by_owner_1861@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-25 16:31:50.185 ***
bOb_delete_room_by_owner_1861@localhost/res1 out
<iq type='set' id='b146db3154bfa2f9d01bb89166cea6e3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:31:50.186 ***
bOb_delete_room_by_owner_1861@localhost/res1 in
<iq id='b146db3154bfa2f9d01bb89166cea6e3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_delete_room_by_owner_1861@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:31:50.186 ***
bOb_delete_room_by_owner_1861@localhost/res1 out
<iq type='set' id='84d3a9dff5fd936e0da9cb80a02c9757'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:50.186 ***
bOb_delete_room_by_owner_1861@localhost/res1 in
<iq type='result' id='84d3a9dff5fd936e0da9cb80a02c9757'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:50.186 ***
bOb_delete_room_by_owner_1861@localhost/res1 out
<presence/>



*** User 2022-01-25 16:31:50.187 ***
bOb_delete_room_by_owner_1861@localhost/res1 in
<presence from='bOb_delete_room_by_owner_1861@localhost/res1' to='bob_delete_room_by_owner_1861@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:31:50.188 ***
kate_delete_room_by_owner_1861@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-25 16:31:50.188 ***
kate_delete_room_by_owner_1861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='944cf0c0301ca6f6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:50.188 ***
kate_delete_room_by_owner_1861@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-25 16:31:50.188 ***
kate_delete_room_by_owner_1861@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZGVsZXRlX3Jvb21fYnlfb3duZXJfMTg2MQBtYWtyb3dlO3A=</auth>



*** User 2022-01-25 16:31:50.189 ***
kate_delete_room_by_owner_1861@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:31:50.189 ***
kate_delete_room_by_owner_1861@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-25 16:31:50.189 ***
kate_delete_room_by_owner_1861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45fec1e3e8366926' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:50.189 ***
kate_delete_room_by_owner_1861@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-25 16:31:50.190 ***
kate_delete_room_by_owner_1861@localhost/res1 out
<iq type='set' id='d0b6fee015cd283151f8a529c1277170'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:31:50.190 ***
kate_delete_room_by_owner_1861@localhost/res1 in
<iq id='d0b6fee015cd283151f8a529c1277170' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_delete_room_by_owner_1861@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:31:50.190 ***
kate_delete_room_by_owner_1861@localhost/res1 out
<iq type='set' id='02cc722c756261ce4743717f835e1adb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:50.190 ***
kate_delete_room_by_owner_1861@localhost/res1 in
<iq type='result' id='02cc722c756261ce4743717f835e1adb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:50.190 ***
kate_delete_room_by_owner_1861@localhost/res1 out
<presence/>



*** User 2022-01-25 16:31:50.191 ***
kate_delete_room_by_owner_1861@localhost/res1 in
<presence from='kate_delete_room_by_owner_1861@localhost/res1' to='kate_delete_room_by_owner_1861@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:31:50.191 ***
alicE_delete_room_by_owner_1861@localhost/res1 out
<iq type='set' id='4517b5e87bd659e2c500d5ec7f5a7c4c' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration>
			<roomname>wonderland</roomname>
		</configuration>
		<occupants>
			<user affiliation='member'>bob_delete_room_by_owner_1861@localhost</user>
			<user affiliation='member'>kate_delete_room_by_owner_1861@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2022-01-25 16:31:50.197 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
<message from='1643-128310-193287@muclight.localhost' to='alice_delete_room_by_owner_1861@localhost' id='4517b5e87bd659e2c500d5ec7f5a7c4c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128310-193271</version>
		<user affiliation='owner'>alice_delete_room_by_owner_1861@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:50.197 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
<iq from='muclight.localhost' to='alicE_delete_room_by_owner_1861@localhost/res1' id='4517b5e87bd659e2c500d5ec7f5a7c4c' type='result'/>



*** User 2022-01-25 16:31:50.198 ***
bOb_delete_room_by_owner_1861@localhost/res1 in
<message from='1643-128310-193287@muclight.localhost' to='bob_delete_room_by_owner_1861@localhost' id='4517b5e87bd659e2c500d5ec7f5a7c4c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128310-193271</version>
		<user affiliation='member'>bob_delete_room_by_owner_1861@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:50.198 ***
kate_delete_room_by_owner_1861@localhost/res1 in
<message from='1643-128310-193287@muclight.localhost' to='kate_delete_room_by_owner_1861@localhost' id='4517b5e87bd659e2c500d5ec7f5a7c4c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128310-193271</version>
		<user affiliation='member'>kate_delete_room_by_owner_1861@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:50.238 ***
REST request:
Code: 204
Req: {<0.28506.1>,
      <<"/api/muc-lights/muclight.localhost/wonderland/alicE_delete_room_by_owner_1861@localhost/management">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4f19525a1d560bf7">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:31:50 GMT">>},
          {<<"content-type">>,<<"application/json">>}],
         <<>>,112,39355}
Params: #{body => <<>>,method => <<"DELETE">>,
          path =>
              <<"/api/muc-lights/muclight.localhost/wonderland/alicE_delete_room_by_owner_1861@localhost/management">>,
          return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:31:50.238 ***
kate_delete_room_by_owner_1861@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:31:50.239 ***
kate_delete_room_by_owner_1861@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:31:50.239 ***
bOb_delete_room_by_owner_1861@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:31:50.240 ***
bOb_delete_room_by_owner_1861@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:31:50.240 ***
alicE_delete_room_by_owner_1861@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:31:50.240 ***
alicE_delete_room_by_owner_1861@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:31:50.243 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2339.html
*** CT 2022-01-25 16:31:50.244 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5399.html



=== Ended at 2022-01-25 16:31:50
=== successfully completed test case
=== === Returned value: ok