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

=== Config value:

    [{watchdog,<0.14479.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_12.33.46/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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_12.33.46/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:33:53


*** CT 2022-01-27 12:33:53.153 *** View log from node mongooseim@localhost when started mongooseim@localhost_1852.html
*** CT 2022-01-27 12:33:53.154 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_617.html

*** User 2022-01-27 12:33:53.156 ***
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-01-27 12:33:53.156 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a84b6fdd9e0f628e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:53.156 ***
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-01-27 12:33:53.157 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:33:53.158 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:33:53.158 ***
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-01-27 12:33:53.158 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5fbeb49a7492fc8a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:53.158 ***
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-01-27 12:33:53.159 ***
alicE@domain.example.com/res1 out
<iq type='set' id='cc641404401d44118188f22d950611f0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:33:53.159 ***
alicE@domain.example.com/res1 in
<iq id='cc641404401d44118188f22d950611f0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:33:53.159 ***
alicE@domain.example.com/res1 out
<iq type='set' id='ed4feb370915162dc9b9a9c0968a4535'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:53.159 ***
alicE@domain.example.com/res1 in
<iq type='result' id='ed4feb370915162dc9b9a9c0968a4535'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:53.159 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:33:53.161 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:33:53.162 ***
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-01-27 12:33:53.162 ***
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2eeda7dabb21a6bc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:53.162 ***
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-01-27 12:33:53.162 ***
alicE@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:33:53.163 ***
alicE@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:33:53.163 ***
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-01-27 12:33:53.163 ***
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45458d30570d4c54' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:53.164 ***
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-01-27 12:33:53.164 ***
alicE@domain.example.com/res2 out
<iq type='set' id='7c4e2f779651baa5eeddab02c7176835'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-27 12:33:53.164 ***
alicE@domain.example.com/res2 in
<iq id='7c4e2f779651baa5eeddab02c7176835' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-01-27 12:33:53.164 ***
alicE@domain.example.com/res2 out
<iq type='set' id='ab85e3802b0d0cee2ac57abb3870a2d2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:53.164 ***
alicE@domain.example.com/res2 in
<iq type='result' id='ab85e3802b0d0cee2ac57abb3870a2d2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:53.164 ***
alicE@domain.example.com/res2 out
<presence/>



*** User 2022-01-27 12:33:53.166 ***
alicE@domain.example.com/res2 in
<presence from='alicE@domain.example.com/res2' to='alice@domain.example.com/res2' xml:lang='en'/>



*** User 2022-01-27 12:33:53.166 ***
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-01-27T12:33:53Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2022-01-27 12:33:53.166 ***
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-01-27 12:33:53.167 ***
alicE@domain.example.com/res3 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5323e621c20c2749' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:53.167 ***
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-01-27 12:33:53.167 ***
alicE@domain.example.com/res3 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:33:53.168 ***
alicE@domain.example.com/res3 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:33:53.168 ***
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-01-27 12:33:53.169 ***
alicE@domain.example.com/res3 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b5d0560ad38e80ae' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:53.169 ***
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-01-27 12:33:53.169 ***
alicE@domain.example.com/res3 out
<iq type='set' id='36c2283a3d53e764f6a1cae1e7e84357'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res3</resource>
	</bind>
</iq>



*** User 2022-01-27 12:33:53.170 ***
alicE@domain.example.com/res3 in
<iq id='36c2283a3d53e764f6a1cae1e7e84357' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res3</jid>
	</bind>
</iq>



*** User 2022-01-27 12:33:53.170 ***
alicE@domain.example.com/res3 out
<iq type='set' id='fb9ad36ee6574da0992fc6012a9f2899'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:53.170 ***
alicE@domain.example.com/res3 in
<iq type='result' id='fb9ad36ee6574da0992fc6012a9f2899'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:53.170 ***
alicE@domain.example.com/res3 out
<presence/>



*** User 2022-01-27 12:33:53.172 ***
alicE@domain.example.com/res3 in
<presence from='alicE@domain.example.com/res3' to='alice@domain.example.com/res3' xml:lang='en'/>



*** User 2022-01-27 12:33:53.172 ***
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-01-27T12:33:53Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2022-01-27 12:33:53.172 ***
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-01-27T12:33:53Z' from='alice@domain.example.com/res2'/>
</presence>



*** User 2022-01-27 12:33:53.172 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res2' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:33:53.172 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res3' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:33:53.172 ***
alicE@domain.example.com/res2 in
<presence from='alicE@domain.example.com/res3' to='alice@domain.example.com/res2' xml:lang='en'/>



*** User 2022-01-27 12:33:53.173 ***
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-01-27 12:33:53.173 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35ec541a417412d8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:53.173 ***
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-01-27 12:33:53.173 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:33:53.174 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:33:53.174 ***
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-01-27 12:33:53.174 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04a614a16532b2c1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:53.175 ***
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-01-27 12:33:53.175 ***
bOb@domain.example.com/res1 out
<iq type='set' id='a7bbe2cff1e4eba7d3e9c4c8ac2d1f4b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:33:53.175 ***
bOb@domain.example.com/res1 in
<iq id='a7bbe2cff1e4eba7d3e9c4c8ac2d1f4b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:33:53.175 ***
bOb@domain.example.com/res1 out
<iq type='set' id='158418d9882e63337035e860812d4677'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:53.175 ***
bOb@domain.example.com/res1 in
<iq type='result' id='158418d9882e63337035e860812d4677'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:53.175 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:33:53.177 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:33:53.428 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  num_resources alicE domain.example.com
Result "3\n"
ExitStatus 0

*** User 2022-01-27 12:33:53.663 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  resource_num alicE domain.example.com 2
Result "res2\n"
ExitStatus 0

*** User 2022-01-27 12:33:53.663 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:33:53.664 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:33:53.664 ***
alicE@domain.example.com/res3 out
</stream:stream>

*** User 2022-01-27 12:33:53.664 ***
alicE@domain.example.com/res3 in
</stream:stream>

*** User 2022-01-27 12:33:53.664 ***
alicE@domain.example.com/res2 out
</stream:stream>

*** User 2022-01-27 12:33:53.665 ***
alicE@domain.example.com/res2 in
</stream:stream>

*** User 2022-01-27 12:33:53.665 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:33:53.665 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:33:53.668 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_617.html
*** CT 2022-01-27 12:33:53.669 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1852.html



=== Ended at 2022-01-27 12:33:53
=== successfully completed test case
=== === Returned value: ok


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