=== Test case: graphql_cets_SUITE:domain_admin_get_table_info_test/1 (click for source code) === Config value: [{protocol,http}, {domain_admin,{<<"admin@localhost">>,<<"1161e7381019bd6e">>}}, {schema_endpoint,domain_admin}, {watchdog,<0.32310.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@e06ff82a20fb.2024-03-21_07.45.38/big_tests.tests.graphql_cets_SUITE.logs/run.2024-03-21_07.52.21/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@e06ff82a20fb.2024-03-21_07.45.38/big_tests.tests.graphql_cets_SUITE.logs/run.2024-03-21_07.52.21/log_private/"}, {require,{hosts,mim,node}}, {require,{hosts,mim2,node}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e06ff82a20fb.2024-03-21_07.45.38" === Started at 2024-03-21 07:52:25
*** User 2024-03-21 07:52:25.620 ***🔗 REST request fails: Code: 401 Req: {<0.32316.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"4bf735d50a09a162">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjExNjFlNzM4MTAxOWJkNmU=">>}], <<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>} Result: {{<<"401">>,<<"Unauthorized">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 21 Mar 2024 07:52:25 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,9590} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, role => {graphql,domain_admin}, creds => {<<"admin@localhost">>,<<"1161e7381019bd6e">>}, body => <<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>, return_maps => true,return_headers => true}
=== Ended at 2024-03-21 07:52:25 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result