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

=== Config value:

    [{watchdog,<0.15348.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-02_15.12.45/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-02_15.12.45/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:12:54


*** CT 2022-02-02 15:12:54.360 *** View log from node mongooseim@localhost when started mongooseim@localhost_1830.html
*** CT 2022-02-02 15:12:54.361 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

*** User 2022-02-02 15:12:54.362 ***
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-02-02 15:12:54.363 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='053ac956b735aecf' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:54.363 ***
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-02-02 15:12:54.363 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-02-02 15:12:54.364 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:12:54.365 ***
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-02-02 15:12:54.365 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a383782a2113a586' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:54.365 ***
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-02-02 15:12:54.365 ***
alicE@domain.example.com/res1 out
<iq type='set' id='13eb6b0c88f3643860561b7d401ae8b2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:12:54.365 ***
alicE@domain.example.com/res1 in
<iq id='13eb6b0c88f3643860561b7d401ae8b2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:12:54.365 ***
alicE@domain.example.com/res1 out
<iq type='set' id='418c394f373d8c7d554ca1a528e6afec'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:54.366 ***
alicE@domain.example.com/res1 in
<iq type='result' id='418c394f373d8c7d554ca1a528e6afec'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:54.366 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:12:54.367 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:12:54.523 ***
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-02-02 15:12:54.671 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  add_rosteritem bOb domain.example.com alicE domain.example.com MyAlice MyGroup both
Result "Added the item to the roster of bOb@domain.example.com\n"
ExitStatus 0

*** User 2022-02-02 15:12:54.671 ***
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-02-02 15:12:54.819 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  set_last bOb domain.example.com 1643807574 Status
Result "Last activity for user bOb@domain.example.com is set as 1643807574 with status Status\n"
ExitStatus 0

*** User 2022-02-02 15:12:54.819 ***
alicE@domain.example.com/res1 out
<iq type='get' id='22547005a7eb5df3675fa0199a800113' to='bOb@domain.example.com'>
	<query xmlns='jabber:iq:last'/>
</iq>



*** User 2022-02-02 15:12:54.822 ***
alicE@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='alicE@domain.example.com/res1' id='22547005a7eb5df3675fa0199a800113' type='result'>
	<query xmlns='jabber:iq:last' seconds='7200'>Status</query>
</iq>



*** User 2022-02-02 15:12:54.969 ***
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-02-02 15:12:55.115 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  delete_rosteritem bOb domain.example.com alicE domain.example.com
Result "The item removed from roster of bOb@domain.example.com\n"
ExitStatus 0

*** User 2022-02-02 15:12:55.115 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:12:55.116 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:12:55.119 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_591.html
*** CT 2022-02-02 15:12:55.120 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1830.html



=== Ended at 2022-02-02 15:12:55
=== successfully completed test case
=== === Returned value: ok


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