=== Test case: graphql_domain_SUITE:domain_duplicate_error_formatting/1 (click for source code) === Config value: [{watchdog,<0.17033.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.graphql_domain_SUITE.logs/run.2022-03-04_11.19.41/graphql_domain_suite.domain_duplicate_error_formatting.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.graphql_domain_SUITE.logs/run.2022-03-04_11.19.41/log_private/"}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52" === Started at 2022-03-04 11:19:42
*** User 2022-03-04 11:19:42.187 *** REST request: Code: 200 Req: {<0.17098.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"7bbc1dc43d895dc7">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"hostType\":\"test type\",\"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">>,<<"Fri, 04 Mar 2022 11:19:41 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"183">>}], <<"{\"errors\":[{\"path\":[\"domains\",\"addDomain\"],\"message\":\"Domain already exists\",\"extensions\":{\"domain\":\"exampleDomain\",\"code\":\"domain_duplicate\"}}],\"data\":{\"domains\":{\"addDomain\":null}}}">>, 322,1874} Params: #{body => <<"{\"variables\":{\"hostType\":\"test type\",\"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}}
=== Ended at 2022-03-04 11:19:42 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result