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

=== Config value:

    [{protocol,http},
     {schema_endpoint,admin},
     {listener_opts,#{module => mongoose_graphql_handler,
                      path => "/api/graphql",host => "localhost",
                      password => <<"secret">>,username => <<"admin">>,
                      sse_idle_timeout => 3600000,schema_endpoint => admin}},
     {watchdog,<0.26318.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"internal_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_metric_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d02a26308542.2024-03-11_11.28.58/big_tests.tests.graphql_metric_SUITE.logs/run.2024-03-11_11.37.29/graphql_metric_suite.get_cluster_metrics_empty_strings.html"},
     {tc_group_properties,[{name,metrics_http}]},
     {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@d02a26308542.2024-03-11_11.28.58/big_tests.tests.graphql_metric_SUITE.logs/run.2024-03-11_11.37.29/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d02a26308542.2024-03-11_11.28.58"

=== Started at 2024-03-11 11:37:31


*** CT 2024-03-11 11:37:31.101 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1745.html

*** User 2024-03-11 11:37:31.105 ***🔗
REST request:
Code: 200
Req: {<0.26630.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"51d174e017bd459e">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"nodes\":[\"mongooseim2@localhost\"],\"name\":[\"\"],\"keys\":[\"median\"]},\"query\":\"query ($keys: [String], $name: [String], $nodes: [String]) { metric { getClusterMetricsAsDicts(keys: $keys, name: $name, nodes: $nodes) { node result { dict { key value } name } } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:37:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"95">>}],
         <<"{\"data\":{\"metric\":{\"getClusterMetricsAsDicts\":[{\"result\":[],\"node\":\"mongooseim2@localhost\"}]}}}">>,
         233,1261}
Params: #{port => 5551,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          role => {graphql,admin},
          method => <<"POST">>,
          creds => {<<"admin">>,<<"secret">>},
          body =>
              <<"{\"variables\":{\"nodes\":[\"mongooseim2@localhost\"],\"name\":[\"\"],\"keys\":[\"median\"]},\"query\":\"query ($keys: [String], $name: [String], $nodes: [String]) { metric { getClusterMetricsAsDicts(keys: $keys, name: $name, nodes: $nodes) { node result { dict { key value } name } } } }\"}">>,
          return_maps => true,return_headers => true}


