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

=== Config value:

    [{watchdog,<0.16566.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-04_11.22.38/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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-04_11.22.38/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:22:43


*** CT 2022-03-04 11:22:43.183 *** View log from node mongooseim@localhost when started mongooseim@localhost_1912.html
*** CT 2022-03-04 11:22:43.183 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_606.html

*** User 2022-03-04 11:22:43.185 ***
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-04 11:22:43.185 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78283c5019b39f2b' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-04 11:22:43.187 ***
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-04 11:22:43.187 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ba423ebc6b7fa70' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:43.188 ***
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-04 11:22:43.188 ***
alicE@domain.example.com/res1 out
<iq type='set' id='39b48c6f354e512907922a3c3a0cd07c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:43.188 ***
alicE@domain.example.com/res1 in
<iq id='39b48c6f354e512907922a3c3a0cd07c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:43.188 ***
alicE@domain.example.com/res1 out
<iq type='set' id='0cc1d18ab83288410dfd276465c0e08c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:43.188 ***
alicE@domain.example.com/res1 in
<iq type='result' id='0cc1d18ab83288410dfd276465c0e08c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:43.188 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:22:43.190 ***
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-04 11:22:43.190 ***
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-04 11:22:43.191 ***
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61ce17ec05483fbb' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-03-04 11:22:43.192 ***
alicE@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:22:43.192 ***
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-04 11:22:43.192 ***
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='825b6d7044063a37' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:43.192 ***
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-04 11:22:43.192 ***
alicE@domain.example.com/res2 out
<iq type='set' id='8c0d48eb677f9b1efd90bb359c7bead7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:43.192 ***
alicE@domain.example.com/res2 in
<iq id='8c0d48eb677f9b1efd90bb359c7bead7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:43.192 ***
alicE@domain.example.com/res2 out
<iq type='set' id='ef5caa08e98118deb1997b46f3f9737c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:43.193 ***
alicE@domain.example.com/res2 in
<iq type='result' id='ef5caa08e98118deb1997b46f3f9737c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:43.193 ***
alicE@domain.example.com/res2 out
<presence/>



*** User 2022-03-04 11:22:43.194 ***
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-04 11:22:43.195 ***
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-04T11:22:43Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2022-03-04 11:22:43.195 ***
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-04 11:22:43.195 ***
alicE@domain.example.com/res3 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='389ef06f07cbf18e' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-03-04 11:22:43.197 ***
alicE@domain.example.com/res3 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:22:43.197 ***
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-04 11:22:43.197 ***
alicE@domain.example.com/res3 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8c47512a0226baf' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:43.197 ***
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-04 11:22:43.197 ***
alicE@domain.example.com/res3 out
<iq type='set' id='3270fc7953218eb4b1586d2d32d72231'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res3</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:43.197 ***
alicE@domain.example.com/res3 in
<iq id='3270fc7953218eb4b1586d2d32d72231' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res3</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:43.197 ***
alicE@domain.example.com/res3 out
<iq type='set' id='2e5873acfbcb0eb241d0d4bbcb853640'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:43.197 ***
alicE@domain.example.com/res3 in
<iq type='result' id='2e5873acfbcb0eb241d0d4bbcb853640'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:43.198 ***
alicE@domain.example.com/res3 out
<presence/>



*** User 2022-03-04 11:22:43.199 ***
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-04 11:22:43.199 ***
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-04T11:22:43Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2022-03-04 11:22:43.199 ***
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-04T11:22:43Z' from='alice@domain.example.com/res2'/>
</presence>



*** User 2022-03-04 11:22:43.199 ***
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-04 11:22:43.199 ***
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-04 11:22:43.199 ***
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-04 11:22:43.200 ***
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-04 11:22:43.200 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03996a45604bed74' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-04 11:22:43.202 ***
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-04 11:22:43.202 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='930c14bfd7c0e0d3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:43.202 ***
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-04 11:22:43.202 ***
bOb@domain.example.com/res1 out
<iq type='set' id='13f53dc99e7f63d96a6096c521d7b436'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:43.202 ***
bOb@domain.example.com/res1 in
<iq id='13f53dc99e7f63d96a6096c521d7b436' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:43.202 ***
bOb@domain.example.com/res1 out
<iq type='set' id='dd66976e941192def2eab012cb3c9bf6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:43.203 ***
bOb@domain.example.com/res1 in
<iq type='result' id='dd66976e941192def2eab012cb3c9bf6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:43.203 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:22:43.204 ***
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-04 11:22:43.398 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  num_resources alicE domain.example.com
Result "3\n"
ExitStatus 0

*** User 2022-03-04 11:22:43.584 ***
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-04 11:22:43.584 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:22:43.585 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:22:43.585 ***
alicE@domain.example.com/res3 out
</stream:stream>

*** User 2022-03-04 11:22:43.585 ***
alicE@domain.example.com/res3 in
</stream:stream>

*** User 2022-03-04 11:22:43.585 ***
alicE@domain.example.com/res2 out
</stream:stream>

*** User 2022-03-04 11:22:43.586 ***
alicE@domain.example.com/res2 in
</stream:stream>

*** User 2022-03-04 11:22:43.586 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:22:43.586 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:22:43.588 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_606.html
*** CT 2022-03-04 11:22:43.589 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1912.html



=== Ended at 2022-03-04 11:22:43
=== successfully completed test case
=== === Returned value: ok


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