=== Test case: graphql_cets_SUITE:domain_admin_get_table_info_test/1 (click for source code) === Config value: [{protocol,http}, {domain_admin,{<<"admin@localhost">>,<<"4f9c7487dbe5fc9f">>}}, {schema_endpoint,domain_admin}, {watchdog,<0.31365.0>}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"pgsql_cets"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_cets_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8bb9972b0f45.2024-02-28_15.26.59/big_tests.tests.graphql_cets_SUITE.logs/run.2024-02-28_15.32.38/graphql_cets_suite.domain_admin_get_table_info_test.html"}, {tc_group_properties,[{name,domain_admin_cets}]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_cets_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@8bb9972b0f45.2024-02-28_15.26.59/big_tests.tests.graphql_cets_SUITE.logs/run.2024-02-28_15.32.38/log_private/"}, {require,{hosts,mim,node}}, {require,{hosts,mim2,node}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@8bb9972b0f45.2024-02-28_15.26.59" === Started at 2024-02-28 15:32:41
*** User 2024-02-28 15:32:42.017 ***🔗 REST request fails: Code: 401 Req: {<0.31371.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"ccc82ea26f4f8f03">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjRmOWM3NDg3ZGJlNWZjOWY=">>}], <<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>} Result: {{<<"401">>,<<"Unauthorized">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 28 Feb 2024 15:32:41 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"161">>}], <<"{\"errors\":[{\"extensions\":{\"code\":\"no_permissions\"},\"path\":[\"ROOT\",\"cets\",\"tableInfo\"],\"message\":\"Cannot execute query ROOT without a global admin permissions\"}]}">>, 310,10064} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, creds => {<<"admin@localhost">>,<<"4f9c7487dbe5fc9f">>}, body => <<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>, role => {graphql,domain_admin}, return_maps => true,method => <<"POST">>,return_headers => true}
=== Ended at 2024-02-28 15:32:42 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result