*** User 2024-03-11 11:37:31.113 ***🔗
REST request:
Code: 200
Req: {<0.26632.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9ae934cceedfa2c9">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"nodes\":[\"mongooseim2@localhost\"],\"name\":[\"_\"],\"keys\":[\"\"]},\"query\":\"query ($keys: [String], $name: [String], $nodes: [String]) { metric { getClusterMetricsAsDicts(keys: $keys, name: $name, nodes: $nodes) { node result { dict { key value } name } } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:37:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"7467">>}],
         <<"{\"data\":{\"metric\":{\"getClusterMetricsAsDicts\":[{\"result\":[{\"name\":[\"global\",\"adhoc_local_commands\"],\"dict\":[]},{\"name\":[\"global\",\"anonymous_purge_hook\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"auth\",\"authorize\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"auth\",\"check_password\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"auth\",\"does_user_exist\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"auth\",\"try_register\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"ejabberd_auth_anonymous\",\"calls\",\"does_anonymous_user_exist\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"ejabberd_auth_anonymous\",\"does_anonymous_user_exist\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"del_roster_t\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_roster\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_roster_entry\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_subscription_lists\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"read_roster_version\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"roster_subscribe_t\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"update_roster_t\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"write_roster_version\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"del_roster_t\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_roster\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_roster_entry\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_subscription_lists\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"read_roster_version\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"roster_subscribe_t\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"update_roster_t\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_roster\",\"write_roster_version\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"get_vcard\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"search\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"set_vcard\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_vcard\",\"get_vcard\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_vcard\",\"search\"],\"dict\":[]},{\"name\":[\"global\",\"backends\",\"mod_vcard\",\"set_vcard\"],\"dict\":[]},{\"name\":[\"global\",\"bind2_enable_features\"],\"dict\":[]},{\"name\":[\"global\",\"bind2_stream_features\"],\"dict\":[]},{\"name\":[\"global\",\"c2s_stream_features\"],\"dict\":[]},{\"name\":[\"global\",\"cache\",\"unique_sessions_number\"],\"dict\":[]},{\"name\":[\"global\",\"clusterSize\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"dist\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"c2s\",\"message\",\"processing_time\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"c2s\",\"bosh\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"c2s\",\"tcp\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"c2s\",\"tls\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"c2s\",\"websocket\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"component\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"s2s\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"xml_stanza_size\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"c2s\",\"bosh\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"c2s\",\"tcp\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"c2s\",\"tls\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"c2s\",\"websocket\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"component\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"s2s\"],\"dict\":[]},{\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"xml_stanza_size\"],\"dict\":[]},{\"name\":[\"global\",\"disco_info\"],\"dict\":[]},{\"name\":[\"global\",\"disco_local_features\"],\"dict\":[]},{\"name\":[\"global\",\"disco_local_identity\"],\"dict\":[]},{\"name\":[\"global\",\"disco_local_items\"],\"dict\":[]},{\"name\":[\"global\",\"disco_sm_features\"],\"dict\":[]},{\"name\":[\"global\",\"disco_sm_identity\"],\"dict\":[]},{\"name\":[\"global\",\"disco_sm_items\"],\"dict\":[]},{\"name\":[\"global\",\"does_user_exist\"],\"dict\":[]},{\"name\":[\"global\",\"erlang\",\"memory\"],\"dict\":[]},{\"name\":[\"global\",\"erlang\",\"system_info\"],\"dict\":[]},{\"name\":[\"global\",\"foreign_event\"],\"dict\":[]},{\"name\":[\"global\",\"get_personal_data\"],\"dict\":[]},{\"name\":[\"global\",\"modPresenceSubscriptions\"],\"dict\":[]},{\"name\":[\"global\",\"modPresenceUnsubscriptions\"],\"dict\":[]},{\"name\":[\"global\",\"modPrivacyGets\"],\"dict\":[]},{\"name\":[\"global\",\"modPrivacyPush\"],\"dict\":[]},{\"name\":[\"global\",\"modPrivacySets\"],\"dict\":[]},{\"name\":[\"global\",\"modPrivacySetsActive\"],\"dict\":[]},{\"name\":[\"global\",\"modPrivacySetsDefault\"],\"dict\":[]},{\"name\":[\"global\",\"modPrivacyStanzaAll\"],\"dict\":[]},{\"name\":[\"global\",\"modPrivacyStanzaBlocked\"],\"dict\":[]},{\"name\":[\"global\",\"modPrivacyStanzaDenied\"],\"dict\":[]},{\"name\":[\"global\",\"modRegisterCount\"],\"dict\":[]},{\"name\":[\"global\",\"modRosterGets\"],\"dict\":[]},{\"name\":[\"global\",\"modRosterPush\"],\"dict\":[]},{\"name\":[\"global\",\"modRosterSets\"],\"dict\":[]},{\"name\":[\"global\",\"modUnregisterCount\"],\"dict\":[]},{\"name\":[\"global\",\"nodeSessionCount\"],\"dict\":[]},{\"name\":[\"global\",\"nodeUpTime\"],\"dict\":[]},{\"name\":[\"global\",\"node_cleanup\"],\"dict\":[]},{\"name\":[\"global\",\"offline_groupchat_message_hook\"],\"dict\":[]},{\"name\":[\"global\",\"offline_message_hook\"],\"dict\":[]},{\"name\":[\"global\",\"privacy_list_push\"],\"dict\":[]},{\"name\":[\"global\",\"processQueueLengths\"],\"dict\":[]},{\"name\":[\"global\",\"remove_domain\"],\"dict\":[]},{\"name\":[\"global\",\"reroute_unacked_messages\"],\"dict\":[]},{\"name\":[\"global\",\"roster_get_jid_info\"],\"dict\":[]},{\"name\":[\"global\",\"roster_get_subscription_lists\"],\"dict\":[]},{\"name\":[\"global\",\"roster_get_versioning_feature\"],\"dict\":[]},{\"name\":[\"global\",\"roster_in_subscription\"],\"dict\":[]},{\"name\":[\"global\",\"roster_out_subscription\"],\"dict\":[]},{\"name\":[\"global\",\"routingErrors\"],\"dict\":[]},{\"name\":[\"global\",\"sasl2_start\"],\"dict\":[]},{\"name\":[\"global\",\"sasl2_stream_features\"],\"dict\":[]},{\"name\":[\"global\",\"sasl2_success\"],\"dict\":[]},{\"name\":[\"global\",\"sessionAuthFails\"],\"dict\":[]},{\"name\":[\"global\",\"sessionCount\"],\"dict\":[]},{\"name\":[\"global\",\"sessionLogouts\"],\"dict\":[]},{\"name\":[\"global\",\"sessionSuccessfulLogins\"],\"dict\":[]},{\"name\":[\"global\",\"session_cleanup\"],\"dict\":[]},{\"name\":[\"global\",\"set_vcard\"],\"dict\":[]},{\"name\":[\"global\",\"tcpPortsUsed\"],\"dict\":[]},{\"name\":[\"global\",\"totalSessionCount\"],\"dict\":[]},{\"name\":[\"global\",\"uniqueSessionCount\"],\"dict\":[]},{\"name\":[\"global\",\"unset_presence_hook\"],\"dict\":[]},{\"name\":[\"global\",\"user_open_session\"],\"dict\":[]},{\"name\":[\"global\",\"user_send_xmlel\"],\"dict\":[]},{\"name\":[\"global\",\"user_socket_closed\"],\"dict\":[]},{\"name\":[\"global\",\"user_socket_error\"],\"dict\":[]},{\"name\":[\"global\",\"user_stop_request\"],\"dict\":[]},{\"name\":[\"global\",\"user_terminate\"],\"dict\":[]},{\"name\":[\"global\",\"xmppErrorIq\"],\"dict\":[]},{\"name\":[\"global\",\"xmppErrorMessage\"],\"dict\":[]},{\"name\":[\"global\",\"xmppErrorPresence\"],\"dict\":[]},{\"name\":[\"global\",\"xmppErrorTotal\"],\"dict\":[]},{\"name\":[\"global\",\"xmppIqReceived\"],\"dict\":[]},{\"name\":[\"global\",\"xmppIqSent\"],\"dict\":[]},{\"name\":[\"global\",\"xmppMessageBounced\"],\"dict\":[]},{\"name\":[\"global\",\"xmppMessageReceived\"],\"dict\":[]},{\"name\":[\"global\",\"xmppMessageSent\"],\"dict\":[]},{\"name\":[\"global\",\"xmppPresenceReceived\"],\"dict\":[]},{\"name\":[\"global\",\"xmppPresenceSent\"],\"dict\":[]},{\"name\":[\"global\",\"xmppStanzaCount\"],\"dict\":[]},{\"name\":[\"global\",\"xmppStanzaDropped\"],\"dict\":[]},{\"name\":[\"global\",\"xmppStanzaReceived\"],\"dict\":[]},{\"name\":[\"global\",\"xmppStanzaSent\"],\"dict\":[]},{\"name\":[\"global\",\"xmpp_presend_element\"],\"dict\":[]}],\"node\":\"mongooseim2@localhost\"}]}}}">>,
         7607,6125}
