=== Test case: metrics_api_SUITE:session_counters/1 (click for source code) === Config value: [{watchdog,<0.31020.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@180211344f6e.2024-04-22_17.28.53/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-22_17.38.43/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@180211344f6e.2024-04-22_17.28.53/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-22_17.38.43/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_vcard => #{matches => 30, host => {prefix,<<"vjud.">>}, search => true,backend => mnesia,iqdisc => parallel}, mod_roster => #{backend => mnesia,iqdisc => one_queue,versioning => false, store_current_id => false}, 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_sic => #{iqdisc => one_queue}, mod_amp => #{},mod_presence => #{}, mod_disco => #{server_info => [],iqdisc => one_queue,extra_domains => [], users_can_see_hidden_services => false}, mod_stream_management => #{buffer => true,ack => true,backend => mnesia, stale_h => #{enabled => false,repeat_after => 1800,geriatric => 3600}, buffer_max => 100,ack_freq => 1,resume_timeout => 600}, mod_adhoc => #{iqdisc => one_queue,report_commands_node => false}, mod_bosh => #{backend => mnesia,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_cache_users => #{strategy => fifo,number_of_segments => 5,time_to_live => 2}, 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@180211344f6e.2024-04-22_17.28.53" === Started at 2024-04-22 17:38:48
*** User 2024-04-22 17:38:48.977 ***🔗 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-22 17:38:48.978 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a875b83aa6cd3ca5' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:38:48.978 ***🔗 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-22 17:38:48.978 ***🔗 alicE@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-04-22 17:38:48.979 ***🔗 alicE@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:38:48.979 ***🔗 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-22 17:38:48.979 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f054aad1cd9787c' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-04-22 17:38:48.979 ***🔗 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-22 17:38:48.979 ***🔗 alicE@localhost/res1 out <iq type='set' id='fecc24ad5c3469bc2712686a05c722d3'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-22 17:38:48.980 ***🔗 alicE@localhost/res1 in <iq id='fecc24ad5c3469bc2712686a05c722d3' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res1</jid> </bind> </iq>
*** User 2024-04-22 17:38:48.980 ***🔗 alice@localhost/res1 out <iq type='set' id='4ba5a087278ddce0265de684e88c84bf'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 17:38:48.981 ***🔗 alice@localhost/res1 in <iq from='localhost' to='alice@localhost/res1' id='4ba5a087278ddce0265de684e88c84bf' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 17:38:48.981 ***🔗 alice@localhost/res1 out <presence/>
*** User 2024-04-22 17:38:48.981 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res1' to='alice@localhost/res1'/>
*** User 2024-04-22 17:38:48.982 ***🔗 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-22 17:38:48.982 ***🔗 alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='976a10ed719085d5' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:38:48.983 ***🔗 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-22 17:38:48.983 ***🔗 alicE@localhost/res2 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-04-22 17:38:48.983 ***🔗 alicE@localhost/res2 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:38:48.984 ***🔗 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-22 17:38:48.984 ***🔗 alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1441d56f61a93667' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-04-22 17:38:48.984 ***🔗 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-22 17:38:48.984 ***🔗 alicE@localhost/res2 out <iq type='set' id='ad0cd230130c39a9b363e79101d6ddd1'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res2</resource> </bind> </iq>
*** User 2024-04-22 17:38:48.984 ***🔗 alicE@localhost/res2 in <iq id='ad0cd230130c39a9b363e79101d6ddd1' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res2</jid> </bind> </iq>
*** User 2024-04-22 17:38:48.984 ***🔗 alice@localhost/res2 out <iq type='set' id='2901e17f609ec18167431c8c315e3d1b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 17:38:48.985 ***🔗 alice@localhost/res2 in <iq from='localhost' to='alice@localhost/res2' id='2901e17f609ec18167431c8c315e3d1b' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 17:38:48.985 ***🔗 alice@localhost/res2 out <presence/>
*** User 2024-04-22 17:38:48.986 ***🔗 alice@localhost/res2 in <presence from='alice@localhost/res1' to='alice@localhost/res2'> <delay xmlns='urn:xmpp:delay' stamp='2024-04-22T17:38:48.981439Z' from='alice@localhost/res1'/> </presence>
*** User 2024-04-22 17:38:48.986 ***🔗 alice@localhost/res2 in <presence from='alice@localhost/res2' to='alice@localhost/res2'/>
*** User 2024-04-22 17:38:48.986 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res2' to='alice@localhost/res1'/>
*** User 2024-04-22 17:38:48.987 ***🔗 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-22 17:38:48.987 ***🔗 bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='faf45f77cc2a9002' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 17:38:48.987 ***🔗 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-22 17:38:48.987 ***🔗 bOb@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2024-04-22 17:38:48.988 ***🔗 bOb@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 17:38:48.988 ***🔗 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-22 17:38:48.988 ***🔗 bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='917f3d0536cbeb5b' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>
*** User 2024-04-22 17:38:48.988 ***🔗 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-22 17:38:48.988 ***🔗 bOb@localhost/res1 out <iq type='set' id='e1b7022351be98b2d64b185e56668658'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-22 17:38:48.989 ***🔗 bOb@localhost/res1 in <iq id='e1b7022351be98b2d64b185e56668658' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob@localhost/res1</jid> </bind> </iq>
*** User 2024-04-22 17:38:48.989 ***🔗 bob@localhost/res1 out <iq type='set' id='a1d51b79c5cd59df365c367a0ba776cb'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 17:38:48.990 ***🔗 bob@localhost/res1 in <iq from='localhost' to='bob@localhost/res1' id='a1d51b79c5cd59df365c367a0ba776cb' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 17:38:48.990 ***🔗 bob@localhost/res1 out <presence/>
*** User 2024-04-22 17:38:48.990 ***🔗 bob@localhost/res1 in <presence from='bob@localhost/res1' to='bob@localhost/res1'/>
*** User 2024-04-22 17:38:49.993 ***🔗 REST request: Code: 200 Req: {<0.31032.0>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"8db0f5d0978dceac">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 22 Apr 2024 17:38:49 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":3}}">>,146,561} Params: #{path => <<"/api/metrics/global/totalSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-04-22 17:38:50.000 ***🔗 REST request: Code: 200 Req: {<0.31034.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"0d0020da1b939958">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 22 Apr 2024 17:38:49 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4397">>}], <<"{\"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\":15924785,\"send_max\":69315,\"send_cnt\":32576,\"recv_oct\":9464698,\"recv_max\":1460,\"recv_cnt\":31225,\"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\":21,\"median\":22,\"mean\":30,\"max\":40,\"999\":40,\"99\":40,\"95\":40,\"90\":32,\"75\":32,\"50\":22},\"backends.mod_roster.get_subscription_lists\":{\"n\":68,\"min\":4,\"median\":15,\"mean\":15,\"max\":31,\"999\":31,\"99\":31,\"95\":21,\"90\":19,\"75\":17,\"50\":15},\"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\":9,\"mean\":11,\"max\":21,\"999\":21,\"99\":21,\"95\":15,\"90\":14,\"75\":11,\"50\":9},\"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\":79949},\"erlang.memory\":{\"total\":183652272,\"system\":136018792,\"processes_used\":48183680,\"ets\":16604312,\"binary\":2602624,\"atom_used\":2121671},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2173,\"port_limit\":65536,\"port_count\":39,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":34},\"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\":5,\"median\":14,\"mean\":20,\"max\":59,\"999\":59,\"99\":59,\"95\":39,\"90\":39,\"75\":31,\"50\":14},\"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\":77,\"median\":125,\"mean\":126,\"max\":173,\"999\":173,\"99\":173,\"95\":173,\"90\":139,\"75\":138,\"50\":125},\"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\":290,\"min\":0,\"median\":112,\"mean\":136,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":507,\"90\":201,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":201075,\"count\":201075},\"data.xmpp.sent.xml_stanza_size\":{\"n\":326,\"min\":16,\"median\":180,\"mean\":282,\"max\":8128,\"999\":8128,\"99\":2466,\"95\":393,\"90\":266,\"75\":213,\"50\":180},\"nodeUpTime\":{\"value\":667},\"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}}}">>, 4523,5389} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-04-22 17:38:50.003 ***🔗 REST request: Code: 200 Req: {<0.31036.0>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"34a9c8ff13153ad8">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 22 Apr 2024 17:38:49 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":2}}">>,146,526} Params: #{path => <<"/api/metrics/global/uniqueSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-04-22 17:38:50.009 ***🔗 REST request: Code: 200 Req: {<0.31038.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"4995c1e39c0fba61">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 22 Apr 2024 17:38:49 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4397">>}], <<"{\"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\":15936057,\"send_max\":69315,\"send_cnt\":32580,\"recv_oct\":9465326,\"recv_max\":1460,\"recv_cnt\":31229,\"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\":21,\"median\":22,\"mean\":30,\"max\":40,\"999\":40,\"99\":40,\"95\":40,\"90\":32,\"75\":32,\"50\":22},\"backends.mod_roster.get_subscription_lists\":{\"n\":68,\"min\":4,\"median\":15,\"mean\":15,\"max\":31,\"999\":31,\"99\":31,\"95\":21,\"90\":19,\"75\":17,\"50\":15},\"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\":9,\"mean\":11,\"max\":21,\"999\":21,\"99\":21,\"95\":15,\"90\":14,\"75\":11,\"50\":9},\"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\":79958},\"erlang.memory\":{\"total\":183836456,\"system\":136019896,\"processes_used\":48311912,\"ets\":16604312,\"binary\":2603528,\"atom_used\":2121671},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2173,\"port_limit\":65536,\"port_count\":39,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":34},\"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\":5,\"median\":14,\"mean\":20,\"max\":59,\"999\":59,\"99\":59,\"95\":39,\"90\":39,\"75\":31,\"50\":14},\"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\":77,\"median\":125,\"mean\":126,\"max\":173,\"999\":173,\"99\":173,\"95\":173,\"90\":139,\"75\":138,\"50\":125},\"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\":290,\"min\":0,\"median\":112,\"mean\":136,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":507,\"90\":201,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":201075,\"count\":201075},\"data.xmpp.sent.xml_stanza_size\":{\"n\":326,\"min\":16,\"median\":180,\"mean\":282,\"max\":8128,\"999\":8128,\"99\":2466,\"95\":393,\"90\":266,\"75\":213,\"50\":180},\"nodeUpTime\":{\"value\":667},\"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}}}">>, 4523,5093} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-04-22 17:38:50.012 ***🔗 REST request: Code: 200 Req: {<0.31040.0>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"6ff087c6ef9e8412">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 22 Apr 2024 17:38:49 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":3}}">>,146,490} Params: #{path => <<"/api/metrics/global/nodeSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-04-22 17:38:50.019 ***🔗 REST request: Code: 200 Req: {<0.31042.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c18284aed00cbb80">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 22 Apr 2024 17:38:49 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4397">>}], <<"{\"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\":15947329,\"send_max\":69315,\"send_cnt\":32584,\"recv_oct\":9465954,\"recv_max\":1460,\"recv_cnt\":31233,\"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\":21,\"median\":22,\"mean\":30,\"max\":40,\"999\":40,\"99\":40,\"95\":40,\"90\":32,\"75\":32,\"50\":22},\"backends.mod_roster.get_subscription_lists\":{\"n\":68,\"min\":4,\"median\":15,\"mean\":15,\"max\":31,\"999\":31,\"99\":31,\"95\":21,\"90\":19,\"75\":17,\"50\":15},\"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\":9,\"mean\":11,\"max\":21,\"999\":21,\"99\":21,\"95\":15,\"90\":14,\"75\":11,\"50\":9},\"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\":79968},\"erlang.memory\":{\"total\":184003704,\"system\":136076880,\"processes_used\":48421456,\"ets\":16604312,\"binary\":2660640,\"atom_used\":2121671},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2173,\"port_limit\":65536,\"port_count\":39,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":34},\"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\":5,\"median\":14,\"mean\":20,\"max\":59,\"999\":59,\"99\":59,\"95\":39,\"90\":39,\"75\":31,\"50\":14},\"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\":77,\"median\":125,\"mean\":126,\"max\":173,\"999\":173,\"99\":173,\"95\":173,\"90\":139,\"75\":138,\"50\":125},\"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\":290,\"min\":0,\"median\":112,\"mean\":136,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":507,\"90\":201,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":201075,\"count\":201075},\"data.xmpp.sent.xml_stanza_size\":{\"n\":326,\"min\":16,\"median\":180,\"mean\":282,\"max\":8128,\"999\":8128,\"99\":2466,\"95\":393,\"90\":266,\"75\":213,\"50\":180},\"nodeUpTime\":{\"value\":667},\"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}}}">>, 4523,5813} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-04-22 17:38:50.019 ***🔗 bob@localhost/res1 out </stream:stream>
*** User 2024-04-22 17:38:50.020 ***🔗 bob@localhost/res1 in </stream:stream>
*** User 2024-04-22 17:38:50.020 ***🔗 alice@localhost/res2 out </stream:stream>
*** User 2024-04-22 17:38:50.020 ***🔗 alice@localhost/res2 in </stream:stream>
*** User 2024-04-22 17:38:50.020 ***🔗 alice@localhost/res1 out </stream:stream>
*** User 2024-04-22 17:38:50.021 ***🔗 alice@localhost/res1 in </stream:stream>
=== Ended at 2024-04-22 17:38:50 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result