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

=== Config value:

    [{watchdog,<0.29895.0>},
     {ctl_auth_mods,[ejabberd_auth_internal,ejabberd_auth_anonymous,
                     ejabberd_auth_internal]},
     {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,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.30.58/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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.30.58/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@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:32:06


*** CT 2022-01-27 15:32:06.908 *** View log from node mongooseim@localhost when started mongooseim@localhost_4346.html
*** CT 2022-01-27 15:32:06.908 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2320.html

*** User 2022-01-27 15:32:06.910 ***
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-01-27 15:32:06.910 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='886aeabce81e7bd1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:06.910 ***
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-01-27 15:32:06.910 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:32:06.911 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:06.911 ***
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-01-27 15:32:06.911 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='847901bf2af1354b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:06.911 ***
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-01-27 15:32:06.911 ***
alicE@localhost/res1 out
<iq type='set' id='a5f2cb85b46288828db23b8217d94726'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:06.911 ***
alicE@localhost/res1 in
<iq id='a5f2cb85b46288828db23b8217d94726' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:06.912 ***
alicE@localhost/res1 out
<iq type='set' id='e60c7141d5d8ed06c9e3a70868372071'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:06.912 ***
alicE@localhost/res1 in
<iq type='result' id='e60c7141d5d8ed06c9e3a70868372071'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:06.912 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:06.912 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:06.913 ***
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-01-27 15:32:06.913 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0542b3817571db3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:06.913 ***
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-01-27 15:32:06.914 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:32:06.914 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:06.914 ***
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-01-27 15:32:06.914 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c52e6c5729cd6ae' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:06.914 ***
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-01-27 15:32:06.914 ***
bOb@localhost/res1 out
<iq type='set' id='38c32a68470e686570a2fb98ed7d119c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:06.915 ***
bOb@localhost/res1 in
<iq id='38c32a68470e686570a2fb98ed7d119c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:06.915 ***
bOb@localhost/res1 out
<iq type='set' id='c37188ddc2cf2973392367ab2e623d24'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:06.915 ***
bOb@localhost/res1 in
<iq type='result' id='c37188ddc2cf2973392367ab2e623d24'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:06.915 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:06.916 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:06.916 ***
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-01-27 15:32:06.917 ***
bOb@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d10f04fd195af8cb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:06.917 ***
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-01-27 15:32:06.917 ***
bOb@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:32:06.917 ***
bOb@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:06.917 ***
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-01-27 15:32:06.917 ***
bOb@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fcad56768e83b984' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:06.917 ***
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-01-27 15:32:06.917 ***
bOb@localhost/res2 out
<iq type='set' id='4a3b511c9c27bfdd3ae5f92c7b7c36c1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:06.918 ***
bOb@localhost/res2 in
<iq id='4a3b511c9c27bfdd3ae5f92c7b7c36c1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:06.918 ***
bOb@localhost/res2 out
<iq type='set' id='be781597ccb2735430c856e0ccc1bbe1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:06.918 ***
bOb@localhost/res2 in
<iq type='result' id='be781597ccb2735430c856e0ccc1bbe1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:06.918 ***
bOb@localhost/res2 out
<presence/>



*** User 2022-01-27 15:32:06.918 ***
bOb@localhost/res2 in
<presence from='bOb@localhost/res2' to='bob@localhost/res2' xml:lang='en'/>



*** User 2022-01-27 15:32:06.919 ***
bOb@localhost/res2 in
<presence from='bob@localhost/res1' to='bOb@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:32:06Z' from='bob@localhost/res1'/>
</presence>



*** User 2022-01-27 15:32:06.919 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res2' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:07.266 ***
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-01-27 15:32:07.266 ***
bOb@localhost/res1 in
<message from='alicE@localhost/res1' to='bOb@localhost/res1' type='chat' id='03cee011d4187029'>
	<body>Hi Bob!</body>
</message>



*** User 2022-01-27 15:32:07.607 ***
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-01-27 15:32:07.607 ***
bOb@localhost/res1 in
<message from='alicE@localhost/res1' to='bOb@localhost/res1' type='headline' id='788285f8add5f8e1'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-01-27 15:32:07.607 ***
bOb@localhost/res2 in
<message from='alicE@localhost/res1' to='bOb@localhost/res2' type='headline' id='788285f8add5f8e1'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-01-27 15:32:07.607 ***
bOb@localhost/res2 out
</stream:stream>

*** User 2022-01-27 15:32:07.607 ***
bOb@localhost/res2 in
</stream:stream>

*** User 2022-01-27 15:32:07.607 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:07.608 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:32:07.608 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:07.608 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:07.610 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2320.html
*** CT 2022-01-27 15:32:07.610 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4346.html



=== Ended at 2022-01-27 15:32:07
=== successfully completed test case
=== === Returned value: ok


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