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

=== Config value:

    [{watchdog,<0.20198.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.service_domain_db_SUITE.logs/run.2022-01-25_16.36.30/service_domain_db_suite.rest_delete_domain_cleans_data_from_mam.170242.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.service_domain_db_SUITE.logs/run.2022-01-25_16.36.30/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"dummy auth">>},#{}}]

=== 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:36:50


*** CT 2022-01-25 16:36:50.864 *** View log from node mongooseim@localhost when started mongooseim@localhost_6426.html
*** CT 2022-01-25 16:36:50.864 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2432.html

*** User 2022-01-25 16:36:50.871 ***
REST request:
Code: 204
Req: {<0.20774.2>,<<"/api/domains/example.com">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ec41337ea578c046">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:36:50 GMT">>}],
         <<>>,80,2413}
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-25 16:36:50.874 ***
REST request:
Code: 204
Req: {<0.20776.2>,<<"/api/domains/example.org">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"08c90e822980ea5c">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:36:50 GMT">>}],
         <<>>,80,1989}
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-25 16:36:50.876 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@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-25 16:36:50.876 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c12b15a456b862ce' from='example.com' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:36:50.876 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@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-25 16:36:50.877 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3Jlc3RfZGVsZXRlX2RvbWFpbl9jbGVhbnNfZGF0YV9mcm9tX21hbV8yNDEwAG1ha290YTI=</auth>



*** User 2022-01-25 16:36:50.880 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:36:50.880 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@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-25 16:36:50.881 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f6d75e76b842e80' from='example.com' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:36:50.881 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@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-25 16:36:50.881 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 out
<iq type='set' id='7309e0c15fc6a3761a8c2a88f71ab7e9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:36:50.881 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 in
<iq id='7309e0c15fc6a3761a8c2a88f71ab7e9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:36:50.881 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 out
<iq type='set' id='499665f4bd4e751ac79b9b5122871573'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:36:50.881 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 in
<iq type='result' id='499665f4bd4e751ac79b9b5122871573'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:36:50.881 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 out
<presence/>



*** User 2022-01-25 16:36:50.882 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 in
<presence from='alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1' to='alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1' xml:lang='en'/>



*** User 2022-01-25 16:36:50.883 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@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-25 16:36:50.883 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='453b779f2e60698d' from='example.org' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:36:50.883 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@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-25 16:36:50.883 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJvYl9yZXN0X2RlbGV0ZV9kb21haW5fY2xlYW5zX2RhdGFfZnJvbV9tYW1fMjQxMABtYWtvdGEz</auth>



*** User 2022-01-25 16:36:51.111 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:36:51.112 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@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-25 16:36:51.112 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5790ec7b3ce7832b' from='example.org' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:36:51.112 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@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-25 16:36:51.112 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 out
<iq type='set' id='181093bd75f244edf09f1d0da5d11fec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:36:51.113 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 in
<iq id='181093bd75f244edf09f1d0da5d11fec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:36:51.113 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 out
<iq type='set' id='9733c19577f2ba17600698f5f40aebde'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:36:51.113 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 in
<iq type='result' id='9733c19577f2ba17600698f5f40aebde'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:36:51.113 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 out
<presence/>



*** User 2022-01-25 16:36:51.114 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 in
<presence from='bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1' xml:lang='en'/>



*** User 2022-01-25 16:36:51.114 ***
alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1 out
<message to='bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2022-01-25 16:36:51.122 ***
bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1 in
<message from='alice_rest_delete_domain_cleans_data_from_mam_2410@example.com/res1' to='bob_rest_delete_domain_cleans_data_from_mam_2410@example.org/res1' xml:lang='en' type='chat'>
	<body>OH, HAI!</body>
	<stanza-id by='bob_rest_delete_domain_cleans_data_from_mam_2410@example.org' id='BLJAM4NOVRG2' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-25 16:36:53.174 ***
REST request:
Code: 204
Req: {<0.20780.2>,<<"/api/domains/example.com">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bbeaa4f82c1591df">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:36:52 GMT">>}],
         <<>>,80,10195}
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-25 16:36:53.179 ***
REST request:
Code: 204
Req: {<0.20782.2>,<<"/api/domains/example.org">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b716869f1b70f296">>}],
      <<"{\"host_type\":\"dummy auth\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:36:52 GMT">>}],
         <<>>,80,4635}
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-25 16:36:53.186 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2432.html
*** CT 2022-01-25 16:36:53.187 *** View log from node mongooseim@localhost when finished mongooseim@localhost_6428.html



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


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