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

=== Config value:

    [{watchdog,<0.17632.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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_16.02.56/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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_16.02.56/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24"

=== Started at 2022-03-07 16:03:08


*** CT 2022-03-07 16:03:08.563 *** View log from node mongooseim@localhost when started mongooseim@localhost_964.html
*** CT 2022-03-07 16:03:08.564 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_502.html

*** User 2022-03-07 16:03:08.566 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:08.566 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e24dba738330fff6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:08.567 ***
alicE@domain.example.com/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 16:03:08.567 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-07 16:03:08.568 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:03:08.568 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:08.568 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9bea6c58b82e5ec' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:08.568 ***
alicE@domain.example.com/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 16:03:08.568 ***
alicE@domain.example.com/res1 out
<iq type='set' id='44fc89659bd0ce1bb65a2f7d1da99a4b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:03:08.569 ***
alicE@domain.example.com/res1 in
<iq id='44fc89659bd0ce1bb65a2f7d1da99a4b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:03:08.569 ***
alicE@domain.example.com/res1 out
<iq type='set' id='73879a568a8688708d99b09968acc333'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:08.569 ***
alicE@domain.example.com/res1 in
<iq type='result' id='73879a568a8688708d99b09968acc333'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:08.569 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:03:08.570 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:03:08.571 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:08.571 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='697d8fde4be4a19d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:08.571 ***
bOb@domain.example.com/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 16:03:08.571 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-07 16:03:08.572 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:03:08.572 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:08.572 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81227148c4e40017' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:08.572 ***
bOb@domain.example.com/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 16:03:08.572 ***
bOb@domain.example.com/res1 out
<iq type='set' id='b12304776980365cc31bc6c9edea51b7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:03:08.573 ***
bOb@domain.example.com/res1 in
<iq id='b12304776980365cc31bc6c9edea51b7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:03:08.573 ***
bOb@domain.example.com/res1 out
<iq type='set' id='ad932a2ecb79d808fe2a66f5446311f7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:08.573 ***
bOb@domain.example.com/res1 in
<iq type='result' id='ad932a2ecb79d808fe2a66f5446311f7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:08.573 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:03:08.574 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:03:08.714 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats_host registeredusers domain.example.com
Result "4\n"
ExitStatus 0

*** User 2022-03-07 16:03:08.853 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats_host registeredusers domain.example.org
Result "0\n"
ExitStatus 0

*** User 2022-03-07 16:03:08.993 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats_host onlineusers domain.example.com
Result "2\n"
ExitStatus 0

*** User 2022-03-07 16:03:09.139 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  stats_host onlineusers domain.example.org
Result "0\n"
ExitStatus 0

*** User 2022-03-07 16:03:09.140 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:03:09.140 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-07 16:03:09.140 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:03:09.141 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-07 16:03:09.144 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_502.html
*** CT 2022-03-07 16:03:09.146 *** View log from node mongooseim@localhost when finished mongooseim@localhost_964.html



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


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