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

=== Config value:

    [{watchdog,<0.17553.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.graphql_domain_SUITE.logs/run.2022-05-25_09.06.24/graphql_domain_suite.get_domain_details.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.graphql_domain_SUITE.logs/run.2022-05-25_09.06.24/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:06:24


*** CT 2022-05-25 09:06:24.523 *** View log from node mongooseim@localhost when started mongooseim@localhost_803.html
*** CT 2022-05-25 09:06:24.523 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_424.html

*** User 2022-05-25 09:06:24.526 ***
REST request:
Code: 200
Req: {<0.17754.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fde492537d6d2f7e">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"domain\":\"exampleDomain\"},\"query\":\"query Q1($domain: String!)\\n           {domains\\n               {domainDetails(domain: $domain)\\n                   {\\n                       domain\\n                       hostType\\n                       enabled\\n                   }\\n               }\\n           }\",\"operationName\":\"Q1\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:06:23 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"104">>}],
         <<"{\"data\":{\"domains\":{\"domainDetails\":{\"hostType\":\"dummy auth\",\"enabled\":true,\"domain\":\"exampleDomain\"}}}}">>,
         243,1297}
Params: #{body =>
              <<"{\"variables\":{\"domain\":\"exampleDomain\"},\"query\":\"query Q1($domain: String!)\\n           {domains\\n               {domainDetails(domain: $domain)\\n                   {\\n                       domain\\n                       hostType\\n                       enabled\\n                   }\\n               }\\n           }\",\"operationName\":\"Q1\"}">>,
          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-25 09:06:24.527 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_424.html
*** CT 2022-05-25 09:06:24.527 *** View log from node mongooseim@localhost when finished mongooseim@localhost_803.html



=== Ended at 2022-05-25 09:06:24
=== successfully completed test case
=== === Returned value: ok


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