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

=== Config value:

    [{watchdog,<0.17406.0>},
     {schema_endpoint,admin},
     {listener_opts,#{host => "localhost",
                      module => mongoose_graphql_cowboy_handler,
                      password => <<"secret">>,path => "/api/graphql",
                      schema_endpoint => <<"admin">>,username => <<"admin">>}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_domain_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.graphql_domain_SUITE.logs/run.2022-05-18_10.02.25/graphql_domain_suite.delete_domain.html"},
     {tc_group_properties,[{suite,graphql_domain_SUITE},
                           {name,domain_handler},
                           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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.graphql_domain_SUITE.logs/run.2022-05-18_10.02.25/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:02:25


*** CT 2022-05-18 10:02:25.977 *** View log from node mongooseim@localhost when started mongooseim@localhost_809.html
*** CT 2022-05-18 10:02:25.977 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_430.html

*** User 2022-05-18 10:02:25.983 ***
REST request:
Code: 200
Req: {<0.17624.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8417ca92c127ca4f">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"hostType\":\"dummy auth\",\"domain\":\"exampleDomain\"},\"query\":\"mutation M1($domain: String!, $hostType: String!)\\n           {domains\\n               {removeDomain(domain: $domain, hostType: $hostType)\\n                   {\\n                       msg\\n                       domain\\n                           {domain}\\n                   }\\n               }\\n           }\",\"operationName\":\"M1\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:02:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"99">>}],
         <<"{\"data\":{\"domains\":{\"removeDomain\":{\"msg\":\"Domain removed!\",\"domain\":{\"domain\":\"exampleDomain\"}}}}}">>,
         237,3713}
Params: #{body =>
              <<"{\"variables\":{\"hostType\":\"dummy auth\",\"domain\":\"exampleDomain\"},\"query\":\"mutation M1($domain: String!, $hostType: String!)\\n           {domains\\n               {removeDomain(domain: $domain, hostType: $hostType)\\n                   {\\n                       msg\\n                       domain\\n                           {domain}\\n                   }\\n               }\\n           }\",\"operationName\":\"M1\"}">>,
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,path => <<"/api/graphql">>,port => 5551,
          return_headers => true,return_maps => true,
          role => {graphql,<<"admin">>},
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:02:25.986 ***
REST request:
Code: 200
Req: {<0.17626.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b3c2151082bd6505">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"hostType\":\"dummy auth\",\"domain\":\"exampleDomain2\"},\"query\":\"mutation M1($domain: String!, $hostType: String!)\\n           {domains\\n               {removeDomain(domain: $domain, hostType: $hostType)\\n                   {\\n                       msg\\n                       domain\\n                           {domain}\\n                   }\\n               }\\n           }\",\"operationName\":\"M1\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:02:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"100">>}],
         <<"{\"data\":{\"domains\":{\"removeDomain\":{\"msg\":\"Domain removed!\",\"domain\":{\"domain\":\"exampleDomain2\"}}}}}">>,
         239,2573}
Params: #{body =>
              <<"{\"variables\":{\"hostType\":\"dummy auth\",\"domain\":\"exampleDomain2\"},\"query\":\"mutation M1($domain: String!, $hostType: String!)\\n           {domains\\n               {removeDomain(domain: $domain, hostType: $hostType)\\n                   {\\n                       msg\\n                       domain\\n                           {domain}\\n                   }\\n               }\\n           }\",\"operationName\":\"M1\"}">>,
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,path => <<"/api/graphql">>,port => 5551,
          return_headers => true,return_maps => true,
          role => {graphql,<<"admin">>},
          server => #{node => mongooseim@localhost}}

*** CT 2022-05-18 10:02:25.988 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_430.html
*** CT 2022-05-18 10:02:25.988 *** View log from node mongooseim@localhost when finished mongooseim@localhost_809.html



=== Ended at 2022-05-18 10:02:26
=== successfully completed test case
=== === Returned value: ok


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