Params: #{port => 5551,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          role => {graphql,admin},
          method => <<"POST">>,
          creds => {<<"admin">>,<<"secret">>},
          body =>
              <<"{\"variables\":{\"nodes\":[\"mongooseim2@localhost\"],\"name\":[\"_\"],\"keys\":[\"\"]},\"query\":\"query ($keys: [String], $name: [String], $nodes: [String]) { metric { getClusterMetricsAsDicts(keys: $keys, name: $name, nodes: $nodes) { node result { dict { key value } name } } } }\"}">>,
          return_maps => true,return_headers => true}


*** User 2024-03-11 11:37:31.116 ***🔗
REST request:
Code: 200
Req: {<0.26634.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"83cd4ceed906513b">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"nodes\":[\"\"],\"name\":[\"_\"],\"keys\":[\"median\"]},\"query\":\"query ($keys: [String], $name: [String], $nodes: [String]) { metric { getClusterMetricsAsDicts(keys: $keys, name: $name, nodes: $nodes) { node result { dict { key value } name } } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:37:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"113">>}],
         <<"{\"data\":{\"metric\":{\"getClusterMetricsAsDicts\":[{\"result\":[{\"name\":[\"error\",\"nodedown\"],\"dict\":[]}],\"node\":\"\"}]}}}">>,
         252,898}
Params: #{port => 5551,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          role => {graphql,admin},
          method => <<"POST">>,
          creds => {<<"admin">>,<<"secret">>},
          body =>
              <<"{\"variables\":{\"nodes\":[\"\"],\"name\":[\"_\"],\"keys\":[\"median\"]},\"query\":\"query ($keys: [String], $name: [String], $nodes: [String]) { metric { getClusterMetricsAsDicts(keys: $keys, name: $name, nodes: $nodes) { node result { dict { key value } name } } } }\"}">>,
          return_maps => true,return_headers => true}

*** CT 2024-03-11 11:37:31.118 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1745.html



=== Ended at 2024-03-11 11:37:31
=== successfully completed test case
=== === Returned value: ok


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