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

=== Config value:

    [{watchdog,<0.27248.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-04-04_15.10.56/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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-04-04_15.10.56/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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:11:10


*** CT 2022-04-04 15:11:10.998 *** View log from node mongooseim@localhost when started mongooseim@localhost_4294.html
*** CT 2022-04-04 15:11:10.999 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1944.html

*** User 2022-04-04 15:11:11.000 ***
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-04-04 15:11:11.001 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee078bfa47f06cb3' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-04-04 15:11:11.002 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:11:11.002 ***
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-04-04 15:11:11.002 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='066410b130a64e89' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:11:11.003 ***
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-04-04 15:11:11.003 ***
alicE@localhost/res1 out
<iq type='set' id='a8f601e6954db30e0ad6afe741f39378'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:11:11.003 ***
alicE@localhost/res1 in
<iq id='a8f601e6954db30e0ad6afe741f39378' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:11:11.003 ***
alicE@localhost/res1 out
<iq type='set' id='da35b67fac586d38d7ff6e1cc4a8c1e1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:11:11.003 ***
alicE@localhost/res1 in
<iq type='result' id='da35b67fac586d38d7ff6e1cc4a8c1e1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:11:11.003 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-04-04 15:11:11.004 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:11:11.005 ***
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-04-04 15:11:11.005 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bdf20cfc29299383' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-04-04 15:11:11.006 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:11:11.006 ***
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-04-04 15:11:11.006 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9cb4526d3f00d870' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:11:11.006 ***
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-04-04 15:11:11.006 ***
bOb@localhost/res1 out
<iq type='set' id='9571ca3045201700bd5d9f5098f7f059'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:11:11.007 ***
bOb@localhost/res1 in
<iq id='9571ca3045201700bd5d9f5098f7f059' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:11:11.007 ***
bOb@localhost/res1 out
<iq type='set' id='e2e638ec861fb8d0b46e03b026f808d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:11:11.007 ***
bOb@localhost/res1 in
<iq type='result' id='e2e638ec861fb8d0b46e03b026f808d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:11:11.007 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-04-04 15:11:11.008 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:11:11.193 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats uptimeseconds
Result "538\n"
ExitStatus 0

*** User 2022-04-04 15:11:11.396 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats registeredusers
Result "4\n"
ExitStatus 0

*** User 2022-04-04 15:11:11.572 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats onlineusersnode
Result "2\n"
ExitStatus 0

*** User 2022-04-04 15:11:11.757 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats onlineusers
Result "2\n"
ExitStatus 0

*** User 2022-04-04 15:11:11.758 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:11:11.758 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:11:11.758 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:11:11.758 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:11:11.761 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1944.html
*** CT 2022-04-04 15:11:11.762 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4294.html



=== Ended at 2022-04-04 15:11:11
=== successfully completed test case
=== === Returned value: ok


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