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

=== Config value:

    [{watchdog,<0.29970.0>},
     {ctl_auth_mods,[ejabberd_auth_internal,ejabberd_auth_anonymous,
                     ejabberd_auth_internal]},
     {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,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.30.58/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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.30.58/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@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:32:09


*** CT 2022-01-27 15:32:09.588 *** View log from node mongooseim@localhost when started mongooseim@localhost_4346.html
*** CT 2022-01-27 15:32:09.588 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2320.html

*** User 2022-01-27 15:32:09.590 ***
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-01-27 15:32:09.590 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7af83a482590b45e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:09.590 ***
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-01-27 15:32:09.590 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:32:09.591 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:09.591 ***
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-01-27 15:32:09.591 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7bab6faacc877bb5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:09.591 ***
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-01-27 15:32:09.591 ***
alicE@localhost/res1 out
<iq type='set' id='f1252ab347da1a3f326e0a117809adcd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:09.591 ***
alicE@localhost/res1 in
<iq id='f1252ab347da1a3f326e0a117809adcd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:09.591 ***
alicE@localhost/res1 out
<iq type='set' id='68f5b2a755de14ed096c27432ef4f752'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:09.591 ***
alicE@localhost/res1 in
<iq type='result' id='68f5b2a755de14ed096c27432ef4f752'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:09.591 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:09.592 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:09.592 ***
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-01-27 15:32:09.593 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b22bccbdf6af9a50' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:09.593 ***
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-01-27 15:32:09.593 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:32:09.593 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:09.593 ***
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-01-27 15:32:09.594 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa5ff45792408ccb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:09.594 ***
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-01-27 15:32:09.594 ***
bOb@localhost/res1 out
<iq type='set' id='cfdd79939a17abd01700493f41942f66'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:09.594 ***
bOb@localhost/res1 in
<iq id='cfdd79939a17abd01700493f41942f66' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:09.594 ***
bOb@localhost/res1 out
<iq type='set' id='5920142de99d28d043e90e8663c18d6c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:09.594 ***
bOb@localhost/res1 in
<iq type='result' id='5920142de99d28d043e90e8663c18d6c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:09.594 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:09.595 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:09.945 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats uptimeseconds
Result "452\n"
ExitStatus 0

*** User 2022-01-27 15:32:10.283 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats registeredusers
Result "4\n"
ExitStatus 0

*** User 2022-01-27 15:32:10.649 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats onlineusersnode
Result "2\n"
ExitStatus 0

*** User 2022-01-27 15:32:11.002 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats onlineusers
Result "2\n"
ExitStatus 0

*** User 2022-01-27 15:32:11.002 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:11.003 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:32:11.003 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:11.003 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:11.005 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2320.html
*** CT 2022-01-27 15:32:11.005 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4346.html



=== Ended at 2022-01-27 15:32:11
=== successfully completed test case
=== === Returned value: ok


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