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

=== Config value:

    [{watchdog,<0.29955.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@3b05d744781a.2022-05-18_09.59.20/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-18_10.06.50/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@3b05d744781a.2022-05-18_09.59.20/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-18_10.06.50/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@3b05d744781a.2022-05-18_09.59.20"

=== Started at 2022-05-18 10:07:04


*** CT 2022-05-18 10:07:04.211 *** View log from node mongooseim@localhost when started mongooseim@localhost_4741.html
*** CT 2022-05-18 10:07:04.211 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1955.html

*** User 2022-05-18 10:07:04.213 ***
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-05-18 10:07:04.214 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f1cc8bbad8178b1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:04.214 ***
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-05-18 10:07:04.214 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-18 10:07:04.215 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:07:04.215 ***
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-05-18 10:07:04.215 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f10a4d7d5b012706' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:04.215 ***
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-05-18 10:07:04.215 ***
alicE@localhost/res1 out
<iq type='set' id='5978b7ac7d000d1211aff868dc58062d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:07:04.215 ***
alicE@localhost/res1 in
<iq id='5978b7ac7d000d1211aff868dc58062d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:07:04.215 ***
alice@localhost/res1 out
<iq type='set' id='5b4a6f28dc2d9559f4ab1ecd8a40be63'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:04.216 ***
alice@localhost/res1 in
<iq type='result' id='5b4a6f28dc2d9559f4ab1ecd8a40be63'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:04.216 ***
alice@localhost/res1 out
<presence/>



*** User 2022-05-18 10:07:04.217 ***
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:04.217 ***
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-05-18 10:07:04.218 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98ce74f8541cc05f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:04.218 ***
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-05-18 10:07:04.218 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:07:04.218 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:07:04.218 ***
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-05-18 10:07:04.219 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f502ad356d5878a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:04.219 ***
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-05-18 10:07:04.219 ***
bOb@localhost/res1 out
<iq type='set' id='b71dd740178b4ef333ada0c8c813f546'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:07:04.219 ***
bOb@localhost/res1 in
<iq id='b71dd740178b4ef333ada0c8c813f546' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:07:04.219 ***
bob@localhost/res1 out
<iq type='set' id='a27a18a78d6f93ee46977bab0dec33bc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:04.219 ***
bob@localhost/res1 in
<iq type='result' id='a27a18a78d6f93ee46977bab0dec33bc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:04.219 ***
bob@localhost/res1 out
<presence/>



*** User 2022-05-18 10:07:04.220 ***
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:04.221 ***
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-05-18 10:07:04.221 ***
bOb@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a5c2899fd5a4b2a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:04.221 ***
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-05-18 10:07:04.221 ***
bOb@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:07:04.222 ***
bOb@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:07:04.222 ***
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-05-18 10:07:04.222 ***
bOb@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f10f2a9a5a73050' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:04.222 ***
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-05-18 10:07:04.222 ***
bOb@localhost/res2 out
<iq type='set' id='70e47960acfbb70e5fe34893ac8c63e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-05-18 10:07:04.223 ***
bOb@localhost/res2 in
<iq id='70e47960acfbb70e5fe34893ac8c63e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-05-18 10:07:04.223 ***
bob@localhost/res2 out
<iq type='set' id='752b679ddbb42390477143e5a161b0c3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:04.223 ***
bob@localhost/res2 in
<iq type='result' id='752b679ddbb42390477143e5a161b0c3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:04.223 ***
bob@localhost/res2 out
<presence/>



*** User 2022-05-18 10:07:04.224 ***
bob@localhost/res2 in
<presence from='bob@localhost/res2' to='bob@localhost/res2' xml:lang='en'/>



*** User 2022-05-18 10:07:04.224 ***
bob@localhost/res2 in
<presence from='bob@localhost/res1' to='bob@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-05-18T10:07:04Z' from='bob@localhost/res1'/>
</presence>



*** User 2022-05-18 10:07:04.224 ***
bob@localhost/res1 in
<presence from='bob@localhost/res2' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:04.398 ***
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-05-18 10:07:04.398 ***
bob@localhost/res1 in
<message from='alice@localhost/res1' to='bob@localhost/res1' type='chat' id='06bc8c597c83a13d'>
	<body>Hi Bob!</body>
</message>



*** User 2022-05-18 10:07:04.616 ***
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-05-18 10:07:04.616 ***
bob@localhost/res1 in
<message from='alice@localhost/res1' to='bob@localhost/res1' type='headline' id='37c0ac277f01150f'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-05-18 10:07:04.616 ***
bob@localhost/res2 in
<message from='alice@localhost/res1' to='bob@localhost/res2' type='headline' id='37c0ac277f01150f'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-05-18 10:07:04.616 ***
bob@localhost/res2 out
</stream:stream>

*** User 2022-05-18 10:07:04.617 ***
bob@localhost/res2 in
</stream:stream>

*** User 2022-05-18 10:07:04.617 ***
bob@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:07:04.617 ***
bob@localhost/res1 in
</stream:stream>

*** User 2022-05-18 10:07:04.617 ***
alice@localhost/res1 out
</stream:stream>

*** User 2022-05-18 10:07:04.618 ***
alice@localhost/res1 in
</stream:stream>
*** CT 2022-05-18 10:07:04.620 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1955.html
*** CT 2022-05-18 10:07:04.620 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4741.html



=== Ended at 2022-05-18 10:07:04
=== successfully completed test case
=== === Returned value: ok


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