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

=== Config value:

    [{watchdog,<0.14760.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_12.33.46/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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_12.33.46/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:34:04


*** CT 2022-01-27 12:34:04.505 *** View log from node mongooseim@localhost when started mongooseim@localhost_1852.html
*** CT 2022-01-27 12:34:04.506 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_617.html

*** User 2022-01-27 12:34:04.507 ***
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-01-27 12:34:04.508 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='753e34b1b877e650' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:34:04.508 ***
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-01-27 12:34:04.508 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:34:04.510 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:34:04.510 ***
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-01-27 12:34:04.510 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='286f8d84f06b4be6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:34:04.510 ***
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-01-27 12:34:04.511 ***
alicE@domain.example.com/res1 out
<iq type='set' id='5cf356596ae43ce7fe033d3fd1ba6e23'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:34:04.511 ***
alicE@domain.example.com/res1 in
<iq id='5cf356596ae43ce7fe033d3fd1ba6e23' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:34:04.511 ***
alicE@domain.example.com/res1 out
<iq type='set' id='1653325bbc26283e11a868de2b8ca540'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:34:04.511 ***
alicE@domain.example.com/res1 in
<iq type='result' id='1653325bbc26283e11a868de2b8ca540'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:34:04.511 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:34:04.513 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:34:04.514 ***
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-01-27 12:34:04.514 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7642e409e0683c96' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:34:04.515 ***
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-01-27 12:34:04.515 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:34:04.516 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:34:04.516 ***
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-01-27 12:34:04.516 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b7ce0f6d7f686e5d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:34:04.517 ***
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-01-27 12:34:04.517 ***
bOb@domain.example.com/res1 out
<iq type='set' id='b6f6c9461696e33b624b234c902f6bd0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:34:04.517 ***
bOb@domain.example.com/res1 in
<iq id='b6f6c9461696e33b624b234c902f6bd0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:34:04.517 ***
bOb@domain.example.com/res1 out
<iq type='set' id='d0c9bd0ef369501c3013c001e586f795'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:34:04.517 ***
bOb@domain.example.com/res1 in
<iq type='result' id='d0c9bd0ef369501c3013c001e586f795'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:34:04.518 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:34:04.520 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:34:04.520 ***
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-01-27 12:34:04.521 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c286abbe9453c341' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:34:04.521 ***
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-01-27 12:34:04.521 ***
bOb@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:34:04.522 ***
bOb@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:34:04.523 ***
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-01-27 12:34:04.523 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f291be5be3379018' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:34:04.523 ***
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-01-27 12:34:04.523 ***
bOb@domain.example.com/res2 out
<iq type='set' id='7d776e5df724218863719d5c80374de9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-27 12:34:04.523 ***
bOb@domain.example.com/res2 in
<iq id='7d776e5df724218863719d5c80374de9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-01-27 12:34:04.523 ***
bOb@domain.example.com/res2 out
<iq type='set' id='7d708b0aa7e937cd5bfe9d87c92d8b8a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:34:04.524 ***
bOb@domain.example.com/res2 in
<iq type='result' id='7d708b0aa7e937cd5bfe9d87c92d8b8a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:34:04.524 ***
bOb@domain.example.com/res2 out
<presence/>



*** User 2022-01-27 12:34:04.526 ***
bOb@domain.example.com/res2 in
<presence from='bOb@domain.example.com/res2' to='bob@domain.example.com/res2' xml:lang='en'/>



*** User 2022-01-27 12:34:04.526 ***
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-01-27T12:34:04Z' from='bob@domain.example.com/res1'/>
</presence>



*** User 2022-01-27 12:34:04.526 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res2' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:34:04.758 ***
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-01-27 12:34:04.758 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='chat' id='11f3969df5ae3db8'>
	<body>Hi Bob!</body>
</message>



*** User 2022-01-27 12:34:05.035 ***
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-01-27 12:34:05.035 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='headline' id='bc47c34d7a564650'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-01-27 12:34:05.035 ***
bOb@domain.example.com/res2 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res2' type='headline' id='bc47c34d7a564650'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-01-27 12:34:05.035 ***
bOb@domain.example.com/res2 out
</stream:stream>

*** User 2022-01-27 12:34:05.036 ***
bOb@domain.example.com/res2 in
</stream:stream>

*** User 2022-01-27 12:34:05.036 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:34:05.044 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:34:05.044 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:34:05.044 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:34:05.047 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_617.html
*** CT 2022-01-27 12:34:05.048 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1852.html



=== Ended at 2022-01-27 12:34:05
=== successfully completed test case
=== === Returned value: ok


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