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

=== Config value:

    [{watchdog,<0.6124.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.send_message.html"},
     {tc_group_properties,[{name,stanza},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:30


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

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



*** User 2022-06-22 08:53:30.573 ***🔗
bob@localhost/res1 out
<iq type='set' id='24e8f5fae23a98fdd398cbb56b01062f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:53:30.573 ***🔗
bob@localhost/res1 in
<iq type='result' id='24e8f5fae23a98fdd398cbb56b01062f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-06-22 08:53:30.576 ***🔗
bOb@localhost/res2 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:30.577 ***🔗
bOb@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d57c3adf9a773af' from='localhost' version='1.0' xml:lang='en'>

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



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



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

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



*** User 2022-06-22 08:53:30.579 ***🔗
bOb@localhost/res2 in
<iq id='c874654798c13be5ccfb1eb8b585652f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-06-22 08:53:30.579 ***🔗
bob@localhost/res2 out
<iq type='set' id='69b9131f565e06bbf137dcfa93e96b7c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:53:30.579 ***🔗
bob@localhost/res2 in
<iq type='result' id='69b9131f565e06bbf137dcfa93e96b7c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:53:30.579 ***🔗
bob@localhost/res2 out
<presence/>



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



*** User 2022-06-22 08:53:30.581 ***🔗
bob@localhost/res2 in
<presence from='bob@localhost/res1' to='bob@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-06-22T08:53:30Z' from='bob@localhost/res1'/>
</presence>



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



*** User 2022-06-22 08:53:30.787 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_message_chat alice@localhost/res1 bob@localhost/res1 Hi Bob!
Result []
ExitStatus 0

*** User 2022-06-22 08:53:30.788 ***🔗
bob@localhost/res1 in
<message from='alice@localhost/res1' to='bob@localhost/res1' type='chat' id='268d2904c0f876af'>
	<body>Hi Bob!</body>
</message>



*** User 2022-06-22 08:53:30.985 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_message_headline alice@localhost/res1 bob@localhost Subj Hi Bob!!
Result []
ExitStatus 0

*** User 2022-06-22 08:53:30.985 ***🔗
bob@localhost/res1 in
<message from='alice@localhost/res1' to='bob@localhost/res1' type='headline' id='66ca2a4b739dfe5f'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-06-22 08:53:30.985 ***🔗
bob@localhost/res2 in
<message from='alice@localhost/res1' to='bob@localhost/res2' type='headline' id='66ca2a4b739dfe5f'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-06-22 08:53:30.985 ***🔗
bob@localhost/res2 out
</stream:stream>

*** User 2022-06-22 08:53:30.986 ***🔗
bob@localhost/res2 in
</stream:stream>

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

*** User 2022-06-22 08:53:30.986 ***🔗
bob@localhost/res1 in
</stream:stream>

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

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



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


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