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

=== Config value:

    [{watchdog,<0.216.1>},
     {ctl_auth_mods,[ejabberd_auth_ldap,ejabberd_auth_anonymous,
                     ejabberd_auth_ldap]},
     {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,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8df352b23b1e.2022-04-29_13.53.53/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-04-29_13.59.20/mongooseimctl_suite.set_last.html"},
     {tc_group_properties,[{name,last},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@8df352b23b1e.2022-04-29_13.53.53/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-04-29_13.59.20/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@8df352b23b1e.2022-04-29_13.53.53"

=== Started at 2022-04-29 14:00:09


*** CT 2022-04-29 14:00:09.065 *** View log from node mongooseim@localhost when started mongooseim@localhost_4666.html
*** CT 2022-04-29 14:00:09.065 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1914.html

*** User 2022-04-29 14:00:09.066 ***
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-04-29 14:00:09.067 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='caba3204573039e7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 14:00:09.067 ***
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>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-04-29 14:00:09.067 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-04-29 14:00:09.068 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-29 14:00:09.068 ***
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-04-29 14:00:09.069 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af2383f2a38c02e9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 14:00:09.069 ***
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-04-29 14:00:09.069 ***
alicE@localhost/res1 out
<iq type='set' id='fc1ddc32c2dc9edd21919af3310dee5d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-29 14:00:09.069 ***
alicE@localhost/res1 in
<iq id='fc1ddc32c2dc9edd21919af3310dee5d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-29 14:00:09.069 ***
alicE@localhost/res1 out
<iq type='set' id='42577aeb1a7567a79fb47d91dde1da63'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:00:09.069 ***
alicE@localhost/res1 in
<iq type='result' id='42577aeb1a7567a79fb47d91dde1da63'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:00:09.069 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-04-29 14:00:09.070 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 14:00:09.288 ***
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-04-29 14:00:09.482 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem bOb localhost alicE localhost MyAlice MyGroup both
Result "Added the item to the roster of bOb@localhost\n"
ExitStatus 0

*** User 2022-04-29 14:00:09.482 ***
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-04-29 14:00:09.677 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  set_last bOb localhost 1651233609 Status
Result "Last activity for user bOb@localhost is set as 1651233609 with status Status\n"
ExitStatus 0

*** User 2022-04-29 14:00:09.677 ***
alicE@localhost/res1 out
<iq type='get' id='3c8d0b7fd646a22e6f8378e917400a46' to='bOb@localhost'>
	<query xmlns='jabber:iq:last'/>
</iq>



*** User 2022-04-29 14:00:09.678 ***
alicE@localhost/res1 in
<iq from='bOb@localhost' to='alicE@localhost/res1' id='3c8d0b7fd646a22e6f8378e917400a46' type='result'>
	<query xmlns='jabber:iq:last' seconds='7200'>Status</query>
</iq>



*** User 2022-04-29 14:00:09.861 ***
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-04-29 14:00:10.065 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  delete_rosteritem bOb localhost alicE localhost
Result "The item removed from roster of bOb@localhost\n"
ExitStatus 0

*** User 2022-04-29 14:00:10.066 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-04-29 14:00:10.067 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-04-29 14:00:10.069 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1914.html
*** CT 2022-04-29 14:00:10.070 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4666.html



=== Ended at 2022-04-29 14:00:10
=== successfully completed test case
=== === Returned value: ok


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