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

=== Config value:

    [{watchdog,<0.22541.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.53/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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.53/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:11:07


*** CT 2022-05-25 09:11:07.298 *** View log from node mongooseim@localhost when started mongooseim@localhost_1866.html
*** CT 2022-05-25 09:11:07.299 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-05-25 09:11:07.300 ***
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-05-25 09:11:07.301 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b24cd80e1a10c2e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:07.301 ***
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-05-25 09:11:07.301 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 09:11:07.303 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:07.303 ***
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-05-25 09:11:07.303 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b8f5371d8400d13f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:07.303 ***
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-05-25 09:11:07.303 ***
alicE@domain.example.com/res1 out
<iq type='set' id='96c9ddeeba983cb58ba02ec2069b742a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:07.303 ***
alicE@domain.example.com/res1 in
<iq id='96c9ddeeba983cb58ba02ec2069b742a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:07.303 ***
alice@domain.example.com/res1 out
<iq type='set' id='c75f50dc74eff476d32fec5aa6d70284'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:07.304 ***
alice@domain.example.com/res1 in
<iq type='result' id='c75f50dc74eff476d32fec5aa6d70284'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:07.304 ***
alice@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:11:07.305 ***
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:07.306 ***
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-05-25 09:11:07.306 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bdfdb9aaf276674' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:07.307 ***
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-05-25 09:11:07.307 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 09:11:07.308 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:07.308 ***
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-05-25 09:11:07.308 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62f7e887ee6564ba' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:07.308 ***
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-05-25 09:11:07.308 ***
bOb@domain.example.com/res1 out
<iq type='set' id='39244e7ee467fd12cf1755bb2b78af2d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:07.309 ***
bOb@domain.example.com/res1 in
<iq id='39244e7ee467fd12cf1755bb2b78af2d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:07.309 ***
bob@domain.example.com/res1 out
<iq type='set' id='faf1aaf0af0d5f1a449f72ecb1882f40'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:07.309 ***
bob@domain.example.com/res1 in
<iq type='result' id='faf1aaf0af0d5f1a449f72ecb1882f40'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:07.309 ***
bob@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:11:07.311 ***
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:07.311 ***
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-05-25 09:11:07.311 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7c500dca2bb5b14' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:07.311 ***
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-05-25 09:11:07.312 ***
bOb@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 09:11:07.312 ***
bOb@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:07.313 ***
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-05-25 09:11:07.313 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='49f8506d67b904c6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:07.313 ***
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-05-25 09:11:07.313 ***
bOb@domain.example.com/res2 out
<iq type='set' id='5877b90050ff7143509a80f13cd27352'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:07.313 ***
bOb@domain.example.com/res2 in
<iq id='5877b90050ff7143509a80f13cd27352' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:07.313 ***
bob@domain.example.com/res2 out
<iq type='set' id='eaed18384fcf16ec9c8880d9966d2be2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:07.313 ***
bob@domain.example.com/res2 in
<iq type='result' id='eaed18384fcf16ec9c8880d9966d2be2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:07.313 ***
bob@domain.example.com/res2 out
<presence/>



*** User 2022-05-25 09:11:07.315 ***
bob@domain.example.com/res2 in
<presence from='bob@domain.example.com/res2' to='bob@domain.example.com/res2' xml:lang='en'/>



*** User 2022-05-25 09:11:07.315 ***
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-05-25T09:11:07Z' from='bob@domain.example.com/res1'/>
</presence>



*** User 2022-05-25 09:11:07.315 ***
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res2' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:07.498 ***
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-05-25 09:11:07.498 ***
bob@domain.example.com/res1 in
<message from='alice@domain.example.com/res1' to='bob@domain.example.com/res1' type='chat' id='f6c7d9dc1ce4b7d3'>
	<body>Hi Bob!</body>
</message>



*** User 2022-05-25 09:11:07.682 ***
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-05-25 09:11:07.682 ***
bob@domain.example.com/res1 in
<message from='alice@domain.example.com/res1' to='bob@domain.example.com/res1' type='headline' id='9aa39aed053e8f6a'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-05-25 09:11:07.683 ***
bob@domain.example.com/res2 in
<message from='alice@domain.example.com/res1' to='bob@domain.example.com/res2' type='headline' id='9aa39aed053e8f6a'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-05-25 09:11:07.683 ***
bob@domain.example.com/res2 out
</stream:stream>

*** User 2022-05-25 09:11:07.683 ***
bob@domain.example.com/res2 in
</stream:stream>

*** User 2022-05-25 09:11:07.683 ***
bob@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:11:07.684 ***
bob@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:11:07.684 ***
alice@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:11:07.684 ***
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:11:07.686 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-05-25 09:11:07.687 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1866.html



=== Ended at 2022-05-25 09:11:07
=== successfully completed test case
=== === Returned value: ok


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