=== Test case: metrics_api_SUITE:session_counters/1 (click for source code) === Config value: [{watchdog,<0.29436.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@85680c760e4e.2024-04-25_16.15.48/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-25_16.22.56/metrics_api_suite.session_counters.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@85680c760e4e.2024-04-25_16.15.48/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-25_16.22.56/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@85680c760e4e.2024-04-25_16.15.48" === Started at 2024-04-25 16:23:00
*** User 2024-04-25 16:23:00.482 ***🔗 alicE@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 16:23:00.482 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='44f6b2486253a038' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:23:00.482 ***🔗 alicE@localhost/res1 in <stream:features> <register xmlns='http://jabber.org/features/iq-register'/> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 16:23:00.483 ***🔗 alicE@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 16:23:00.484 ***🔗 alicE@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:23:00.484 ***🔗 alicE@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 16:23:00.484 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='550c6dbeee6d5c03' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-04-25 16:23:00.484 ***🔗 alicE@localhost/res1 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 16:23:00.484 ***🔗 alicE@localhost/res1 out <iq type='set' id='f5c35593a71e60af3d38ce41c903f9ac'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-25 16:23:00.484 ***🔗 alicE@localhost/res1 in <iq id='f5c35593a71e60af3d38ce41c903f9ac' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res1</jid> </bind> </iq>
*** User 2024-04-25 16:23:00.484 ***🔗 alice@localhost/res1 out <iq type='set' id='60b8458b6e6138d8c491079d2a77f39a'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 16:23:00.485 ***🔗 alice@localhost/res1 in <iq from='localhost' to='alice@localhost/res1' id='60b8458b6e6138d8c491079d2a77f39a' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 16:23:00.485 ***🔗 alice@localhost/res1 out <presence/>
*** User 2024-04-25 16:23:00.485 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res1' to='alice@localhost/res1'/>
*** User 2024-04-25 16:23:00.486 ***🔗 alicE@localhost/res2 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 16:23:00.486 ***🔗 alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c7828068ddbc2f14' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:23:00.486 ***🔗 alicE@localhost/res2 in <stream:features> <register xmlns='http://jabber.org/features/iq-register'/> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 16:23:00.486 ***🔗 alicE@localhost/res2 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 16:23:00.487 ***🔗 alicE@localhost/res2 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:23:00.487 ***🔗 alicE@localhost/res2 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 16:23:00.488 ***🔗 alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53577028efcfd7e0' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-04-25 16:23:00.488 ***🔗 alicE@localhost/res2 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 16:23:00.488 ***🔗 alicE@localhost/res2 out <iq type='set' id='b951cd8148f8bc14500a4d3b0a40edad'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res2</resource> </bind> </iq>
*** User 2024-04-25 16:23:00.488 ***🔗 alicE@localhost/res2 in <iq id='b951cd8148f8bc14500a4d3b0a40edad' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res2</jid> </bind> </iq>
*** User 2024-04-25 16:23:00.488 ***🔗 alice@localhost/res2 out <iq type='set' id='23c40baf13a4e363a985b4f1afc7da46'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 16:23:00.488 ***🔗 alice@localhost/res2 in <iq from='localhost' to='alice@localhost/res2' id='23c40baf13a4e363a985b4f1afc7da46' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 16:23:00.488 ***🔗 alice@localhost/res2 out <presence/>
*** User 2024-04-25 16:23:00.489 ***🔗 alice@localhost/res2 in <presence from='alice@localhost/res2' to='alice@localhost/res2'/>
*** User 2024-04-25 16:23:00.489 ***🔗 alice@localhost/res2 in <presence from='alice@localhost/res1' to='alice@localhost/res2'> <delay xmlns='urn:xmpp:delay' stamp='2024-04-25T16:23:00.485564Z' from='alice@localhost/res1'/> </presence>
*** User 2024-04-25 16:23:00.489 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res2' to='alice@localhost/res1'/>
*** User 2024-04-25 16:23:00.490 ***🔗 bOb@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 16:23:00.490 ***🔗 bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb8740a6059dad0f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 16:23:00.490 ***🔗 bOb@localhost/res1 in <stream:features> <register xmlns='http://jabber.org/features/iq-register'/> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 16:23:00.490 ***🔗 bOb@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2024-04-25 16:23:00.491 ***🔗 bOb@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 16:23:00.491 ***🔗 bOb@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-25 16:23:00.491 ***🔗 bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9740ecfa800b7e09' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>
*** User 2024-04-25 16:23:00.491 ***🔗 bOb@localhost/res1 in <stream:features> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 16:23:00.491 ***🔗 bOb@localhost/res1 out <iq type='set' id='e8bd1d2c98fb542bb06659c8cac992ca'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-25 16:23:00.491 ***🔗 bOb@localhost/res1 in <iq id='e8bd1d2c98fb542bb06659c8cac992ca' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob@localhost/res1</jid> </bind> </iq>
*** User 2024-04-25 16:23:00.492 ***🔗 bob@localhost/res1 out <iq type='set' id='67d361b7883c1e9b663fa1b58a9fcc9e'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 16:23:00.492 ***🔗 bob@localhost/res1 in <iq from='localhost' to='bob@localhost/res1' id='67d361b7883c1e9b663fa1b58a9fcc9e' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 16:23:00.492 ***🔗 bob@localhost/res1 out <presence/>
*** User 2024-04-25 16:23:00.492 ***🔗 bob@localhost/res1 in <presence from='bob@localhost/res1' to='bob@localhost/res1'/>
*** User 2024-04-25 16:23:01.495 ***🔗 REST request: Code: 200 Req: {<0.29448.0>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"1187a3084b771420">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 16:23:00 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":3}}">>,146,586} Params: #{body => <<>>,method => <<"GET">>, path => <<"/api/metrics/global/totalSessionCount">>, return_headers => true,return_maps => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2024-04-25 16:23:01.501 ***🔗 REST request: Code: 200 Req: {<0.29450.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"d31d946a7e4c415f">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 16:23:00 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4379">>}], <<"{\"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\":12653088,\"send_max\":58190,\"send_cnt\":33334,\"recv_oct\":7836279,\"recv_max\":70337,\"recv_cnt\":24311,\"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\":7,\"min\":19,\"median\":31,\"mean\":29,\"max\":42,\"999\":42,\"99\":42,\"95\":42,\"90\":41,\"75\":33,\"50\":31},\"backends.mod_roster.get_subscription_lists\":{\"n\":38,\"min\":5,\"median\":9,\"mean\":9,\"max\":22,\"999\":22,\"99\":22,\"95\":13,\"90\":12,\"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\":26,\"min\":4,\"median\":12,\"mean\":17,\"max\":42,\"999\":42,\"99\":42,\"95\":26,\"90\":22,\"75\":20,\"50\":12},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":34,\"regular\":34,\"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\":55712},\"erlang.memory\":{\"total\":148493384,\"system\":95296840,\"processes_used\":53706152,\"ets\":15045776,\"binary\":911968,\"atom_used\":1266357},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2180,\"port_limit\":65536,\"port_count\":49,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":5},\"data.xmpp.sent.c2s.tcp\":{\"one\":285033,\"count\":285033},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":13,\"min\":4,\"median\":30,\"mean\":21,\"max\":55,\"999\":55,\"99\":55,\"95\":44,\"90\":44,\"75\":36,\"50\":30},\"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\":63,\"median\":104,\"mean\":101,\"max\":166,\"999\":166,\"99\":166,\"95\":166,\"90\":121,\"75\":109,\"50\":104},\"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\":174,\"min\":11,\"median\":112,\"mean\":253,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":656,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":175589,\"count\":175589},\"data.xmpp.sent.xml_stanza_size\":{\"n\":211,\"min\":16,\"median\":178,\"mean\":635,\"max\":8128,\"999\":8128,\"99\":3679,\"95\":1628,\"90\":385,\"75\":235,\"50\":178},\"nodeUpTime\":{\"value\":464},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":3,\"min\":4,\"median\":4,\"mean\":4,\"max\":4,\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":4,\"50\":4},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":21,\"count\":21}}}">>, 4505,5069} Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>, return_headers => true,return_maps => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2024-04-25 16:23:01.503 ***🔗 REST request: Code: 200 Req: {<0.29452.0>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"3e43921fa43a51e2">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 16:23:00 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":2}}">>,146,503} Params: #{body => <<>>,method => <<"GET">>, path => <<"/api/metrics/global/uniqueSessionCount">>, return_headers => true,return_maps => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2024-04-25 16:23:01.508 ***🔗 REST request: Code: 200 Req: {<0.29454.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"0e4da28f6dd0702f">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 16:23:00 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4379">>}], <<"{\"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\":12662888,\"send_max\":58190,\"send_cnt\":33342,\"recv_oct\":7836791,\"recv_max\":70337,\"recv_cnt\":24315,\"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\":7,\"min\":19,\"median\":31,\"mean\":29,\"max\":42,\"999\":42,\"99\":42,\"95\":42,\"90\":41,\"75\":33,\"50\":31},\"backends.mod_roster.get_subscription_lists\":{\"n\":38,\"min\":5,\"median\":9,\"mean\":9,\"max\":22,\"999\":22,\"99\":22,\"95\":13,\"90\":12,\"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\":26,\"min\":4,\"median\":12,\"mean\":17,\"max\":42,\"999\":42,\"99\":42,\"95\":26,\"90\":22,\"75\":20,\"50\":12},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":34,\"regular\":34,\"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\":55719},\"erlang.memory\":{\"total\":148511992,\"system\":95297440,\"processes_used\":53651800,\"ets\":15045776,\"binary\":911968,\"atom_used\":1266357},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2180,\"port_limit\":65536,\"port_count\":49,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":5},\"data.xmpp.sent.c2s.tcp\":{\"one\":285033,\"count\":285033},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":13,\"min\":4,\"median\":30,\"mean\":21,\"max\":55,\"999\":55,\"99\":55,\"95\":44,\"90\":44,\"75\":36,\"50\":30},\"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\":63,\"median\":104,\"mean\":101,\"max\":166,\"999\":166,\"99\":166,\"95\":166,\"90\":121,\"75\":109,\"50\":104},\"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\":174,\"min\":11,\"median\":112,\"mean\":253,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":656,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":175589,\"count\":175589},\"data.xmpp.sent.xml_stanza_size\":{\"n\":211,\"min\":16,\"median\":178,\"mean\":635,\"max\":8128,\"999\":8128,\"99\":3679,\"95\":1628,\"90\":385,\"75\":235,\"50\":178},\"nodeUpTime\":{\"value\":464},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":3,\"min\":4,\"median\":4,\"mean\":4,\"max\":4,\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":4,\"50\":4},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":21,\"count\":21}}}">>, 4505,3994} Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>, return_headers => true,return_maps => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2024-04-25 16:23:01.510 ***🔗 REST request: Code: 200 Req: {<0.29456.0>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"79e334b294e5a005">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 16:23:00 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":3}}">>,146,396} Params: #{body => <<>>,method => <<"GET">>, path => <<"/api/metrics/global/nodeSessionCount">>, return_headers => true,return_maps => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2024-04-25 16:23:01.515 ***🔗 REST request: Code: 200 Req: {<0.29458.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c8347b0581a6eed1">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 16:23:00 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4379">>}], <<"{\"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\":12672688,\"send_max\":58190,\"send_cnt\":33350,\"recv_oct\":7837303,\"recv_max\":70337,\"recv_cnt\":24319,\"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\":7,\"min\":19,\"median\":31,\"mean\":29,\"max\":42,\"999\":42,\"99\":42,\"95\":42,\"90\":41,\"75\":33,\"50\":31},\"backends.mod_roster.get_subscription_lists\":{\"n\":38,\"min\":5,\"median\":9,\"mean\":9,\"max\":22,\"999\":22,\"99\":22,\"95\":13,\"90\":12,\"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\":26,\"min\":4,\"median\":12,\"mean\":17,\"max\":42,\"999\":42,\"99\":42,\"95\":26,\"90\":22,\"75\":20,\"50\":12},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":34,\"regular\":34,\"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\":55726},\"erlang.memory\":{\"total\":148540776,\"system\":95297560,\"processes_used\":53623200,\"ets\":15045776,\"binary\":911968,\"atom_used\":1266357},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2180,\"port_limit\":65536,\"port_count\":49,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":5},\"data.xmpp.sent.c2s.tcp\":{\"one\":285033,\"count\":285033},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":13,\"min\":4,\"median\":30,\"mean\":21,\"max\":55,\"999\":55,\"99\":55,\"95\":44,\"90\":44,\"75\":36,\"50\":30},\"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\":63,\"median\":104,\"mean\":101,\"max\":166,\"999\":166,\"99\":166,\"95\":166,\"90\":121,\"75\":109,\"50\":104},\"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\":174,\"min\":11,\"median\":112,\"mean\":253,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":656,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":175589,\"count\":175589},\"data.xmpp.sent.xml_stanza_size\":{\"n\":211,\"min\":16,\"median\":178,\"mean\":635,\"max\":8128,\"999\":8128,\"99\":3679,\"95\":1628,\"90\":385,\"75\":235,\"50\":178},\"nodeUpTime\":{\"value\":464},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":3,\"min\":4,\"median\":4,\"mean\":4,\"max\":4,\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":4,\"50\":4},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":21,\"count\":21}}}">>, 4505,4000} Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>, return_headers => true,return_maps => true,role => admin, server => #{node => mongooseim@localhost}}
*** User 2024-04-25 16:23:01.516 ***🔗 bob@localhost/res1 out </stream:stream>
*** User 2024-04-25 16:23:01.516 ***🔗 bob@localhost/res1 in </stream:stream>
*** User 2024-04-25 16:23:01.516 ***🔗 alice@localhost/res2 out </stream:stream>
*** User 2024-04-25 16:23:01.516 ***🔗 alice@localhost/res2 in </stream:stream>
*** User 2024-04-25 16:23:01.516 ***🔗 alice@localhost/res1 out </stream:stream>
*** User 2024-04-25 16:23:01.517 ***🔗 alice@localhost/res1 in </stream:stream>
=== Ended at 2024-04-25 16:23:01 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result