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

=== Config value:

    [{watchdog,<0.23286.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.32.42/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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.32.42/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:32:52


*** CT 2022-01-27 15:32:52.204 *** View log from node mongooseim@localhost when started mongooseim@localhost_4995.html
*** CT 2022-01-27 15:32:52.204 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2348.html

*** User 2022-01-27 15:32:52.206 ***
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-01-27 15:32:52.206 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfcffca5e3d8f2ab' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:52.207 ***
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-01-27 15:32:52.207 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:32:52.208 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:52.208 ***
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-01-27 15:32:52.208 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='974656d5c6ea5b37' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:52.208 ***
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-01-27 15:32:52.208 ***
alicE@localhost/res1 out
<iq type='set' id='c409da61a1492fa08cfa95e296293401'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:52.208 ***
alicE@localhost/res1 in
<iq id='c409da61a1492fa08cfa95e296293401' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:52.209 ***
alicE@localhost/res1 out
<iq type='set' id='6239c6a47f6b926eef851cb8a17a12d5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:52.209 ***
alicE@localhost/res1 in
<iq type='result' id='6239c6a47f6b926eef851cb8a17a12d5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:52.209 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:52.210 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:52.389 ***
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-01-27 15:32:52.567 ***
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-01-27 15:32:52.567 ***
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-01-27 15:32:52.567 ***
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-01-27 15:32:52.752 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  get_roster alicE localhost
Result "mike@localhost\tMy Mike\tboth\tnone\tMy Group\nbob@localhost\tMyBob\tboth\tnone\tMyGroup\n"
ExitStatus 0

*** User 2022-01-27 15:32:52.752 ***
alicE@localhost/res1 out
<iq type='get' id='3c0872b71c446371ecf1a11aad0812bb'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-01-27 15:32:52.755 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='3c0872b71c446371ecf1a11aad0812bb' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' name='MyBob' jid='bob@localhost'>
			<group>MyGroup</group>
		</item>
		<item subscription='both' name='My Mike' jid='mike@localhost'>
			<group>My Group</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:52.937 ***
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-01-27 15:32:52.938 ***
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-01-27 15:32:53.114 ***
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-01-27 15:32:53.114 ***
alicE@localhost/res1 out
<iq type='set' id='0b2eb07ca657f48a4d49d29fed769a52'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-01-27 15:32:53.118 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push22f6990e80356c59' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='My Mike' jid='mike@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:32:53.120 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='0b2eb07ca657f48a4d49d29fed769a52' type='result'/>



*** User 2022-01-27 15:32:53.120 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:53.120 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:53.122 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2348.html
*** CT 2022-01-27 15:32:53.123 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4995.html



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


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