=== Test case: graphql_domain_SUITE:delete_domain_password/1 (click for source code)

=== Config value:

    [{protocol,http},
     {schema_endpoint,admin},
     {listener_opts,#{host => "localhost",module => mongoose_graphql_handler,
                      password => <<"secret">>,path => "/api/graphql",
                      schema_endpoint => admin,sse_idle_timeout => 3600000,
                      username => <<"admin">>}},
     {watchdog,<0.16992.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_domain_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fd91257997dc.2024-02-26_12.03.35/big_tests.tests.graphql_domain_SUITE.logs/run.2024-02-26_12.06.50/graphql_domain_suite.delete_domain_password.html"},
     {tc_group_properties,[{name,domain_http},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_domain_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fd91257997dc.2024-02-26_12.03.35/big_tests.tests.graphql_domain_SUITE.logs/run.2024-02-26_12.06.50/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fd91257997dc.2024-02-26_12.03.35"

=== Started at 2024-02-26 12:06:51


*** CT 2024-02-26 12:06:51.405 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1523.html

*** User 2024-02-26 12:06:51.409 ***🔗
REST request:
Code: 200
Req: {<0.17266.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"610b4a405a0243b4">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"domain\":\"localhost\"},\"query\":\"mutation ($domain: DomainName!) { domain { deleteDomainPassword(domain: $domain) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 26 Feb 2024 12:06:51 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"83">>}],
         <<"{\"data\":{\"domain\":{\"deleteDomainPassword\":\"Domain password deleted successfully\"}}}">>,
         221,1881}
Params: #{body =>
              <<"{\"variables\":{\"domain\":\"localhost\"},\"query\":\"mutation ($domain: DomainName!) { domain { deleteDomainPassword(domain: $domain) } }\"}">>,
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,path => <<"/api/graphql">>,port => 5551,
          return_headers => true,return_maps => true,
          role => {graphql,admin},
          server => #{node => mongooseim@localhost}}


*** User 2024-02-26 12:06:51.412 ***🔗
REST request:
Code: 200
Req: {<0.17268.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2d0cfe64fec5f955">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"domain\":\"localhost\"},\"query\":\"mutation ($domain: DomainName!) { domain { deleteDomainPassword(domain: $domain) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 26 Feb 2024 12:06:51 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"201">>}],
         <<"{\"errors\":[{\"path\":[\"domain\",\"deleteDomainPassword\"],\"message\":\"Domain password does not exist\",\"extensions\":{\"domain\":\"localhost\",\"code\":\"not_found\"}}],\"data\":{\"domain\":{\"deleteDomainPassword\":null}}}">>,
         340,1183}
Params: #{body =>
              <<"{\"variables\":{\"domain\":\"localhost\"},\"query\":\"mutation ($domain: DomainName!) { domain { deleteDomainPassword(domain: $domain) } }\"}">>,
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,path => <<"/api/graphql">>,port => 5551,
          return_headers => true,return_maps => true,
          role => {graphql,admin},
          server => #{node => mongooseim@localhost}}

*** CT 2024-02-26 12:06:51.413 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1523.html



=== Ended at 2024-02-26 12:06:51
=== successfully completed test case
=== === Returned value: ok


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