=== Test case: mongooseimctl_SUITE:stats_global/1 (click for source code)

=== Config value:

    [{watchdog,<0.25377.1>},
     {ctl_auth_mods,[ejabberd_auth_rdbms,ejabberd_auth_anonymous,
                     ejabberd_auth_rdbms]},
     {roster_template,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data/roster.template"},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_09.37.22/mongooseimctl_suite.stats_global.html"},
     {tc_group_properties,[{name,stats},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mongooseimctl_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_09.37.22/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55"

=== Started at 2022-03-07 09:37:43


*** CT 2022-03-07 09:37:43.223 *** View log from node mongooseim@localhost when started mongooseim@localhost_4143.html
*** CT 2022-03-07 09:37:43.224 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2195.html

*** User 2022-03-07 09:37:43.226 ***
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 2022-03-07 09:37:43.226 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c9830eb5fd02b5b4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:37:43.226 ***
alicE@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 09:37:43.226 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-07 09:37:43.227 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 09:37:43.227 ***
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 2022-03-07 09:37:43.228 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d331e24d5044496' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:37:43.228 ***
alicE@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 09:37:43.228 ***
alicE@localhost/res1 out
<iq type='set' id='5dfc435320dd821d98a37e74c319ad0b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 09:37:43.228 ***
alicE@localhost/res1 in
<iq id='5dfc435320dd821d98a37e74c319ad0b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 09:37:43.228 ***
alicE@localhost/res1 out
<iq type='set' id='96336f8d7ff70dcdbd6701a177c497e0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:43.228 ***
alicE@localhost/res1 in
<iq type='result' id='96336f8d7ff70dcdbd6701a177c497e0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:43.228 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-07 09:37:43.229 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 09:37:43.230 ***
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 2022-03-07 09:37:43.230 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0be374b434270f86' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:37:43.230 ***
bOb@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 09:37:43.231 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-07 09:37:43.231 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 09:37:43.231 ***
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 2022-03-07 09:37:43.232 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fcc9f51130669325' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:37:43.232 ***
bOb@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 09:37:43.232 ***
bOb@localhost/res1 out
<iq type='set' id='26982430808c772da5a14c20e895182a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 09:37:43.232 ***
bOb@localhost/res1 in
<iq id='26982430808c772da5a14c20e895182a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 09:37:43.232 ***
bOb@localhost/res1 out
<iq type='set' id='49af6aa45180ca7666c554a7fe57ce11'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:43.232 ***
bOb@localhost/res1 in
<iq type='result' id='49af6aa45180ca7666c554a7fe57ce11'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:43.233 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-07 09:37:43.234 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 09:37:43.538 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats uptimeseconds
Result "495\n"
ExitStatus 0

*** User 2022-03-07 09:37:43.850 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats registeredusers
Result "4\n"
ExitStatus 0

*** User 2022-03-07 09:37:44.148 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats onlineusersnode
Result "2\n"
ExitStatus 0

*** User 2022-03-07 09:37:44.367 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats onlineusers
Result "2\n"
ExitStatus 0

*** User 2022-03-07 09:37:44.367 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-07 09:37:44.369 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-07 09:37:44.369 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-07 09:37:44.370 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 09:37:44.372 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2195.html
*** CT 2022-03-07 09:37:44.373 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4143.html



=== Ended at 2022-03-07 09:37:44
=== successfully completed test case
=== === Returned value: ok


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