=== Test case: metrics_api_SUITE:session_counters/1 (click for source code) === Config value: [{watchdog,<0.30912.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@8dadd8a9c704.2024-03-29_09.14.50/big_tests.tests.metrics_api_SUITE.logs/run.2024-03-29_09.23.48/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@8dadd8a9c704.2024-03-29_09.14.50/big_tests.tests.metrics_api_SUITE.logs/run.2024-03-29_09.23.48/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_amp => #{}, 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_presence => #{}, mod_disco => #{iqdisc => one_queue,users_can_see_hidden_services => false, server_info => [],extra_domains => []}, mod_adhoc => #{iqdisc => one_queue,report_commands_node => false}, mod_stream_management => #{buffer => true,ack => true,backend => mnesia,buffer_max => 100, ack_freq => 1, stale_h => #{enabled => false,repeat_after => 1800,geriatric => 3600}, resume_timeout => 600}, 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@8dadd8a9c704.2024-03-29_09.14.50" === Started at 2024-03-29 09:23:53
*** User 2024-03-29 09:23:53.639 ***🔗 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-03-29 09:23:53.640 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4386cdc2ca71f122' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-29 09:23:53.640 ***🔗 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-03-29 09:23:53.640 ***🔗 alicE@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-03-29 09:23:53.641 ***🔗 alicE@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-29 09:23:53.641 ***🔗 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-03-29 09:23:53.641 ***🔗 alicE@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d547b947c44a2992' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-03-29 09:23:53.641 ***🔗 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-03-29 09:23:53.641 ***🔗 alicE@localhost/res1 out <iq type='set' id='a0053ab2fc06b5cabb1b1da6e27afdf0'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-29 09:23:53.641 ***🔗 alicE@localhost/res1 in <iq id='a0053ab2fc06b5cabb1b1da6e27afdf0' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res1</jid> </bind> </iq>
*** User 2024-03-29 09:23:53.642 ***🔗 alice@localhost/res1 out <iq type='set' id='0954e30b2e9c603eccf12d1873d3f1db'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-29 09:23:53.642 ***🔗 alice@localhost/res1 in <iq from='localhost' to='alice@localhost/res1' id='0954e30b2e9c603eccf12d1873d3f1db' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-29 09:23:53.642 ***🔗 alice@localhost/res1 out <presence/>
*** User 2024-03-29 09:23:53.643 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res1' to='alice@localhost/res1'/>
*** User 2024-03-29 09:23:53.644 ***🔗 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-03-29 09:23:53.644 ***🔗 alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c6f536b7d2b399f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-29 09:23:53.644 ***🔗 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-03-29 09:23:53.644 ***🔗 alicE@localhost/res2 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>
*** User 2024-03-29 09:23:53.645 ***🔗 alicE@localhost/res2 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-29 09:23:53.645 ***🔗 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-03-29 09:23:53.645 ***🔗 alicE@localhost/res2 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edd8b43132bab4c7' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>
*** User 2024-03-29 09:23:53.645 ***🔗 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-03-29 09:23:53.645 ***🔗 alicE@localhost/res2 out <iq type='set' id='3389d8d3335d66df46ca7d4682761dee'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res2</resource> </bind> </iq>
*** User 2024-03-29 09:23:53.646 ***🔗 alicE@localhost/res2 in <iq id='3389d8d3335d66df46ca7d4682761dee' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice@localhost/res2</jid> </bind> </iq>
*** User 2024-03-29 09:23:53.646 ***🔗 alice@localhost/res2 out <iq type='set' id='d255f38a155605ba2750d63c6498094b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-29 09:23:53.646 ***🔗 alice@localhost/res2 in <iq from='localhost' to='alice@localhost/res2' id='d255f38a155605ba2750d63c6498094b' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-29 09:23:53.647 ***🔗 alice@localhost/res2 out <presence/>
*** User 2024-03-29 09:23:53.647 ***🔗 alice@localhost/res2 in <presence from='alice@localhost/res1' to='alice@localhost/res2'> <delay xmlns='urn:xmpp:delay' stamp='2024-03-29T09:23:53.642962Z' from='alice@localhost/res1'/> </presence>
*** User 2024-03-29 09:23:53.648 ***🔗 alice@localhost/res2 in <presence from='alice@localhost/res2' to='alice@localhost/res2'/>
*** User 2024-03-29 09:23:53.648 ***🔗 alice@localhost/res1 in <presence from='alice@localhost/res2' to='alice@localhost/res1'/>
*** User 2024-03-29 09:23:53.648 ***🔗 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-03-29 09:23:53.649 ***🔗 bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9df0d0c4dbdf0b54' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-29 09:23:53.649 ***🔗 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-03-29 09:23:53.649 ***🔗 bOb@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>
*** User 2024-03-29 09:23:53.649 ***🔗 bOb@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-29 09:23:53.650 ***🔗 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-03-29 09:23:53.650 ***🔗 bOb@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e27aeec76c7ab60' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>
*** User 2024-03-29 09:23:53.650 ***🔗 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-03-29 09:23:53.650 ***🔗 bOb@localhost/res1 out <iq type='set' id='7a81d5f3b04f0a40742a46d45ba7e620'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-29 09:23:53.650 ***🔗 bOb@localhost/res1 in <iq id='7a81d5f3b04f0a40742a46d45ba7e620' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob@localhost/res1</jid> </bind> </iq>
*** User 2024-03-29 09:23:53.651 ***🔗 bob@localhost/res1 out <iq type='set' id='4b6003312bb7cb04d8b36b93aef00906'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-29 09:23:53.651 ***🔗 bob@localhost/res1 in <iq from='localhost' to='bob@localhost/res1' id='4b6003312bb7cb04d8b36b93aef00906' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-29 09:23:53.651 ***🔗 bob@localhost/res1 out <presence/>
*** User 2024-03-29 09:23:53.652 ***🔗 bob@localhost/res1 in <presence from='bob@localhost/res1' to='bob@localhost/res1'/>
*** User 2024-03-29 09:23:54.656 ***🔗 REST request: Code: 200 Req: {<0.30924.0>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"4c3d6af35b72bce9">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 29 Mar 2024 09:23:54 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":3}}">>,146,496} Params: #{path => <<"/api/metrics/global/totalSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-03-29 09:23:54.663 ***🔗 REST request: Code: 200 Req: {<0.30926.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"035616ef4e2d0099">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 29 Mar 2024 09:23:54 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4394">>}], <<"{\"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\":15594587,\"send_max\":69161,\"send_cnt\":32842,\"recv_oct\":9423690,\"recv_max\":1460,\"recv_cnt\":31604,\"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\":21,\"mean\":23,\"max\":29,\"999\":29,\"99\":29,\"95\":29,\"90\":25,\"75\":25,\"50\":21},\"backends.mod_roster.get_subscription_lists\":{\"n\":61,\"min\":5,\"median\":11,\"mean\":13,\"max\":44,\"999\":44,\"99\":44,\"95\":22,\"90\":16,\"75\":14,\"50\":11},\"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\":6,\"mean\":10,\"max\":46,\"999\":46,\"99\":46,\"95\":19,\"90\":13,\"75\":9,\"50\":6},\"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\":80211},\"erlang.memory\":{\"total\":184418352,\"system\":135790608,\"processes_used\":49125488,\"ets\":16571776,\"binary\":2631872,\"atom_used\":2108671},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2174,\"port_limit\":65536,\"port_count\":39,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":34},\"data.xmpp.sent.c2s.tcp\":{\"one\":344863,\"count\":344863},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":4,\"median\":9,\"mean\":20,\"max\":39,\"999\":39,\"99\":39,\"95\":38,\"90\":38,\"75\":33,\"50\":9},\"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\":66,\"median\":109,\"mean\":109,\"max\":137,\"999\":137,\"99\":137,\"95\":137,\"90\":136,\"75\":127,\"50\":109},\"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\":275,\"min\":0,\"median\":112,\"mean\":131,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":501,\"90\":196,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":201078,\"count\":201078},\"data.xmpp.sent.xml_stanza_size\":{\"n\":293,\"min\":16,\"median\":173,\"mean\":288,\"max\":8128,\"999\":8128,\"99\":7210,\"95\":487,\"90\":336,\"75\":203,\"50\":173},\"nodeUpTime\":{\"value\":604},\"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}}}">>, 4520,5024} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-03-29 09:23:54.664 ***🔗 REST request: Code: 200 Req: {<0.30928.0>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"65f865d6a886cdf2">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 29 Mar 2024 09:23:54 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":2}}">>,146,341} Params: #{path => <<"/api/metrics/global/uniqueSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-03-29 09:23:54.669 ***🔗 REST request: Code: 200 Req: {<0.30930.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"0d18ebe162ac3ca4">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 29 Mar 2024 09:23:54 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4394">>}], <<"{\"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\":15605407,\"send_max\":69161,\"send_cnt\":32846,\"recv_oct\":9424318,\"recv_max\":1460,\"recv_cnt\":31608,\"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\":21,\"mean\":23,\"max\":29,\"999\":29,\"99\":29,\"95\":29,\"90\":25,\"75\":25,\"50\":21},\"backends.mod_roster.get_subscription_lists\":{\"n\":61,\"min\":5,\"median\":11,\"mean\":13,\"max\":44,\"999\":44,\"99\":44,\"95\":22,\"90\":16,\"75\":14,\"50\":11},\"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\":6,\"mean\":10,\"max\":46,\"999\":46,\"99\":46,\"95\":19,\"90\":13,\"75\":9,\"50\":6},\"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\":80218},\"erlang.memory\":{\"total\":184510176,\"system\":135789000,\"processes_used\":49218088,\"ets\":16571776,\"binary\":2629960,\"atom_used\":2108671},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2174,\"port_limit\":65536,\"port_count\":39,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":34},\"data.xmpp.sent.c2s.tcp\":{\"one\":344863,\"count\":344863},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":4,\"median\":9,\"mean\":20,\"max\":39,\"999\":39,\"99\":39,\"95\":38,\"90\":38,\"75\":33,\"50\":9},\"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\":66,\"median\":109,\"mean\":109,\"max\":137,\"999\":137,\"99\":137,\"95\":137,\"90\":136,\"75\":127,\"50\":109},\"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\":275,\"min\":0,\"median\":112,\"mean\":131,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":501,\"90\":196,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":201078,\"count\":201078},\"data.xmpp.sent.xml_stanza_size\":{\"n\":293,\"min\":16,\"median\":173,\"mean\":288,\"max\":8128,\"999\":8128,\"99\":7210,\"95\":487,\"90\":336,\"75\":203,\"50\":173},\"nodeUpTime\":{\"value\":604},\"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}}}">>, 4520,3512} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-03-29 09:23:54.671 ***🔗 REST request: Code: 200 Req: {<0.30932.0>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"45642f4f2147afd8">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 29 Mar 2024 09:23:54 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"22">>}], <<"{\"metric\":{\"value\":3}}">>,146,292} Params: #{path => <<"/api/metrics/global/nodeSessionCount">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-03-29 09:23:54.675 ***🔗 REST request: Code: 200 Req: {<0.30934.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"bd5b1a9b66cf7eea">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 29 Mar 2024 09:23:54 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4394">>}], <<"{\"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\":15616227,\"send_max\":69161,\"send_cnt\":32850,\"recv_oct\":9424946,\"recv_max\":1460,\"recv_cnt\":31612,\"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\":21,\"mean\":23,\"max\":29,\"999\":29,\"99\":29,\"95\":29,\"90\":25,\"75\":25,\"50\":21},\"backends.mod_roster.get_subscription_lists\":{\"n\":61,\"min\":5,\"median\":11,\"mean\":13,\"max\":44,\"999\":44,\"99\":44,\"95\":22,\"90\":16,\"75\":14,\"50\":11},\"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\":6,\"mean\":10,\"max\":46,\"999\":46,\"99\":46,\"95\":19,\"90\":13,\"75\":9,\"50\":6},\"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\":80224},\"erlang.memory\":{\"total\":184606416,\"system\":135844792,\"processes_used\":49257960,\"ets\":16571776,\"binary\":2685824,\"atom_used\":2108671},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2174,\"port_limit\":65536,\"port_count\":39,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":34},\"data.xmpp.sent.c2s.tcp\":{\"one\":344863,\"count\":344863},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":12,\"min\":4,\"median\":9,\"mean\":20,\"max\":39,\"999\":39,\"99\":39,\"95\":38,\"90\":38,\"75\":33,\"50\":9},\"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\":66,\"median\":109,\"mean\":109,\"max\":137,\"999\":137,\"99\":137,\"95\":137,\"90\":136,\"75\":127,\"50\":109},\"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\":275,\"min\":0,\"median\":112,\"mean\":131,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":501,\"90\":196,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":201078,\"count\":201078},\"data.xmpp.sent.xml_stanza_size\":{\"n\":293,\"min\":16,\"median\":173,\"mean\":288,\"max\":8128,\"999\":8128,\"99\":7210,\"95\":487,\"90\":336,\"75\":203,\"50\":173},\"nodeUpTime\":{\"value\":604},\"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}}}">>, 4520,3637} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, role => admin,body => <<>>,method => <<"GET">>,return_maps => true, return_headers => true}
*** User 2024-03-29 09:23:54.676 ***🔗 bob@localhost/res1 out </stream:stream>
*** User 2024-03-29 09:23:54.677 ***🔗 bob@localhost/res1 in </stream:stream>
*** User 2024-03-29 09:23:54.677 ***🔗 alice@localhost/res2 out </stream:stream>
*** User 2024-03-29 09:23:54.677 ***🔗 alice@localhost/res2 in </stream:stream>
*** User 2024-03-29 09:23:54.677 ***🔗 alice@localhost/res1 out </stream:stream>
*** User 2024-03-29 09:23:54.678 ***🔗 alice@localhost/res1 in </stream:stream>
=== Ended at 2024-03-29 09:23:54 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result