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

=== Config value:

    [{watchdog,<0.30671.0>},
     {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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.36/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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.36/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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:56:36


*** CT 2022-03-18 10:56:36.145 *** View log from node mongooseim@localhost when started mongooseim@localhost_3838.html
*** CT 2022-03-18 10:56:36.145 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1973.html

*** User 2022-03-18 10:56:36.146 ***
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-03-18 10:56:36.147 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ba7b5b781f4c0b8' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-03-18 10:56:36.148 ***
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-03-18 10:56:36.149 ***
alicE@localhost/res1 out
<iq type='set' id='8b0a4bdc1b2451a9a52c9419e0741ea8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:56:36.149 ***
alicE@localhost/res1 in
<iq id='8b0a4bdc1b2451a9a52c9419e0741ea8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:56:36.149 ***
alicE@localhost/res1 out
<iq type='set' id='3be9665045e0625b186bf7ceda7bf802'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:36.149 ***
alicE@localhost/res1 in
<iq type='result' id='3be9665045e0625b186bf7ceda7bf802'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:36.149 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-18 10:56:36.150 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:56:36.150 ***
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-03-18 10:56:36.150 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c8110a987072223' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-18 10:56:36.152 ***
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-03-18 10:56:36.152 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b66598858387133e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:56:36.152 ***
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-03-18 10:56:36.152 ***
bOb@localhost/res1 out
<iq type='set' id='3a0e239361fd34ddc3fa855f00090bf1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:56:36.152 ***
bOb@localhost/res1 in
<iq id='3a0e239361fd34ddc3fa855f00090bf1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:56:36.152 ***
bOb@localhost/res1 out
<iq type='set' id='dbb4906d3d73cff6f228d9b38770f962'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:36.152 ***
bOb@localhost/res1 in
<iq type='result' id='dbb4906d3d73cff6f228d9b38770f962'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:36.152 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-18 10:56:36.153 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:56:36.153 ***
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-03-18 10:56:36.154 ***
bOb@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e8228bef79f2d23' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-03-18 10:56:36.155 ***
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-03-18 10:56:36.155 ***
bOb@localhost/res2 out
<iq type='set' id='818afb7bc5b050b81cae0c3f9c7339c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-18 10:56:36.155 ***
bOb@localhost/res2 in
<iq id='818afb7bc5b050b81cae0c3f9c7339c9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-03-18 10:56:36.155 ***
bOb@localhost/res2 out
<iq type='set' id='793d4e3b856e1d0432aa7601039d5611'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:36.155 ***
bOb@localhost/res2 in
<iq type='result' id='793d4e3b856e1d0432aa7601039d5611'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:36.155 ***
bOb@localhost/res2 out
<presence/>



*** User 2022-03-18 10:56:36.156 ***
bOb@localhost/res2 in
<presence from='bOb@localhost/res2' to='bob@localhost/res2' xml:lang='en'/>



*** User 2022-03-18 10:56:36.156 ***
bOb@localhost/res2 in
<presence from='bob@localhost/res1' to='bOb@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:56:36Z' from='bob@localhost/res1'/>
</presence>



*** User 2022-03-18 10:56:36.156 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res2' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:56:36.454 ***
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-03-18 10:56:36.455 ***
bOb@localhost/res1 in
<message from='alicE@localhost/res1' to='bOb@localhost/res1' type='chat' id='bf021365eae07da9'>
	<body>Hi Bob!</body>
</message>



*** User 2022-03-18 10:56:36.734 ***
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-03-18 10:56:36.734 ***
bOb@localhost/res1 in
<message from='alicE@localhost/res1' to='bOb@localhost/res1' type='headline' id='21a097bb299d4b3b'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-03-18 10:56:36.735 ***
bOb@localhost/res2 in
<message from='alicE@localhost/res1' to='bOb@localhost/res2' type='headline' id='21a097bb299d4b3b'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-03-18 10:56:36.735 ***
bOb@localhost/res2 out
</stream:stream>

*** User 2022-03-18 10:56:36.735 ***
bOb@localhost/res2 in
</stream:stream>

*** User 2022-03-18 10:56:36.735 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:56:36.735 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:56:36.735 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:56:36.736 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:56:36.737 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1973.html
*** CT 2022-03-18 10:56:36.738 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3838.html



=== Ended at 2022-03-18 10:56:36
=== successfully completed test case
=== === Returned value: ok


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