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

=== Config value:

    [{watchdog,<0.16710.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.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@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:48


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

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

*** User 2022-03-04 11:22:48.095 ***
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:48.095 ***
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:48.096 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

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



*** User 2022-03-04 11:22:48.097 ***
alicE@domain.example.com/res1 in
<iq id='3546c4de9e668b1a72f40579af53e85b' 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:48.097 ***
alicE@domain.example.com/res1 out
<iq type='set' id='512a09a9f9964e20fb4159eb8916d76f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-03-04 11:22:48.099 ***
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:48.297 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE domain.example.com bOb domain.example.com MyBob MyGroup both
Result "Added the item to the roster of alicE@domain.example.com\n"
ExitStatus 0

*** User 2022-03-04 11:22:48.477 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem alicE domain.example.com mike domain.example.com My Mike My Group both
Result "Added the item to the roster of alicE@domain.example.com\n"
ExitStatus 0

*** User 2022-03-04 11:22:48.477 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com/res1' to='alicE@domain.example.com/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' name='MyBob' subscription='both'>
			<group>MyGroup</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:22:48.477 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com/res1' to='alicE@domain.example.com/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike@domain.example.com' name='My Mike' subscription='both'>
			<group>My Group</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:22:48.647 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  get_roster alicE domain.example.com
Result "mike@domain.example.com\tMy Mike\tboth\tnone\tMy Group\nbob@domain.example.com\tMyBob\tboth\tnone\tMyGroup\n"
ExitStatus 0

*** User 2022-03-04 11:22:48.648 ***
alicE@domain.example.com/res1 out
<iq type='get' id='09fd6b97794e8e38b43dd8d691e08389'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-03-04 11:22:48.650 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='09fd6b97794e8e38b43dd8d691e08389' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' name='MyBob' jid='bob@domain.example.com'>
			<group>MyGroup</group>
		</item>
		<item subscription='both' name='My Mike' jid='mike@domain.example.com'>
			<group>My Group</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:22:48.844 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  delete_rosteritem alicE domain.example.com bOb domain.example.com
Result "The item removed from roster of alicE@domain.example.com\n"
ExitStatus 0

*** User 2022-03-04 11:22:48.844 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com/res1' to='alicE@domain.example.com/res1' type='set' id='push'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2022-03-04 11:22:49.017 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  get_roster alicE domain.example.com
Result "mike@domain.example.com\tMy Mike\tboth\tnone\tMy Group\n"
ExitStatus 0

*** User 2022-03-04 11:22:49.017 ***
alicE@domain.example.com/res1 out
<iq type='set' id='e80884bd6c4cda362b3523e90eb229b2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2022-03-04 11:22:49.027 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push613b39583aa5b656' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='My Mike' jid='mike@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:22:49.029 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='e80884bd6c4cda362b3523e90eb229b2' type='result'/>



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

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



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


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