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

=== Config value:

    [{watchdog,<0.18511.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.44/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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.44/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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:55:50


*** CT 2022-03-18 10:55:50.818 *** View log from node mongooseim@localhost when started mongooseim@localhost_998.html
*** CT 2022-03-18 10:55:50.818 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_499.html

*** User 2022-03-18 10:55:50.822 ***
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-18 10:55:50.822 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='42101baedcb191d4' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-18 10:55:50.824 ***
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-18 10:55:50.824 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3aba9e1cd2332a7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:50.824 ***
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-18 10:55:50.825 ***
alicE@domain.example.com/res1 out
<iq type='set' id='b52105d12deef85df170cf9eabe8ac45'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:50.825 ***
alicE@domain.example.com/res1 in
<iq id='b52105d12deef85df170cf9eabe8ac45' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:50.825 ***
alicE@domain.example.com/res1 out
<iq type='set' id='a01d8cc0b08232cd21bf21ad21175380'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:50.825 ***
alicE@domain.example.com/res1 in
<iq type='result' id='a01d8cc0b08232cd21bf21ad21175380'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:50.825 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:55:50.827 ***
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-18 10:55:50.827 ***
alicE@domain.example.com/res2 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-18 10:55:50.828 ***
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09e0e1a889d8d540' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:50.828 ***
alicE@domain.example.com/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-03-18 10:55:50.828 ***
alicE@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:55:50.829 ***
alicE@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:50.829 ***
alicE@domain.example.com/res2 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-18 10:55:50.829 ***
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d20e4098bb45584' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:50.829 ***
alicE@domain.example.com/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-03-18 10:55:50.829 ***
alicE@domain.example.com/res2 out
<iq type='set' id='ceada4ef45db2cb9b153807f25f2b1b1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:50.829 ***
alicE@domain.example.com/res2 in
<iq id='ceada4ef45db2cb9b153807f25f2b1b1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:50.830 ***
alicE@domain.example.com/res2 out
<iq type='set' id='0060001f788c1684cf56462262b80286'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:50.830 ***
alicE@domain.example.com/res2 in
<iq type='result' id='0060001f788c1684cf56462262b80286'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:50.830 ***
alicE@domain.example.com/res2 out
<presence/>



*** User 2022-03-18 10:55:50.831 ***
alicE@domain.example.com/res2 in
<presence from='alicE@domain.example.com/res2' to='alice@domain.example.com/res2' xml:lang='en'/>



*** User 2022-03-18 10:55:50.831 ***
alicE@domain.example.com/res2 in
<presence from='alice@domain.example.com/res1' to='alicE@domain.example.com/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:55:50Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2022-03-18 10:55:50.832 ***
alicE@domain.example.com/res3 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-18 10:55:50.832 ***
alicE@domain.example.com/res3 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b48134e423fafed' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:50.832 ***
alicE@domain.example.com/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-03-18 10:55:50.832 ***
alicE@domain.example.com/res3 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:55:50.833 ***
alicE@domain.example.com/res3 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:50.833 ***
alicE@domain.example.com/res3 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-18 10:55:50.833 ***
alicE@domain.example.com/res3 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa74974ba8233adb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:50.833 ***
alicE@domain.example.com/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-03-18 10:55:50.833 ***
alicE@domain.example.com/res3 out
<iq type='set' id='4a5a0df0b9f9a82787d4542b11bdfeeb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res3</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:50.834 ***
alicE@domain.example.com/res3 in
<iq id='4a5a0df0b9f9a82787d4542b11bdfeeb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res3</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:50.834 ***
alicE@domain.example.com/res3 out
<iq type='set' id='745fb561fc29845992fa09f3fdd8084a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:50.834 ***
alicE@domain.example.com/res3 in
<iq type='result' id='745fb561fc29845992fa09f3fdd8084a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:50.834 ***
alicE@domain.example.com/res3 out
<presence/>



*** User 2022-03-18 10:55:50.835 ***
alicE@domain.example.com/res3 in
<presence from='alicE@domain.example.com/res3' to='alice@domain.example.com/res3' xml:lang='en'/>



*** User 2022-03-18 10:55:50.835 ***
alicE@domain.example.com/res3 in
<presence from='alice@domain.example.com/res1' to='alicE@domain.example.com/res3' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:55:50Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2022-03-18 10:55:50.835 ***
alicE@domain.example.com/res3 in
<presence from='alice@domain.example.com/res2' to='alicE@domain.example.com/res3' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:55:50Z' from='alice@domain.example.com/res2'/>
</presence>



*** User 2022-03-18 10:55:50.835 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res2' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:50.835 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res3' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:50.835 ***
alicE@domain.example.com/res2 in
<presence from='alicE@domain.example.com/res3' to='alice@domain.example.com/res2' xml:lang='en'/>



*** User 2022-03-18 10:55:50.836 ***
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-18 10:55:50.837 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4b545ec90d19adc' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-18 10:55:50.838 ***
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-18 10:55:50.838 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1dc09ab0358b5d2' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-03-18 10:55:50.838 ***
bOb@domain.example.com/res1 in
<iq id='ee9ade8ebb81aec89d54247e0d13bd1e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:50.838 ***
bOb@domain.example.com/res1 out
<iq type='set' id='bd39c928e28421afe7b81c131febfb90'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:50.839 ***
bOb@domain.example.com/res1 in
<iq type='result' id='bd39c928e28421afe7b81c131febfb90'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:50.839 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:55:50.840 ***
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-18 10:55:51.082 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  num_resources alicE domain.example.com
Result "3\n"
ExitStatus 0

*** User 2022-03-18 10:55:51.326 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  resource_num alicE domain.example.com 2
Result "res2\n"
ExitStatus 0

*** User 2022-03-18 10:55:51.326 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:55:51.326 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:55:51.326 ***
alicE@domain.example.com/res3 out
</stream:stream>

*** User 2022-03-18 10:55:51.327 ***
alicE@domain.example.com/res3 in
</stream:stream>

*** User 2022-03-18 10:55:51.327 ***
alicE@domain.example.com/res2 out
</stream:stream>

*** User 2022-03-18 10:55:51.327 ***
alicE@domain.example.com/res2 in
</stream:stream>

*** User 2022-03-18 10:55:51.327 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:55:51.328 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:55:51.331 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_499.html
*** CT 2022-03-18 10:55:51.331 *** View log from node mongooseim@localhost when finished mongooseim@localhost_998.html



=== Ended at 2022-03-18 10:55:51
=== successfully completed test case
=== === Returned value: ok


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