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

=== Config value:

    [{watchdog,<0.4717.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.num_resources_num.html"},
     {tc_group_properties,[{name,sessions},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:19


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

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-05-25 10:47:19.101 ***
alice@localhost/res2 in
<presence from='alice@localhost/res1' to='alice@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:47:19Z' from='alice@localhost/res1'/>
</presence>



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

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



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



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

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



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



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



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



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



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



*** User 2022-05-25 10:47:19.108 ***
alice@localhost/res3 in
<presence from='alice@localhost/res2' to='alice@localhost/res3' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:47:19Z' from='alice@localhost/res2'/>
</presence>



*** User 2022-05-25 10:47:19.108 ***
alice@localhost/res3 in
<presence from='alice@localhost/res1' to='alice@localhost/res3' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:47:19Z' from='alice@localhost/res1'/>
</presence>



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-05-25 10:47:19.329 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  num_resources alicE localhost
Result "3\n"
ExitStatus 0

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

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

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

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

*** User 2022-05-25 10:47:19.527 ***
alice@localhost/res3 in
</stream:stream>

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

*** User 2022-05-25 10:47:19.527 ***
alice@localhost/res2 in
</stream:stream>

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

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



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


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