=== Test case: graphql_stats_SUITE:admin_stats_global_test/1 (click for source code) === Config value: [{protocol,http}, {schema_endpoint,admin}, {listener_opts,#{module => mongoose_graphql_handler, path => "/api/graphql",host => "localhost", username => <<"admin">>,password => <<"secret">>, schema_endpoint => admin,sse_idle_timeout => 3600000}}, {watchdog,<0.29873.0>}, {auth_mods,[ejabberd_auth_rdbms,ejabberd_auth_anonymous, ejabberd_auth_rdbms]}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"odbc_mssql_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@93471e0a4621.2024-02-20_09.44.14/big_tests.tests.graphql_stats_SUITE.logs/run.2024-02-20_09.50.12/graphql_stats_suite.admin_stats_global_test.html"}, {tc_group_properties,[{name,admin_stats_http}]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_stats_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@93471e0a4621.2024-02-20_09.44.14/big_tests.tests.graphql_stats_SUITE.logs/run.2024-02-20_09.50.12/log_private/"}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@93471e0a4621.2024-02-20_09.44.14" === Started at 2024-02-20 09:50:12
*** User 2024-02-20 09:50:12.337 ***🔗 REST request: Code: 200 Req: {<0.29883.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f636dbb41cba1a64">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{},\"query\":\"query { stat { globalStats { incomingS2S onlineUsers onlineUsersNode outgoingS2S registeredUsers uptimeSeconds } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 20 Feb 2024 09:50:11 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"143">>}], <<"{\"data\":{\"stat\":{\"globalStats\":{\"uptimeSeconds\":386,\"registeredUsers\":0,\"outgoingS2S\":0,\"onlineUsersNode\":0,\"onlineUsers\":0,\"incomingS2S\":0}}}}">>, 282,4070} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, role => {graphql,admin}, body => <<"{\"variables\":{},\"query\":\"query { stat { globalStats { incomingS2S onlineUsers onlineUsersNode outgoingS2S registeredUsers uptimeSeconds } } }\"}">>, creds => {<<"admin">>,<<"secret">>}, method => <<"POST">>,return_maps => true,return_headers => true}
=== Ended at 2024-02-20 09:50:12 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result