=== Test case: metrics_api_SUITE:session_counters/1 (click for source code) === Config value: [{watchdog,<0.30964.0>}, {preset,"internal_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@1bf2a27a11c0.2024-04-25_14.32.22/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-25_14.40.38/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@1bf2a27a11c0.2024-04-25_14.32.22/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-25_14.40.38/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_vcard => #{matches => 30, host => {prefix,<<"vjud.">>}, search => true,iqdisc => parallel,backend => mnesia}, mod_roster => #{iqdisc => one_queue,backend => mnesia,versioning => false, store_current_id => false}, mod_sic => #{iqdisc => one_queue}, mod_register => #{access => register,iqdisc => one_queue, registration_watchers => [],password_strength => 0, ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]}, mod_amp => #{}, mod_disco => #{iqdisc => one_queue,server_info => [],extra_domains => [], users_can_see_hidden_services => false}, mod_presence => #{}, mod_stream_management => #{buffer => true,ack => true,backend => mnesia,buffer_max => 100, stale_h => #{enabled => false,repeat_after => 1800,geriatric => 3600}, ack_freq => 1,resume_timeout => 600}, mod_adhoc => #{iqdisc => one_queue,report_commands_node => false}, mod_cache_users => #{strategy => fifo,number_of_segments => 5,time_to_live => 2}, mod_bosh => #{backend => mnesia,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_carboncopy => #{iqdisc => no_queue}}}, {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@1bf2a27a11c0.2024-04-25_14.32.22" === Started at 2024-04-25 14:40:42
*** User 2024-04-25 14:40:42.048 ***🔗 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 14:40:42.048 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c2d0da43ba7427e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:40:42.049 ***🔗 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>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 14:40:42.049 ***🔗 alicE@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 14:40:42.049 ***🔗 alicE@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:40:42.049 ***🔗 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 14:40:42.049 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bad16287be956ef2' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-04-25 14:40:42.049 ***🔗 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 14:40:42.050 ***🔗 alicE@localhost/res1 out <iq type='set' id='152aac0cfaf600db2576a60ba0087532'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-25 14:40:42.050 ***🔗 alicE@localhost/res1 in <iq id='152aac0cfaf600db2576a60ba0087532' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res1</jid> </bind> </iq>
*** User 2024-04-25 14:40:42.050 ***🔗 alice@localhost/res1 out <iq type='set' id='33684b605dc0096590e342ade11e0da6'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 14:40:42.050 ***🔗 alice@localhost/res1 in <iq from='localhost' to='alice@localhost/res1' id='33684b605dc0096590e342ade11e0da6' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 14:40:42.050 ***🔗 alice@localhost/res1 out <presence/>
*** User 2024-04-25 14:40:42.051 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res1' to='alice@localhost/res1'/>
*** User 2024-04-25 14:40:42.051 ***🔗 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 14:40:42.052 ***🔗 alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa103b181e78de4e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:40:42.052 ***🔗 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>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 14:40:42.052 ***🔗 alicE@localhost/res2 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 14:40:42.052 ***🔗 alicE@localhost/res2 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:40:42.052 ***🔗 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 14:40:42.053 ***🔗 alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52ef50030d319df8' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-04-25 14:40:42.053 ***🔗 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 14:40:42.053 ***🔗 alicE@localhost/res2 out <iq type='set' id='b86e9346efa2d79ce6c0ea0f70e3203d'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res2</resource> </bind> </iq>
*** User 2024-04-25 14:40:42.053 ***🔗 alicE@localhost/res2 in <iq id='b86e9346efa2d79ce6c0ea0f70e3203d' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res2</jid> </bind> </iq>
*** User 2024-04-25 14:40:42.053 ***🔗 alice@localhost/res2 out <iq type='set' id='8f33cefb982ab8a1b82f23da305dfc7e'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 14:40:42.054 ***🔗 alice@localhost/res2 in <iq from='localhost' to='alice@localhost/res2' id='8f33cefb982ab8a1b82f23da305dfc7e' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 14:40:42.054 ***🔗 alice@localhost/res2 out <presence/>
*** User 2024-04-25 14:40:42.055 ***🔗 alice@localhost/res2 in <presence from='alice@localhost/res1' to='alice@localhost/res2'> <delay xmlns='urn:xmpp:delay' stamp='2024-04-25T14:40:42.050951Z' from='alice@localhost/res1'/> </presence>
*** User 2024-04-25 14:40:42.055 ***🔗 alice@localhost/res2 in <presence from='alice@localhost/res2' to='alice@localhost/res2'/>
*** User 2024-04-25 14:40:42.055 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res2' to='alice@localhost/res1'/>
*** User 2024-04-25 14:40:42.055 ***🔗 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 14:40:42.056 ***🔗 bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2019b30825a5698' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:40:42.056 ***🔗 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>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-25 14:40:42.056 ***🔗 bOb@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2024-04-25 14:40:42.057 ***🔗 bOb@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:40:42.057 ***🔗 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 14:40:42.057 ***🔗 bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6461fc8b56b83672' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>
*** User 2024-04-25 14:40:42.057 ***🔗 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 14:40:42.057 ***🔗 bOb@localhost/res1 out <iq type='set' id='7e85217b76114f5f41c1b0fb91da39cf'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-25 14:40:42.057 ***🔗 bOb@localhost/res1 in <iq id='7e85217b76114f5f41c1b0fb91da39cf' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob@localhost/res1</jid> </bind> </iq>
*** User 2024-04-25 14:40:42.057 ***🔗 bob@localhost/res1 out <iq type='set' id='3b8467606fcce8251ce53353a48cb5c4'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 14:40:42.058 ***🔗 bob@localhost/res1 in <iq from='localhost' to='bob@localhost/res1' id='3b8467606fcce8251ce53353a48cb5c4' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-25 14:40:42.058 ***🔗 bob@localhost/res1 out <presence/>
*** User 2024-04-25 14:40:42.058 ***🔗 bob@localhost/res1 in <presence from='bob@localhost/res1' to='bob@localhost/res1'/>
*** User 2024-04-25 14:40:43.062 ***🔗 REST request: Code: 200 Req: {<0.30976.0>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"b34076b9cfb1b047">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 14:40:42 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":3}}">>,146,423} Params: #{path => <<"/api/metrics/global/totalSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,method => <<"GET">>,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-25 14:40:43.068 ***🔗 REST request: Code: 200 Req: {<0.30978.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"933060fd10010900">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 14:40:42 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4392">>}], <<"{\"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\":15170028,\"send_max\":69155,\"send_cnt\":33208,\"recv_oct\":9468268,\"recv_max\":1460,\"recv_cnt\":31766,\"connections\":2},\"node_cleanup\":{\"one\":1,\"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\":27,\"max\":44,\"999\":44,\"99\":44,\"95\":44,\"90\":32,\"75\":32,\"50\":29},\"backends.mod_roster.get_subscription_lists\":{\"n\":60,\"min\":5,\"median\":10,\"mean\":11,\"max\":20,\"999\":20,\"99\":16,\"95\":15,\"90\":14,\"75\":13,\"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\":110,\"count\":110},\"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\":41,\"min\":3,\"median\":7,\"mean\":9,\"max\":26,\"999\":26,\"99\":26,\"95\":16,\"90\":13,\"75\":10,\"50\":7},\"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\":72124},\"erlang.memory\":{\"total\":146248232,\"system\":99755048,\"processes_used\":47034176,\"ets\":15234600,\"binary\":2902728,\"atom_used\":1291300},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2139,\"port_limit\":65536,\"port_count\":38,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":36},\"data.xmpp.sent.c2s.tcp\":{\"one\":344860,\"count\":344860},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":3,\"median\":7,\"mean\":19,\"max\":62,\"999\":62,\"99\":62,\"95\":47,\"90\":47,\"75\":32,\"50\":7},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":115,\"count\":115},\"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\":90,\"mean\":107,\"max\":180,\"999\":180,\"99\":180,\"95\":180,\"90\":180,\"75\":133,\"50\":90},\"data.xmpp.received.c2s.tls\":{\"one\":30907,\"count\":30907},\"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\":61420,\"count\":61420},\"data.xmpp.received.xml_stanza_size\":{\"n\":277,\"min\":0,\"median\":111,\"mean\":160,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":931,\"90\":198,\"75\":134,\"50\":111},\"data.xmpp.received.c2s.tcp\":{\"one\":201076,\"count\":201076},\"data.xmpp.sent.xml_stanza_size\":{\"n\":300,\"min\":16,\"median\":182,\"mean\":531,\"max\":8128,\"999\":8128,\"99\":8071,\"95\":1091,\"90\":391,\"75\":221,\"50\":182},\"nodeUpTime\":{\"value\":530},\"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}}}">>, 4518,4531} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,method => <<"GET">>,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-25 14:40:43.069 ***🔗 REST request: Code: 200 Req: {<0.30980.0>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"d749ca4db3b7fe0c">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 14:40:42 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":2}}">>,146,379} Params: #{path => <<"/api/metrics/global/uniqueSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,method => <<"GET">>,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-25 14:40:43.075 ***🔗 REST request: Code: 200 Req: {<0.30982.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"77526bb6adadf714">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 14:40:42 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4392">>}], <<"{\"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\":15180265,\"send_max\":69155,\"send_cnt\":33213,\"recv_oct\":9468896,\"recv_max\":1460,\"recv_cnt\":31770,\"connections\":2},\"node_cleanup\":{\"one\":1,\"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\":27,\"max\":44,\"999\":44,\"99\":44,\"95\":44,\"90\":32,\"75\":32,\"50\":29},\"backends.mod_roster.get_subscription_lists\":{\"n\":60,\"min\":5,\"median\":10,\"mean\":11,\"max\":20,\"999\":20,\"99\":16,\"95\":15,\"90\":14,\"75\":13,\"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\":110,\"count\":110},\"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\":41,\"min\":3,\"median\":7,\"mean\":9,\"max\":26,\"999\":26,\"99\":26,\"95\":16,\"90\":13,\"75\":10,\"50\":7},\"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\":72131},\"erlang.memory\":{\"total\":146234984,\"system\":99776056,\"processes_used\":46949528,\"ets\":15234600,\"binary\":2924064,\"atom_used\":1291300},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2139,\"port_limit\":65536,\"port_count\":38,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":36},\"data.xmpp.sent.c2s.tcp\":{\"one\":344860,\"count\":344860},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":3,\"median\":7,\"mean\":19,\"max\":62,\"999\":62,\"99\":62,\"95\":47,\"90\":47,\"75\":32,\"50\":7},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":115,\"count\":115},\"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\":90,\"mean\":107,\"max\":180,\"999\":180,\"99\":180,\"95\":180,\"90\":180,\"75\":133,\"50\":90},\"data.xmpp.received.c2s.tls\":{\"one\":30907,\"count\":30907},\"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\":61420,\"count\":61420},\"data.xmpp.received.xml_stanza_size\":{\"n\":277,\"min\":0,\"median\":111,\"mean\":160,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":931,\"90\":198,\"75\":134,\"50\":111},\"data.xmpp.received.c2s.tcp\":{\"one\":201076,\"count\":201076},\"data.xmpp.sent.xml_stanza_size\":{\"n\":300,\"min\":16,\"median\":182,\"mean\":531,\"max\":8128,\"999\":8128,\"99\":8071,\"95\":1091,\"90\":391,\"75\":221,\"50\":182},\"nodeUpTime\":{\"value\":530},\"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}}}">>, 4518,4255} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,method => <<"GET">>,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-25 14:40:43.076 ***🔗 REST request: Code: 200 Req: {<0.30984.0>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"1691a359a8c1c5a8">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 14:40:42 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":3}}">>,146,359} Params: #{path => <<"/api/metrics/global/nodeSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,method => <<"GET">>,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-25 14:40:43.081 ***🔗 REST request: Code: 200 Req: {<0.30986.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"50aa83aaa48931e9">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Thu, 25 Apr 2024 14:40:42 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4392">>}], <<"{\"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\":15190473,\"send_max\":69155,\"send_cnt\":33217,\"recv_oct\":9469524,\"recv_max\":1460,\"recv_cnt\":31774,\"connections\":2},\"node_cleanup\":{\"one\":1,\"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\":27,\"max\":44,\"999\":44,\"99\":44,\"95\":44,\"90\":32,\"75\":32,\"50\":29},\"backends.mod_roster.get_subscription_lists\":{\"n\":60,\"min\":5,\"median\":10,\"mean\":11,\"max\":20,\"999\":20,\"99\":16,\"95\":15,\"90\":14,\"75\":13,\"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\":110,\"count\":110},\"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\":41,\"min\":3,\"median\":7,\"mean\":9,\"max\":26,\"999\":26,\"99\":26,\"95\":16,\"90\":13,\"75\":10,\"50\":7},\"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\":72138},\"erlang.memory\":{\"total\":146433176,\"system\":99762944,\"processes_used\":47160392,\"ets\":15234600,\"binary\":2910816,\"atom_used\":1291300},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2139,\"port_limit\":65536,\"port_count\":38,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":36},\"data.xmpp.sent.c2s.tcp\":{\"one\":344860,\"count\":344860},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":3,\"median\":7,\"mean\":19,\"max\":62,\"999\":62,\"99\":62,\"95\":47,\"90\":47,\"75\":32,\"50\":7},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":115,\"count\":115},\"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\":90,\"mean\":107,\"max\":180,\"999\":180,\"99\":180,\"95\":180,\"90\":180,\"75\":133,\"50\":90},\"data.xmpp.received.c2s.tls\":{\"one\":30907,\"count\":30907},\"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\":61420,\"count\":61420},\"data.xmpp.received.xml_stanza_size\":{\"n\":277,\"min\":0,\"median\":111,\"mean\":160,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":931,\"90\":198,\"75\":134,\"50\":111},\"data.xmpp.received.c2s.tcp\":{\"one\":201076,\"count\":201076},\"data.xmpp.sent.xml_stanza_size\":{\"n\":300,\"min\":16,\"median\":182,\"mean\":531,\"max\":8128,\"999\":8128,\"99\":8071,\"95\":1091,\"90\":391,\"75\":221,\"50\":182},\"nodeUpTime\":{\"value\":530},\"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}}}">>, 4518,3912} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,method => <<"GET">>,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-25 14:40:43.082 ***🔗 bob@localhost/res1 out </stream:stream>
*** User 2024-04-25 14:40:43.082 ***🔗 bob@localhost/res1 in </stream:stream>
*** User 2024-04-25 14:40:43.082 ***🔗 alice@localhost/res2 out </stream:stream>
*** User 2024-04-25 14:40:43.082 ***🔗 alice@localhost/res2 in </stream:stream>
*** User 2024-04-25 14:40:43.082 ***🔗 alice@localhost/res1 out </stream:stream>
*** User 2024-04-25 14:40:43.083 ***🔗 alice@localhost/res1 in </stream:stream>
=== Ended at 2024-04-25 14:40:43 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result