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

=== Config value:

    [{watchdog,<0.259.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.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@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:10


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

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



*** User 2022-04-29 14:00:10.822 ***
bOb@localhost/res1 out
<iq type='set' id='53a68f83075faba22a3ffb76d6003d62'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:00:10.822 ***
bOb@localhost/res1 in
<iq type='result' id='53a68f83075faba22a3ffb76d6003d62'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-04-29 14:00:10.824 ***
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-04-29 14:00:10.824 ***
bOb@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='72c688289769c014' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 14:00:10.824 ***
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>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:10.825 ***
bOb@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



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



*** User 2022-04-29 14:00:10.826 ***
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-04-29 14:00:10.826 ***
bOb@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1282ac4c03b64053' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 14:00:10.826 ***
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-04-29 14:00:10.826 ***
bOb@localhost/res2 out
<iq type='set' id='65d793da15f5f1d4c3f73561f273ac89'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-04-29 14:00:10.826 ***
bOb@localhost/res2 in
<iq id='65d793da15f5f1d4c3f73561f273ac89' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-04-29 14:00:10.827 ***
bOb@localhost/res2 out
<iq type='set' id='5bff5fa6c0197c5a7814d3ab8316a3a4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:00:10.827 ***
bOb@localhost/res2 in
<iq type='result' id='5bff5fa6c0197c5a7814d3ab8316a3a4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 14:00:10.827 ***
bOb@localhost/res2 out
<presence/>



*** User 2022-04-29 14:00:10.828 ***
bOb@localhost/res2 in
<presence from='bOb@localhost/res2' to='bob@localhost/res2' xml:lang='en'/>



*** User 2022-04-29 14:00:10.828 ***
bOb@localhost/res2 in
<presence from='bob@localhost/res1' to='bOb@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-04-29T14:00:10Z' from='bob@localhost/res1'/>
</presence>



*** User 2022-04-29 14:00:10.828 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res2' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 14:00:11.007 ***
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-04-29 14:00:11.007 ***
bOb@localhost/res1 in
<message from='alicE@localhost/res1' to='bOb@localhost/res1' type='chat' id='76b7bcb29f7fa686'>
	<body>Hi Bob!</body>
</message>



*** User 2022-04-29 14:00:11.184 ***
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-04-29 14:00:11.184 ***
bOb@localhost/res1 in
<message from='alicE@localhost/res1' to='bOb@localhost/res1' type='headline' id='42c24a53d31e38e9'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-04-29 14:00:11.184 ***
bOb@localhost/res2 in
<message from='alicE@localhost/res1' to='bOb@localhost/res2' type='headline' id='42c24a53d31e38e9'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-04-29 14:00:11.184 ***
bOb@localhost/res2 out
</stream:stream>

*** User 2022-04-29 14:00:11.185 ***
bOb@localhost/res2 in
</stream:stream>

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

*** User 2022-04-29 14:00:11.185 ***
bOb@localhost/res1 in
</stream:stream>

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

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



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


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