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

=== Config value:

    [{watchdog,<0.5988.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-06-22_08.53.15/mongooseimctl_suite.rosteritem_rw.html"},
     {tc_group_properties,[{name,roster},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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-06-22_08.53.15/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@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:53:26


*** CT 2022-06-22 08:53:26.072 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3906.html
*** CT 2022-06-22 08:53:26.073 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_1960.html

*** User 2022-06-22 08:53:26.074 ***🔗
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-06-22 08:53:26.075 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b43bc8a721a2c0cc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:53:26.075 ***🔗
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-06-22 08:53:26.075 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 08:53:26.077 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:53:26.077 ***🔗
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-06-22 08:53:26.077 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2683d63218dbd1e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:53:26.077 ***🔗
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-06-22 08:53:26.077 ***🔗
alicE@localhost/res1 out
<iq type='set' id='a6d295aa47b36cb120f02c1edee97058'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:53:26.077 ***🔗
alicE@localhost/res1 in
<iq id='a6d295aa47b36cb120f02c1edee97058' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:53:26.078 ***🔗
alice@localhost/res1 out
<iq type='set' id='172485f3fa18b50013314e7d4e588748'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:53:26.078 ***🔗
alice@localhost/res1 in
<iq type='result' id='172485f3fa18b50013314e7d4e588748'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:53:26.078 ***🔗
alice@localhost/res1 out
<presence/>



*** User 2022-06-22 08:53:26.080 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:53:26.297 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE localhost bOb localhost MyBob MyGroup both
Result "Added the item to the roster of alice@localhost\n"
ExitStatus 0

*** User 2022-06-22 08:53:26.517 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE localhost mike localhost My Mike My Group both
Result "Added the item to the roster of alice@localhost\n"
ExitStatus 0

*** User 2022-06-22 08:53:26.517 ***🔗
alice@localhost/res1 in
<iq from='alice@localhost/res1' to='alice@localhost/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob@localhost' name='MyBob' subscription='both'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:53:26.518 ***🔗
alice@localhost/res1 in
<iq from='alice@localhost/res1' to='alice@localhost/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike@localhost' name='My Mike' subscription='both'>
			<group>My Group</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:53:26.770 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  get_roster alicE localhost
Result "bob@localhost\tMyBob\tboth\tnone\tMyGroup\nmike@localhost\tMy Mike\tboth\tnone\tMy Group\n"
ExitStatus 0

*** User 2022-06-22 08:53:26.770 ***🔗
alice@localhost/res1 out
<iq type='get' id='23a74cfd3c4a1fc84085ee22c03f0a3f'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-06-22 08:53:26.773 ***🔗
alice@localhost/res1 in
<iq from='alice@localhost' to='alice@localhost/res1' id='23a74cfd3c4a1fc84085ee22c03f0a3f' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' name='My Mike' jid='mike@localhost'>
			<group>My Group</group>
		</item>
		<item subscription='both' name='MyBob' jid='bob@localhost'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:53:27.025 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  delete_rosteritem alicE localhost bOb localhost
Result "The item removed from roster of alice@localhost\n"
ExitStatus 0

*** User 2022-06-22 08:53:27.025 ***🔗
alice@localhost/res1 in
<iq from='alice@localhost/res1' to='alice@localhost/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-06-22 08:53:27.240 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  get_roster alicE localhost
Result "mike@localhost\tMy Mike\tboth\tnone\tMy Group\n"
ExitStatus 0

*** User 2022-06-22 08:53:27.241 ***🔗
alice@localhost/res1 out
<iq type='set' id='d6dbfb0af3264ca26a85789ef5abc903'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-06-22 08:53:27.244 ***🔗
alice@localhost/res1 in
<iq from='alice@localhost' to='alice@localhost/res1' id='push30646f65028a6bef' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='My Mike' jid='mike@localhost'>
			<group>My Group</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:53:27.248 ***🔗
alice@localhost/res1 in
<iq from='alice@localhost' to='alice@localhost/res1' id='d6dbfb0af3264ca26a85789ef5abc903' type='result'/>



*** User 2022-06-22 08:53:27.248 ***🔗
alice@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:53:27.248 ***🔗
alice@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 08:53:27.251 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1960.html
*** CT 2022-06-22 08:53:27.251 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3906.html



=== Ended at 2022-06-22 08:53:27
=== successfully completed test case
=== === Returned value: ok


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