=== Test case: graphql_cets_SUITE:domain_admin_get_table_info_test/1 (click for source code) === Config value: [{protocol,http}, {domain_admin,{<<"admin@localhost">>,<<"55f8ce3981092fc7">>}}, {schema_endpoint,domain_admin}, {watchdog,<0.32195.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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.graphql_cets_SUITE.logs/run.2023-11-13_19.02.55/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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.graphql_cets_SUITE.logs/run.2023-11-13_19.02.55/log_private/"}, {require,{hosts,mim,node}}, {require,{hosts,mim2,node}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12" === Started at 2023-11-13 19:02:58
*** User 2023-11-13 19:02:58.797 ***🔗 REST request fails: Code: 401 Req: {<0.32201.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"0c8c543170243fce">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjU1ZjhjZTM5ODEwOTJmYzc=">>}], <<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>} Result: {{<<"401">>,<<"Unauthorized">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 13 Nov 2023 19:02:58 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,6573} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, body => <<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>, role => {graphql,domain_admin}, creds => {<<"admin@localhost">>,<<"55f8ce3981092fc7">>}, return_maps => true,return_headers => true}
=== Ended at 2023-11-13 19:02:58 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result