=== Test case: metrics_api_SUITE:cluster_size/1 (click for source code)

=== Config value:

    [{watchdog,<0.29467.0>},
     {preset,"ldap_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d468646c6aa5.2024-04-22_14.48.15/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-22_14.54.08/metrics_api_suite.cluster_size.html"},
     {tc_group_properties,[{name,global}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/metrics_api_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d468646c6aa5.2024-04-22_14.48.15/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-22_14.54.08/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => ldap,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,
              ldap =>
                  #{base => <<"ou=Users,dc=esl,dc=com">>,
                    binary_search_fields => [],deref => never,
                    filter => <<"(objectClass=inetOrgPerson)">>,
                    pool_tag => default,
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    search_operator => 'and',
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    uids => [{<<"uid">>,<<"%u">>}],
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
              matches => 30,search => true}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d468646c6aa5.2024-04-22_14.48.15"

=== Started at 2024-04-22 14:54:13


*** CT 2024-04-22 14:54:13.902 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1851.html

*** User 2024-04-22 14:54:13.905 ***🔗
REST request:
Code: 200
Req: {<0.29519.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e7378c1fd211a553">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:54:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,146,418}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:54:13.909 ***🔗
REST request:
Code: 200
Req: {<0.29521.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9070ce669ee8eb38">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:54:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"4378">>}],
         <<"{\"metrics\":{\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"data.dist\":{\"send_pend\":0,\"send_oct\":13855335,\"send_max\":65576,\"send_cnt\":33054,\"recv_oct\":7848073,\"recv_max\":70523,\"recv_cnt\":24119,\"connections\":2},\"node_cleanup\":{\"one\":2,\"count\":2},\"backends.ejabberd_auth_anonymous.does_anonymous_user_exist\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.roster_subscribe_t\":{\"n\":6,\"min\":18,\"median\":24,\"mean\":27,\"max\":51,\"999\":51,\"99\":51,\"95\":51,\"90\":32,\"75\":32,\"50\":24},\"backends.mod_roster.get_subscription_lists\":{\"n\":39,\"min\":5,\"median\":9,\"mean\":10,\"max\":30,\"999\":30,\"99\":30,\"95\":15,\"90\":13,\"75\":11,\"50\":9},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":11,\"count\":11},\"data.xmpp.received.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":65,\"count\":65},\"backends.mod_vcard.search\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster\":{\"n\":23,\"min\":4,\"median\":11,\"mean\":14,\"max\":25,\"999\":25,\"99\":25,\"95\":20,\"90\":18,\"75\":16,\"50\":11},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":10,\"count\":10},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_roster.update_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.get_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":62458},\"erlang.memory\":{\"total\":186133096,\"system\":132037408,\"processes_used\":54459424,\"ets\":16447528,\"binary\":1118352,\"atom_used\":2080318},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2211,\"port_limit\":65536,\"port_count\":47,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":41},\"data.xmpp.sent.c2s.tcp\":{\"one\":285230,\"count\":285230},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":1,\"median\":9,\"mean\":20,\"max\":48,\"999\":48,\"99\":48,\"95\":44,\"90\":44,\"75\":36,\"50\":9},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":55,\"count\":55},\"backends.mod_roster.write_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"n\":9,\"min\":55,\"median\":97,\"mean\":102,\"max\":155,\"999\":155,\"99\":155,\"95\":155,\"90\":155,\"75\":107,\"50\":97},\"data.xmpp.received.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.c2s.websocket\":{\"one\":0,\"count\":0},\"data.xmpp.received.component\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_roster.del_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.xml_stanza_size\":{\"n\":177,\"min\":11,\"median\":114,\"mean\":200,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":1460,\"75\":157,\"50\":114},\"data.xmpp.received.c2s.tcp\":{\"one\":175640,\"count\":175640},\"data.xmpp.sent.xml_stanza_size\":{\"n\":202,\"min\":16,\"median\":175,\"mean\":437,\"max\":8128,\"999\":8128,\"99\":8080,\"95\":1350,\"90\":354,\"75\":222,\"50\":175},\"nodeUpTime\":{\"value\":412},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":3,\"min\":5,\"median\":5,\"mean\":5,\"max\":5,\"999\":5,\"99\":5,\"95\":5,\"90\":5,\"75\":5,\"50\":5},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":21,\"count\":21}}}">>,
         4504,3112}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:54:14.454 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-04-22 14:54:14.455 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

*** User 2024-04-22 14:54:14.456 ***🔗
REST request:
Code: 200
Req: {<0.29523.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d39ad63905a9451b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:54:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,146,324}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:54:14.460 ***🔗
REST request:
Code: 200
Req: {<0.29525.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"829f5b9e3b395011">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:54:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"4378">>}],
         <<"{\"metrics\":{\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"data.dist\":{\"send_pend\":0,\"send_oct\":14056680,\"send_max\":65576,\"send_cnt\":33632,\"recv_oct\":7896250,\"recv_max\":70523,\"recv_cnt\":24624,\"connections\":2},\"node_cleanup\":{\"one\":2,\"count\":2},\"backends.ejabberd_auth_anonymous.does_anonymous_user_exist\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.roster_subscribe_t\":{\"n\":6,\"min\":18,\"median\":24,\"mean\":27,\"max\":51,\"999\":51,\"99\":51,\"95\":51,\"90\":32,\"75\":32,\"50\":24},\"backends.mod_roster.get_subscription_lists\":{\"n\":39,\"min\":5,\"median\":9,\"mean\":10,\"max\":30,\"999\":30,\"99\":30,\"95\":15,\"90\":13,\"75\":11,\"50\":9},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":11,\"count\":11},\"data.xmpp.received.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":65,\"count\":65},\"backends.mod_vcard.search\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster\":{\"n\":23,\"min\":4,\"median\":11,\"mean\":14,\"max\":25,\"999\":25,\"99\":25,\"95\":20,\"90\":18,\"75\":16,\"50\":11},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"clusterSize\":{\"value\":2},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":10,\"count\":10},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_roster.update_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.get_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":63010},\"erlang.memory\":{\"total\":186541200,\"system\":132051536,\"processes_used\":54922496,\"ets\":16462840,\"binary\":1112440,\"atom_used\":2080318},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2211,\"port_limit\":65536,\"port_count\":47,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":41},\"data.xmpp.sent.c2s.tcp\":{\"one\":285230,\"count\":285230},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":1,\"median\":9,\"mean\":20,\"max\":48,\"999\":48,\"99\":48,\"95\":44,\"90\":44,\"75\":36,\"50\":9},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":55,\"count\":55},\"backends.mod_roster.write_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"n\":9,\"min\":55,\"median\":97,\"mean\":102,\"max\":155,\"999\":155,\"99\":155,\"95\":155,\"90\":155,\"75\":107,\"50\":97},\"data.xmpp.received.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.c2s.websocket\":{\"one\":0,\"count\":0},\"data.xmpp.received.component\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_roster.del_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.xml_stanza_size\":{\"n\":177,\"min\":11,\"median\":114,\"mean\":200,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":1460,\"75\":157,\"50\":114},\"data.xmpp.received.c2s.tcp\":{\"one\":175640,\"count\":175640},\"data.xmpp.sent.xml_stanza_size\":{\"n\":202,\"min\":16,\"median\":175,\"mean\":437,\"max\":8128,\"999\":8128,\"99\":8080,\"95\":1350,\"90\":354,\"75\":222,\"50\":175},\"nodeUpTime\":{\"value\":413},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":3,\"min\":5,\"median\":5,\"mean\":5,\"max\":5,\"999\":5,\"99\":5,\"95\":5,\"90\":5,\"75\":5,\"50\":5},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":21,\"count\":21}}}">>,
         4504,3246}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:54:14.985 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-04-22 14:54:14.986 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

