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

=== Config value:

    [{watchdog,<0.4262.1>},
     {ctl_auth_mods,[ejabberd_auth_riak,ejabberd_auth_anonymous,
                     ejabberd_auth_riak]},
     {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,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8dd706b7fd53.2022-05-18_09.59.49/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-18_10.08.57/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@8dd706b7fd53.2022-05-18_09.59.49/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-18_10.08.57/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@8dd706b7fd53.2022-05-18_09.59.49"

=== Started at 2022-05-18 10:09:11


*** CT 2022-05-18 10:09:11.490 *** View log from node mongooseim@localhost when started mongooseim@localhost_4488.html
*** CT 2022-05-18 10:09:11.490 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1960.html

*** User 2022-05-18 10:09:11.491 ***
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-05-18 10:09:11.492 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8610f05d7b92fe44' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:09:11.492 ***
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-05-18 10:09:11.492 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-18 10:09:11.494 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:09:11.494 ***
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-05-18 10:09:11.494 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18b33b796b29ae0a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:09:11.494 ***
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-05-18 10:09:11.494 ***
alicE@localhost/res1 out
<iq type='set' id='eec2c7cd5ada6299079da3549531bccd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:09:11.495 ***
alicE@localhost/res1 in
<iq id='eec2c7cd5ada6299079da3549531bccd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:09:11.495 ***
alice@localhost/res1 out
<iq type='set' id='eb98040115eabe401857db58371c5873'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:09:11.495 ***
alice@localhost/res1 in
<iq type='result' id='eb98040115eabe401857db58371c5873'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:09:11.495 ***
alice@localhost/res1 out
<presence/>



*** User 2022-05-18 10:09:11.497 ***
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:09:11.498 ***
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-05-18 10:09:11.498 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6541f6a76f22b708' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:09:11.498 ***
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-05-18 10:09:11.498 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:09:11.500 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:09:11.500 ***
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-05-18 10:09:11.500 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='68e3086801a3253b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:09:11.500 ***
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-05-18 10:09:11.500 ***
bOb@localhost/res1 out
<iq type='set' id='7a6b358802c4f9e1a6f1b6b6bdd0a13f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:09:11.500 ***
bOb@localhost/res1 in
<iq id='7a6b358802c4f9e1a6f1b6b6bdd0a13f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:09:11.500 ***
bob@localhost/res1 out
<iq type='set' id='5c23e34fbc7ffd913d64cec4e6bfecfe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:09:11.500 ***
bob@localhost/res1 in
<iq type='result' id='5c23e34fbc7ffd913d64cec4e6bfecfe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:09:11.501 ***
bob@localhost/res1 out
<presence/>



*** User 2022-05-18 10:09:11.503 ***
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:09:11.692 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats uptimeseconds
Result "594\n"
ExitStatus 0

*** User 2022-05-18 10:09:11.892 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats registeredusers
Result "4\n"
ExitStatus 0

*** User 2022-05-18 10:09:12.065 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats onlineusersnode
Result "2\n"
ExitStatus 0

*** User 2022-05-18 10:09:12.259 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats onlineusers
Result "2\n"
ExitStatus 0

*** User 2022-05-18 10:09:12.259 ***
bob@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:09:12.260 ***
bob@localhost/res1 in
</stream:stream>

*** User 2022-05-18 10:09:12.260 ***
alice@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:09:12.260 ***
alice@localhost/res1 in
</stream:stream>
*** CT 2022-05-18 10:09:12.263 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1960.html
*** CT 2022-05-18 10:09:12.263 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4488.html



=== Ended at 2022-05-18 10:09:12
=== successfully completed test case
=== === Returned value: ok


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