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

=== Config value:

    [{watchdog,<0.17557.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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_16.02.56/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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_16.02.56/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24"

=== Started at 2022-03-07 16:03:06


*** CT 2022-03-07 16:03:06.654 *** View log from node mongooseim@localhost when started mongooseim@localhost_964.html
*** CT 2022-03-07 16:03:06.658 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_502.html

*** User 2022-03-07 16:03:06.659 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:06.660 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a0e35c2e5f06a56b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:06.660 ***
alicE@domain.example.com/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-03-07 16:03:06.660 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-07 16:03:06.661 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:03:06.661 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:06.662 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e79448d72426c27b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:06.662 ***
alicE@domain.example.com/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-07 16:03:06.662 ***
alicE@domain.example.com/res1 out
<iq type='set' id='c91969a00c6b57882a9602a478cef367'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:03:06.662 ***
alicE@domain.example.com/res1 in
<iq id='c91969a00c6b57882a9602a478cef367' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:03:06.663 ***
alicE@domain.example.com/res1 out
<iq type='set' id='946710edb8943c24ee854ce03e14ce14'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:06.663 ***
alicE@domain.example.com/res1 in
<iq type='result' id='946710edb8943c24ee854ce03e14ce14'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:06.663 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:03:06.664 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:03:06.665 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:06.665 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9585360ffdd3b5d0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:06.665 ***
bOb@domain.example.com/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-03-07 16:03:06.665 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-07 16:03:06.666 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:03:06.666 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:06.666 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7808ea0aa7e3859e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:06.666 ***
bOb@domain.example.com/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-07 16:03:06.667 ***
bOb@domain.example.com/res1 out
<iq type='set' id='f566aa553f95a071faf63b064f21f43a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:03:06.667 ***
bOb@domain.example.com/res1 in
<iq id='f566aa553f95a071faf63b064f21f43a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:03:06.667 ***
bOb@domain.example.com/res1 out
<iq type='set' id='a8771174a22d714d03303043e80f2381'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:06.667 ***
bOb@domain.example.com/res1 in
<iq type='result' id='a8771174a22d714d03303043e80f2381'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:06.667 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:03:06.668 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:03:06.669 ***
bOb@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:06.669 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='630a226997d321cf' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:06.669 ***
bOb@domain.example.com/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-03-07 16:03:06.669 ***
bOb@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-07 16:03:06.670 ***
bOb@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:03:06.670 ***
bOb@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 16:03:06.670 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f17c3cd3ac7bafc6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:03:06.670 ***
bOb@domain.example.com/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-07 16:03:06.671 ***
bOb@domain.example.com/res2 out
<iq type='set' id='ffab0a6805dd2842bd75b38ac3229572'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-07 16:03:06.671 ***
bOb@domain.example.com/res2 in
<iq id='ffab0a6805dd2842bd75b38ac3229572' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-03-07 16:03:06.671 ***
bOb@domain.example.com/res2 out
<iq type='set' id='f73ff36fe4e4f3f8008bcc862b70e5fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:06.671 ***
bOb@domain.example.com/res2 in
<iq type='result' id='f73ff36fe4e4f3f8008bcc862b70e5fe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:03:06.671 ***
bOb@domain.example.com/res2 out
<presence/>



*** User 2022-03-07 16:03:06.672 ***
bOb@domain.example.com/res2 in
<presence from='bOb@domain.example.com/res2' to='bob@domain.example.com/res2' xml:lang='en'/>



*** User 2022-03-07 16:03:06.672 ***
bOb@domain.example.com/res2 in
<presence from='bob@domain.example.com/res1' to='bOb@domain.example.com/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:03:06Z' from='bob@domain.example.com/res1'/>
</presence>



*** User 2022-03-07 16:03:06.672 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res2' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:03:06.819 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_message_chat alicE@domain.example.com/res1 bOb@domain.example.com/res1 Hi Bob!
Result []
ExitStatus 0

*** User 2022-03-07 16:03:06.819 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='chat' id='99d5199e9d80bc20'>
	<body>Hi Bob!</body>
</message>



*** User 2022-03-07 16:03:06.961 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_message_headline alicE@domain.example.com/res1 bOb@domain.example.com Subj Hi Bob!!
Result []
ExitStatus 0

*** User 2022-03-07 16:03:06.961 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='headline' id='a9313f2e66017d4f'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-03-07 16:03:06.961 ***
bOb@domain.example.com/res2 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res2' type='headline' id='a9313f2e66017d4f'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-03-07 16:03:06.961 ***
bOb@domain.example.com/res2 out
</stream:stream>

*** User 2022-03-07 16:03:06.961 ***
bOb@domain.example.com/res2 in
</stream:stream>

*** User 2022-03-07 16:03:06.961 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:03:06.962 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-07 16:03:06.962 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:03:06.962 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-07 16:03:06.965 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_502.html
*** CT 2022-03-07 16:03:06.966 *** View log from node mongooseim@localhost when finished mongooseim@localhost_964.html



=== Ended at 2022-03-07 16:03:06
=== successfully completed test case
=== === Returned value: ok


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