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

=== Config value:

    [{watchdog,<0.5072.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_10.47.14/mongooseimctl_suite.stats_host.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_10.47.14/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@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:47:30


*** CT 2022-05-25 10:47:30.203 *** View log from node mongooseim@localhost when started mongooseim@localhost_4488.html
*** CT 2022-05-25 10:47:30.203 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1968.html

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

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



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



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

*** User 2022-05-25 10:47:30.207 ***
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-25 10:47:30.207 ***
alicE@localhost/res1 out
<iq type='set' id='2f35348c2405682d6788ed11844f507e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:47:30.207 ***
alicE@localhost/res1 in
<iq id='2f35348c2405682d6788ed11844f507e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:47:30.208 ***
alice@localhost/res1 out
<iq type='set' id='ad0cafdc52551e20e179dea585b2c6af'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:30.208 ***
alice@localhost/res1 in
<iq type='result' id='ad0cafdc52551e20e179dea585b2c6af'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:30.208 ***
alice@localhost/res1 out
<presence/>



*** User 2022-05-25 10:47:30.210 ***
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



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

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



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



*** User 2022-05-25 10:47:30.213 ***
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-25 10:47:30.214 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c78f14b18fd6b281' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:47:30.214 ***
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-25 10:47:30.214 ***
bOb@localhost/res1 out
<iq type='set' id='41a1e92fde59d8025444afd8d45c86fd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:47:30.214 ***
bOb@localhost/res1 in
<iq id='41a1e92fde59d8025444afd8d45c86fd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:47:30.214 ***
bob@localhost/res1 out
<iq type='set' id='8809633855da6347af17f74695e79609'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:30.214 ***
bob@localhost/res1 in
<iq type='result' id='8809633855da6347af17f74695e79609'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:47:30.215 ***
bob@localhost/res1 out
<presence/>



*** User 2022-05-25 10:47:30.217 ***
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:47:30.395 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats_host registeredusers localhost
Result "4\n"
ExitStatus 0

*** User 2022-05-25 10:47:30.587 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats_host registeredusers localhost.bis
Result "0\n"
ExitStatus 0

*** User 2022-05-25 10:47:30.759 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats_host onlineusers localhost
Result "2\n"
ExitStatus 0

*** User 2022-05-25 10:47:30.930 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats_host onlineusers localhost.bis
Result "0\n"
ExitStatus 0

*** User 2022-05-25 10:47:30.931 ***
bob@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:47:30.931 ***
bob@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:47:30.931 ***
alice@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:47:30.931 ***
alice@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:47:30.933 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1968.html
*** CT 2022-05-25 10:47:30.933 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4488.html



=== Ended at 2022-05-25 10:47:30
=== successfully completed test case
=== === Returned value: ok


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