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

=== Config value:

    [{watchdog,<0.18792.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.44/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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.44/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@a072b68d2bee.2022-03-18_10.50.04"

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


*** CT 2022-03-18 10:56:02.363 *** View log from node mongooseim@localhost when started mongooseim@localhost_999.html
*** CT 2022-03-18 10:56:02.364 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_499.html

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

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



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



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

*** User 2022-03-18 10:56:02.369 ***
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-18 10:56:02.370 ***
alicE@domain.example.com/res1 out
<iq type='set' id='d486515e0f94d9a95e9244728a8362a1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:56:02.377 ***
alicE@domain.example.com/res1 in
<iq id='d486515e0f94d9a95e9244728a8362a1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:56:02.377 ***
alicE@domain.example.com/res1 out
<iq type='set' id='2eac45019a2ca4744d500251a00b7822'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:02.377 ***
alicE@domain.example.com/res1 in
<iq type='result' id='2eac45019a2ca4744d500251a00b7822'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:02.378 ***
alicE@domain.example.com/res1 out
<presence/>



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

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



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



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

*** User 2022-03-18 10:56:02.382 ***
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-18 10:56:02.382 ***
bOb@domain.example.com/res1 out
<iq type='set' id='01e8790365fe7283d4561a98a4d9d38d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:56:02.382 ***
bOb@domain.example.com/res1 in
<iq id='01e8790365fe7283d4561a98a4d9d38d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:56:02.383 ***
bOb@domain.example.com/res1 out
<iq type='set' id='822b8eeeaa0ea2c3ed96a682e89403c1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:02.383 ***
bOb@domain.example.com/res1 in
<iq type='result' id='822b8eeeaa0ea2c3ed96a682e89403c1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:02.383 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:56:02.384 ***
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-18 10:56:02.385 ***
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-18 10:56:02.385 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28d6e2fb4b7ddbab' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-18 10:56:02.386 ***
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-18 10:56:02.386 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a12cc14376f92fa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:56:02.387 ***
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-18 10:56:02.387 ***
bOb@domain.example.com/res2 out
<iq type='set' id='c7b43edccd47b90368af2d53f0245447'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-18 10:56:02.387 ***
bOb@domain.example.com/res2 in
<iq id='c7b43edccd47b90368af2d53f0245447' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-03-18 10:56:02.388 ***
bOb@domain.example.com/res2 out
<iq type='set' id='bd2673fbacfe551b7c5d037dfd795b94'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:02.388 ***
bOb@domain.example.com/res2 in
<iq type='result' id='bd2673fbacfe551b7c5d037dfd795b94'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:56:02.388 ***
bOb@domain.example.com/res2 out
<presence/>



*** User 2022-03-18 10:56:02.390 ***
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-18 10:56:02.390 ***
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-18T10:56:02Z' from='bob@domain.example.com/res1'/>
</presence>



*** User 2022-03-18 10:56:02.390 ***
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-18 10:56:02.656 ***
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-18 10:56:02.656 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='chat' id='64509bd0ddc76cc4'>
	<body>Hi Bob!</body>
</message>



*** User 2022-03-18 10:56:02.917 ***
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-18 10:56:02.917 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='headline' id='25dfdbfadbc5caf7'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-03-18 10:56:02.917 ***
bOb@domain.example.com/res2 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res2' type='headline' id='25dfdbfadbc5caf7'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-03-18 10:56:02.917 ***
bOb@domain.example.com/res2 out
</stream:stream>

*** User 2022-03-18 10:56:02.918 ***
bOb@domain.example.com/res2 in
</stream:stream>

*** User 2022-03-18 10:56:02.918 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:56:02.918 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:56:02.918 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:56:02.918 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:56:02.921 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_499.html
*** CT 2022-03-18 10:56:02.922 *** View log from node mongooseim@localhost when finished mongooseim@localhost_999.html



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


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