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

=== Config value:

    [{watchdog,<0.29202.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@2f4c04baa058.2024-03-11_11.24.19/big_tests.tests.metrics_api_SUITE.logs/run.2024-03-11_11.30.22/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@2f4c04baa058.2024-03-11_11.24.19/big_tests.tests.metrics_api_SUITE.logs/run.2024-03-11_11.30.22/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@2f4c04baa058.2024-03-11_11.24.19"

=== Started at 2024-03-11 11:30:28


*** CT 2024-03-11 11:30:28.266 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1785.html

*** User 2024-03-11 11:30:28.269 ***🔗
REST request:
Code: 200
Req: {<0.29254.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"49d56fab8490f173">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,146,341}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-03-11 11:30:28.273 ***🔗
REST request:
Code: 200
Req: {<0.29256.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fda5103c7753f616">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"4381">>}],
         <<"{\"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\":12707896,\"send_max\":65576,\"send_cnt\":33370,\"recv_oct\":7879583,\"recv_max\":70443,\"recv_cnt\":24260,\"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\":19,\"median\":29,\"mean\":31,\"max\":40,\"999\":40,\"99\":40,\"95\":40,\"90\":40,\"75\":40,\"50\":29},\"backends.mod_roster.get_subscription_lists\":{\"n\":41,\"min\":6,\"median\":10,\"mean\":10,\"max\":21,\"999\":21,\"99\":21,\"95\":16,\"90\":13,\"75\":12,\"50\":10},\"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\":25,\"min\":5,\"median\":13,\"mean\":14,\"max\":42,\"999\":42,\"99\":42,\"95\":42,\"90\":20,\"75\":16,\"50\":13},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":32,\"regular\":32,\"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\":57760},\"erlang.memory\":{\"total\":146181552,\"system\":95227864,\"processes_used\":51463384,\"ets\":15021552,\"binary\":913544,\"atom_used\":1265676},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2177,\"port_limit\":65536,\"port_count\":46,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":5},\"data.xmpp.sent.c2s.tcp\":{\"one\":285226,\"count\":285226},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":2,\"median\":9,\"mean\":22,\"max\":47,\"999\":47,\"99\":47,\"95\":47,\"90\":47,\"75\":38,\"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\":67,\"median\":108,\"mean\":101,\"max\":126,\"999\":126,\"99\":126,\"95\":126,\"90\":124,\"75\":120,\"50\":108},\"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\":181,\"min\":11,\"median\":128,\"mean\":225,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":1304,\"75\":157,\"50\":128},\"data.xmpp.received.c2s.tcp\":{\"one\":175639,\"count\":175639},\"data.xmpp.sent.xml_stanza_size\":{\"n\":220,\"min\":16,\"median\":186,\"mean\":654,\"max\":8128,\"999\":8128,\"99\":8089,\"95\":2653,\"90\":391,\"75\":230,\"50\":186},\"nodeUpTime\":{\"value\":405},\"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}}}">>,
         4507,3899}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-03-11 11:30:28.897 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-03-11 11:30:28.897 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

*** User 2024-03-11 11:30:28.899 ***🔗
REST request:
Code: 200
Req: {<0.29258.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e59ddf3ba2056ade">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,146,391}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-03-11 11:30:28.903 ***🔗
REST request:
Code: 200
Req: {<0.29260.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6e0f1aa570c16674">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"4381">>}],
         <<"{\"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\":12907513,\"send_max\":65576,\"send_cnt\":33948,\"recv_oct\":7928138,\"recv_max\":70443,\"recv_cnt\":24765,\"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\":19,\"median\":29,\"mean\":31,\"max\":40,\"999\":40,\"99\":40,\"95\":40,\"90\":40,\"75\":40,\"50\":29},\"backends.mod_roster.get_subscription_lists\":{\"n\":41,\"min\":6,\"median\":10,\"mean\":10,\"max\":21,\"999\":21,\"99\":21,\"95\":16,\"90\":13,\"75\":12,\"50\":10},\"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\":25,\"min\":5,\"median\":13,\"mean\":14,\"max\":42,\"999\":42,\"99\":42,\"95\":42,\"90\":20,\"75\":16,\"50\":13},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":32,\"regular\":32,\"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\":58390},\"erlang.memory\":{\"total\":146164888,\"system\":95243400,\"processes_used\":51425712,\"ets\":15033352,\"binary\":913104,\"atom_used\":1265676},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2177,\"port_limit\":65536,\"port_count\":46,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":5},\"data.xmpp.sent.c2s.tcp\":{\"one\":285226,\"count\":285226},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":2,\"median\":9,\"mean\":22,\"max\":47,\"999\":47,\"99\":47,\"95\":47,\"90\":47,\"75\":38,\"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\":67,\"median\":108,\"mean\":101,\"max\":126,\"999\":126,\"99\":126,\"95\":126,\"90\":124,\"75\":120,\"50\":108},\"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\":181,\"min\":11,\"median\":128,\"mean\":225,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":1304,\"75\":157,\"50\":128},\"data.xmpp.received.c2s.tcp\":{\"one\":175639,\"count\":175639},\"data.xmpp.sent.xml_stanza_size\":{\"n\":220,\"min\":16,\"median\":186,\"mean\":654,\"max\":8128,\"999\":8128,\"99\":8089,\"95\":2653,\"90\":391,\"75\":230,\"50\":186},\"nodeUpTime\":{\"value\":406},\"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}}}">>,
         4507,4100}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-03-11 11:30:29.450 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-03-11 11:30:29.450 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

*** User 2024-03-11 11:30:29.452 ***🔗
REST request:
Code: 200
Req: {<0.29262.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6e8687c66485b69b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,146,441}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-03-11 11:30:29.456 ***🔗
REST request:
Code: 200
Req: {<0.29264.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1e33d2147ef9f65a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"4381">>}],
         <<"{\"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\":12923457,\"send_max\":65576,\"send_cnt\":33974,\"recv_oct\":7930079,\"recv_max\":70443,\"recv_cnt\":24786,\"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\":19,\"median\":29,\"mean\":31,\"max\":40,\"999\":40,\"99\":40,\"95\":40,\"90\":40,\"75\":40,\"50\":29},\"backends.mod_roster.get_subscription_lists\":{\"n\":41,\"min\":6,\"median\":10,\"mean\":10,\"max\":21,\"999\":21,\"99\":21,\"95\":16,\"90\":13,\"75\":12,\"50\":10},\"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\":25,\"min\":5,\"median\":13,\"mean\":14,\"max\":42,\"999\":42,\"99\":42,\"95\":42,\"90\":20,\"75\":16,\"50\":13},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":32,\"regular\":32,\"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\":58942},\"erlang.memory\":{\"total\":146332784,\"system\":95253848,\"processes_used\":51586400,\"ets\":15033144,\"binary\":924176,\"atom_used\":1265676},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2177,\"port_limit\":65536,\"port_count\":46,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":5},\"data.xmpp.sent.c2s.tcp\":{\"one\":285226,\"count\":285226},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":2,\"median\":9,\"mean\":22,\"max\":47,\"999\":47,\"99\":47,\"95\":47,\"90\":47,\"75\":38,\"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\":67,\"median\":108,\"mean\":101,\"max\":126,\"999\":126,\"99\":126,\"95\":126,\"90\":124,\"75\":120,\"50\":108},\"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\":181,\"min\":11,\"median\":128,\"mean\":225,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":1304,\"75\":157,\"50\":128},\"data.xmpp.received.c2s.tcp\":{\"one\":175639,\"count\":175639},\"data.xmpp.sent.xml_stanza_size\":{\"n\":220,\"min\":16,\"median\":186,\"mean\":654,\"max\":8128,\"999\":8128,\"99\":8089,\"95\":2653,\"90\":391,\"75\":230,\"50\":186},\"nodeUpTime\":{\"value\":406},\"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}}}">>,
         4507,3645}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}

*** CT 2024-03-11 11:30:29.458 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1787.html



=== Ended at 2024-03-11 11:30:29
=== successfully completed test case
=== === Returned value: ok


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