*** User 2024-04-22 14:54:14.987 ***🔗
REST request:
Code: 200
Req: {<0.29527.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8f25606edf78804e">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:54:14 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,146,374}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:54:14.992 ***🔗
REST request:
Code: 200
Req: {<0.29529.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4af0cef605dfdb44">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:54:14 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"4378">>}],
         <<"{\"metrics\":{\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"data.dist\":{\"send_pend\":0,\"send_oct\":14074232,\"send_max\":65576,\"send_cnt\":33656,\"recv_oct\":7898191,\"recv_max\":70523,\"recv_cnt\":24645,\"connections\":2},\"node_cleanup\":{\"one\":2,\"count\":2},\"backends.ejabberd_auth_anonymous.does_anonymous_user_exist\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.roster_subscribe_t\":{\"n\":6,\"min\":18,\"median\":24,\"mean\":27,\"max\":51,\"999\":51,\"99\":51,\"95\":51,\"90\":32,\"75\":32,\"50\":24},\"backends.mod_roster.get_subscription_lists\":{\"n\":39,\"min\":5,\"median\":9,\"mean\":10,\"max\":30,\"999\":30,\"99\":30,\"95\":15,\"90\":13,\"75\":11,\"50\":9},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":11,\"count\":11},\"data.xmpp.received.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":65,\"count\":65},\"backends.mod_vcard.search\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster\":{\"n\":23,\"min\":4,\"median\":11,\"mean\":14,\"max\":25,\"999\":25,\"99\":25,\"95\":20,\"90\":18,\"75\":16,\"50\":11},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":10,\"count\":10},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_roster.update_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.get_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":63541},\"erlang.memory\":{\"total\":186226184,\"system\":132058280,\"processes_used\":54670976,\"ets\":16461792,\"binary\":1122824,\"atom_used\":2080318},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2211,\"port_limit\":65536,\"port_count\":47,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":41},\"data.xmpp.sent.c2s.tcp\":{\"one\":285230,\"count\":285230},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":1,\"median\":9,\"mean\":20,\"max\":48,\"999\":48,\"99\":48,\"95\":44,\"90\":44,\"75\":36,\"50\":9},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":55,\"count\":55},\"backends.mod_roster.write_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"n\":9,\"min\":55,\"median\":97,\"mean\":102,\"max\":155,\"999\":155,\"99\":155,\"95\":155,\"90\":155,\"75\":107,\"50\":97},\"data.xmpp.received.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.c2s.websocket\":{\"one\":0,\"count\":0},\"data.xmpp.received.component\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_roster.del_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.xml_stanza_size\":{\"n\":177,\"min\":11,\"median\":114,\"mean\":200,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":1460,\"75\":157,\"50\":114},\"data.xmpp.received.c2s.tcp\":{\"one\":175640,\"count\":175640},\"data.xmpp.sent.xml_stanza_size\":{\"n\":202,\"min\":16,\"median\":175,\"mean\":437,\"max\":8128,\"999\":8128,\"99\":8080,\"95\":1350,\"90\":354,\"75\":222,\"50\":175},\"nodeUpTime\":{\"value\":414},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":3,\"min\":5,\"median\":5,\"mean\":5,\"max\":5,\"999\":5,\"99\":5,\"95\":5,\"90\":5,\"75\":5,\"50\":5},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":21,\"count\":21}}}">>,
         4504,3622}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}

*** CT 2024-04-22 14:54:14.994 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1853.html



=== Ended at 2024-04-22 14:54:15
=== successfully completed test case
=== === Returned value: ok


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