=== Test case: service_domain_db_SUITE:rest_delete_domain_cleans_data_from_mam/1 (click for source code)

=== Config value:

    [{watchdog,<0.24397.2>},
     {service,true},
     {mim_conf1,#{core_opts =>
                      [[{<<"localhost">>,<<"localhost">>},
                        {<<"anonymous.localhost">>,<<"anonymous.localhost">>},
                        {<<"localhost.bis">>,<<"localhost.bis">>}],
                       [<<"test type">>,<<"dummy auth">>,<<"anonymous">>]],
                  loaded => true,service_opts => []}},
     {mim_conf2,#{core_opts =>
                      [[{<<"localhost">>,<<"localhost">>},
                        {<<"anonymous.localhost">>,<<"anonymous.localhost">>},
                        {<<"localhost.bis">>,<<"localhost.bis">>}],
                       [<<"test type">>,<<"dummy auth">>]],
                  loaded => true,service_opts => []}},
     {mim_conf3,#{core_opts =>
                      [[{<<"localhost">>,<<"localhost">>},
                        {<<"anonymous.localhost">>,<<"anonymous.localhost">>},
                        {<<"localhost.bis">>,<<"localhost.bis">>}],
                       []],
                  loaded => true,service_opts => []}},
     {service_setup,per_testcase},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/service_domain_db_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f35493351768.2022-03-18_10.50.10/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-18_11.05.22/service_domain_db_suite.rest_delete_domain_cleans_data_from_mam.181762.html"},
     {tc_group_properties,[{name,rest_without_auth}]},
     {tc_group_path,[[{name,db}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/service_domain_db_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@f35493351768.2022-03-18_10.50.10/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-18_11.05.22/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"dummy auth">>},#{}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f35493351768.2022-03-18_10.50.10"

=== Started at 2022-03-18 11:05:43


*** CT 2022-03-18 11:05:43.060 *** View log from node mongooseim@localhost when started mongooseim@localhost_5317.html
*** CT 2022-03-18 11:05:43.061 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2041.html

*** User 2022-03-18 11:05:43.069 ***
REST request:
Code: 204
Req: {<0.24971.2>,<<"/api/domains/example.com">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3214361ed8d4b9fc">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 11:05:42 GMT">>}],
         <<>>,80,2911}
Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false,
          method => <<"PUT">>,path => <<"/api/domains/example.com">>,
          port => 8866,return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 11:05:43.072 ***
REST request:
Code: 204
Req: {<0.24973.2>,<<"/api/domains/example.org">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2ae4da4a546b6ad8">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 11:05:42 GMT">>}],
         <<>>,80,2799}
Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false,
          method => <<"PUT">>,path => <<"/api/domains/example.org">>,
          port => 8866,return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 11:05:43.074 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 out
<stream:stream to='example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 11:05:43.075 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e58416e82bdf63e' from='example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 11:05:43.075 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/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>PLAIN</mechanism>
	</mechanisms>
</stream:features>



*** User 2022-03-18 11:05:43.075 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8yNzI3AG1ha290YTI=</auth>



*** User 2022-03-18 11:05:43.082 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 11:05:43.082 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 out
<stream:stream to='example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 11:05:43.083 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='239d9cff850235e8' from='example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 11:05:43.083 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/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'/>
</stream:features>



*** User 2022-03-18 11:05:43.083 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 out
<iq type='set' id='7948180c8216295d7ee23512b68ed08e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 11:05:43.083 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 in
<iq id='7948180c8216295d7ee23512b68ed08e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 11:05:43.083 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 out
<iq type='set' id='e1ca6fd4559a8b3655dec9e7a516626e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 11:05:43.084 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 in
<iq type='result' id='e1ca6fd4559a8b3655dec9e7a516626e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 11:05:43.084 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 out
<presence/>



*** User 2022-03-18 11:05:43.085 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 in
<presence from='alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1' xml:lang='en'/>



*** User 2022-03-18 11:05:43.086 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 out
<stream:stream to='example.org' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 11:05:43.086 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='baf29a26093386d0' from='example.org' version='1.0' xml:lang='en'>

*** User 2022-03-18 11:05:43.086 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
</stream:features>



*** User 2022-03-18 11:05:43.087 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMjcyNwBtYWtvdGEz</auth>



*** User 2022-03-18 11:05:43.470 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 11:05:43.471 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 out
<stream:stream to='example.org' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 11:05:43.471 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c80181670f44556' from='example.org' version='1.0' xml:lang='en'>

*** User 2022-03-18 11:05:43.471 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<stream:features>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</stream:features>



*** User 2022-03-18 11:05:43.471 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 out
<iq type='set' id='ef329c5d71dc15b4be03fdeab900f005'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 11:05:43.471 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<iq id='ef329c5d71dc15b4be03fdeab900f005' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 11:05:43.471 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 out
<iq type='set' id='6089de45ce1888851b53fb40f3df8e57'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 11:05:43.472 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<iq type='result' id='6089de45ce1888851b53fb40f3df8e57'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 11:05:43.472 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 out
<presence/>



*** User 2022-03-18 11:05:43.473 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<presence from='bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1' xml:lang='en'/>



*** User 2022-03-18 11:05:43.473 ***
alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1 out
<message to='bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2022-03-18 11:05:43.478 ***
bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1 in
<message from='alice_rest_delete_domain_cleans_data_from_mam_2727@example.com/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2727@example.org/res1' xml:lang='en' type='chat'>
	<body>OH, HAI!</body>
	<stanza-id by='bob_rest_delete_domain_cleans_data_from_mam_2727@example.org' id='BMJS42TEI7G2' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-18 11:05:45.525 ***
REST request:
Code: 204
Req: {<0.24977.2>,<<"/api/domains/example.com">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ed79d6fec0c0f97a">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 11:05:45 GMT">>}],
         <<>>,80,5197}
Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false,
          method => <<"DELETE">>,path => <<"/api/domains/example.com">>,
          port => 8866,return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 11:05:45.533 ***
REST request:
Code: 204
Req: {<0.24979.2>,<<"/api/domains/example.org">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"39f6a787df0f5b50">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 11:05:45 GMT">>}],
         <<>>,80,6544}
Params: #{body => <<"{\"host_type\":\"dummy auth\"}">>,creds => false,
          method => <<"DELETE">>,path => <<"/api/domains/example.org">>,
          port => 8866,return_headers => true,role => admin,
          server => #{node => mongooseim@localhost}}

*** CT 2022-03-18 11:05:45.541 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2041.html
*** CT 2022-03-18 11:05:45.542 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5319.html



=== Ended at 2022-03-18 11:05:45
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result