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

=== Config value:

    [{watchdog,<0.20930.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.service_domain_db_SUITE.logs/run.2022-01-27_15.39.00/service_domain_db_suite.rest_delete_domain_cleans_data_from_mam.167554.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.service_domain_db_SUITE.logs/run.2022-01-27_15.39.00/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"dummy auth">>},#{}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:39:22


*** CT 2022-01-27 15:39:22.636 *** View log from node mongooseim@localhost when started mongooseim@localhost_6436.html
*** CT 2022-01-27 15:39:22.637 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2440.html

*** User 2022-01-27 15:39:22.644 ***
REST request:
Code: 204
Req: {<0.21513.2>,<<"/api/domains/example.com">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"78618019a0055625">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:39:22 GMT">>}],
         <<>>,80,2422}
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-01-27 15:39:22.648 ***
REST request:
Code: 204
Req: {<0.21515.2>,<<"/api/domains/example.org">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cf15cc6a43ba8ac2">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:39:22 GMT">>}],
         <<>>,80,2798}
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-01-27 15:39:22.650 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@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-01-27 15:39:22.651 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dd23efa74f1b31fd' from='example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:39:22.651 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@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-01-27 15:39:22.651 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8yMzQ3AG1ha290YTI=</auth>



*** User 2022-01-27 15:39:22.655 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:39:22.655 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@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-01-27 15:39:22.656 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5f6bbb7301eea1a' from='example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:39:22.656 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@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-01-27 15:39:22.656 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 out
<iq type='set' id='0d6ab7b9ba21c961ff9fdecd025a3a44'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:39:22.656 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 in
<iq id='0d6ab7b9ba21c961ff9fdecd025a3a44' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:39:22.656 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 out
<iq type='set' id='f3b66729a12ea4bdd3da5a57d21129c0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:39:22.656 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 in
<iq type='result' id='f3b66729a12ea4bdd3da5a57d21129c0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:39:22.657 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 out
<presence/>



*** User 2022-01-27 15:39:22.658 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 in
<presence from='alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1' xml:lang='en'/>



*** User 2022-01-27 15:39:22.658 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@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-01-27 15:39:22.659 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8155a1a6634e2377' from='example.org' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:39:22.659 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@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-01-27 15:39:22.659 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMjM0NwBtYWtvdGEz</auth>



*** User 2022-01-27 15:39:22.782 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:39:22.782 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@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-01-27 15:39:22.783 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aeb1884cd1a59a71' from='example.org' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:39:22.783 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@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-01-27 15:39:22.783 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 out
<iq type='set' id='9272f4aefdb393ea23f0598709fc643d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:39:22.783 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 in
<iq id='9272f4aefdb393ea23f0598709fc643d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:39:22.783 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 out
<iq type='set' id='fab9bcde2108c576bb93802f0fddead8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:39:22.783 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 in
<iq type='result' id='fab9bcde2108c576bb93802f0fddead8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:39:22.784 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 out
<presence/>



*** User 2022-01-27 15:39:22.785 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 in
<presence from='bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1' xml:lang='en'/>



*** User 2022-01-27 15:39:22.785 ***
alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1 out
<message to='bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2022-01-27 15:39:22.791 ***
bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1 in
<message from='alice_rest_delete_domain_cleans_data_from_mam_2347@example.com/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2347@example.org/res1' xml:lang='en' type='chat'>
	<body>OH, HAI!</body>
	<stanza-id by='bob_rest_delete_domain_cleans_data_from_mam_2347@example.org' id='BLKI3TAFM502' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 15:39:24.840 ***
REST request:
Code: 204
Req: {<0.21519.2>,<<"/api/domains/example.com">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e77a547cff9245c4">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:39:24 GMT">>}],
         <<>>,80,6716}
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-01-27 15:39:24.852 ***
REST request:
Code: 204
Req: {<0.21521.2>,<<"/api/domains/example.org">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e674df51448c8507">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:39:24 GMT">>}],
         <<>>,80,11057}
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-01-27 15:39:24.868 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2440.html
*** CT 2022-01-27 15:39:24.869 *** View log from node mongooseim@localhost when finished mongooseim@localhost_6438.html



=== Ended at 2022-01-27 15:39:24
=== successfully completed test case
=== === Returned value: ok


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