=== Test case: graphql_metric_SUITE:get_by_name_cluster_metrics_as_dicts/1 (click for source code)

=== Config value:

    [{watchdog,<0.21679.0>},
     {schema_endpoint,admin},
     {listener_opts,#{host => "localhost",
                      module => mongoose_graphql_cowboy_handler,
                      password => <<"secret">>,path => "/api/graphql",
                      schema_endpoint => admin,username => <<"admin">>}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_metric_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.graphql_metric_SUITE.logs/run.2022-06-22_08.48.40/graphql_metric_suite.get_by_name_cluster_metrics_as_dicts.html"},
     {tc_group_properties,[{suite,graphql_metric_SUITE},{name,metrics}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_metric_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.graphql_metric_SUITE.logs/run.2022-06-22_08.48.40/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:48:41


*** CT 2022-06-22 08:48:41.574 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_973.html
*** CT 2022-06-22 08:48:41.574 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_391.html

*** User 2022-06-22 08:48:41.578 ***🔗
REST request:
Code: 200
Req: {<0.21861.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"53be94dba21364d8">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{},\"query\":\"query Q1\\n           {metric\\n               {getClusterMetricsAsDicts(name: [\\\"_\\\", \\\"xmppStanzaSent\\\"]) {node result { name dict { key value }}}}}\",\"operationName\":\"Q1\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 08:48:40 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"1199">>}],
         <<"{\"data\":{\"metric\":{\"getClusterMetricsAsDicts\":[{\"result\":[{\"name\":[\"anonymous\",\"xmppStanzaSent\"],\"dict\":[{\"value\":0,\"key\":\"count\"},{\"value\":0,\"key\":\"one\"}]},{\"name\":[\"anonymous.localhost\",\"xmppStanzaSent\"],\"dict\":[{\"value\":0,\"key\":\"count\"},{\"value\":0,\"key\":\"one\"}]},{\"name\":[\"dummy_auth\",\"xmppStanzaSent\"],\"dict\":[{\"value\":0,\"key\":\"count\"},{\"value\":0,\"key\":\"one\"}]},{\"name\":[\"localhost\",\"xmppStanzaSent\"],\"dict\":[{\"value\":668,\"key\":\"count\"},{\"value\":372,\"key\":\"one\"}]},{\"name\":[\"localhost.bis\",\"xmppStanzaSent\"],\"dict\":[{\"value\":8,\"key\":\"count\"},{\"value\":8,\"key\":\"one\"}]},{\"name\":[\"test_type\",\"xmppStanzaSent\"],\"dict\":[{\"value\":0,\"key\":\"count\"},{\"value\":0,\"key\":\"one\"}]}],\"node\":\"mongooseim@localhost\"},{\"result\":[{\"name\":[\"global\",\"xmppStanzaSent\"],\"dict\":[{\"value\":0,\"key\":\"count\"},{\"value\":0,\"key\":\"one\"}]}],\"node\":\"ejabberd2@localhost\"},{\"result\":[{\"name\":[\"anonymous.localhost\",\"xmppStanzaSent\"],\"dict\":[{\"value\":0,\"key\":\"count\"},{\"value\":0,\"key\":\"one\"}]},{\"name\":[\"localhost\",\"xmppStanzaSent\"],\"dict\":[{\"value\":0,\"key\":\"count\"},{\"value\":0,\"key\":\"one\"}]},{\"name\":[\"localhost.bis\",\"xmppStanzaSent\"],\"dict\":[{\"value\":0,\"key\":\"count\"},{\"value\":0,\"key\":\"one\"}]}],\"node\":\"mongooseim3@localhost\"}]}}}">>,
         1339,1453}
Params: #{body =>
              <<"{\"variables\":{},\"query\":\"query Q1\\n           {metric\\n               {getClusterMetricsAsDicts(name: [\\\"_\\\", \\\"xmppStanzaSent\\\"]) {node result { name dict { key value }}}}}\",\"operationName\":\"Q1\"}">>,
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,path => <<"/api/graphql">>,port => 5551,
          return_headers => true,return_maps => true,
          role => {graphql,admin},
          server => #{node => mongooseim@localhost}}

*** CT 2022-06-22 08:48:41.579 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_391.html
*** CT 2022-06-22 08:48:41.579 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_973.html



=== Ended at 2022-06-22 08:48:41
=== successfully completed test case
=== === Returned value: #{<<"ejabberd2@localhost">> => ok,
                      <<"mongooseim3@localhost">> => ok,
                      <<"mongooseim@localhost">> => ok}


Test run history | Top level test index | Latest test result