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

=== Config value:

    [{watchdog,<0.16978.0>},
     {schema_endpoint,admin},
     {listener_opts,[{password,<<"secret">>},
                     {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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.graphql_domain_SUITE.logs/run.2022-01-27_12.30.51/graphql_domain_suite.create_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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.graphql_domain_SUITE.logs/run.2022-01-27_12.30.51/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:30:51


*** CT 2022-01-27 12:30:51.361 *** View log from node mongooseim@localhost when started mongooseim@localhost_894.html
*** CT 2022-01-27 12:30:51.361 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_538.html

*** User 2022-01-27 12:30:51.392 ***
REST request:
Code: 200
Req: {<0.16991.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7e2fd3215e68cf84">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"hostType\":\"dummy auth\",\"domain\":\"exampleDomain\"},\"query\":\"mutation M1($domain: String!, $hostType: String!)\\n           {domains\\n               {addDomain(domain: $domain, hostType: $hostType)\\n                   {\\n                       domain\\n                       hostType\\n                       enabled\\n                   }\\n               }\\n           }\",\"operationName\":\"M1\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 12:30:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"100">>}],
         <<"{\"data\":{\"domains\":{\"addDomain\":{\"hostType\":\"dummy auth\",\"enabled\":null,\"domain\":\"exampleDomain\"}}}}">>,
         239,29126}
Params: #{body =>
              <<"{\"variables\":{\"hostType\":\"dummy auth\",\"domain\":\"exampleDomain\"},\"query\":\"mutation M1($domain: String!, $hostType: String!)\\n           {domains\\n               {addDomain(domain: $domain, hostType: $hostType)\\n                   {\\n                       domain\\n                       hostType\\n                       enabled\\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-01-27 12:30:51.432 ***
REST request:
Code: 200
Req: {<0.16993.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a000693571d349d0">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"hostType\":\"dummy auth\",\"domain\":\"exampleDomain2\"},\"query\":\"mutation M1($domain: String!, $hostType: String!)\\n           {domains\\n               {addDomain(domain: $domain, hostType: $hostType)\\n                   {\\n                       domain\\n                       hostType\\n                       enabled\\n                   }\\n               }\\n           }\",\"operationName\":\"M1\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 12:30:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"{\"data\":{\"domains\":{\"addDomain\":{\"hostType\":\"dummy auth\",\"enabled\":null,\"domain\":\"exampleDomain2\"}}}}">>,
         240,37778}
Params: #{body =>
              <<"{\"variables\":{\"hostType\":\"dummy auth\",\"domain\":\"exampleDomain2\"},\"query\":\"mutation M1($domain: String!, $hostType: String!)\\n           {domains\\n               {addDomain(domain: $domain, hostType: $hostType)\\n                   {\\n                       domain\\n                       hostType\\n                       enabled\\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-01-27 12:30:51.444 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_538.html
*** CT 2022-01-27 12:30:51.445 *** View log from node mongooseim@localhost when finished mongooseim@localhost_895.html



=== Ended at 2022-01-27 12:30:51
=== successfully completed test case
=== === Returned value: ok


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