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

=== Config value:

    [{watchdog,<0.22298.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/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@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:02:26


*** CT 2022-05-11 09:02:26.199 *** View log from node mongooseim@localhost when started mongooseim@localhost_1931.html
*** CT 2022-05-11 09:02:26.200 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_492.html

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

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



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



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

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



*** User 2022-05-11 09:02:26.204 ***
alicE@domain.example.com/res1 in
<iq id='0f311521a36c6c8b09bfb6b9ab24053d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2022-05-11 09:02:26.204 ***
alicE@domain.example.com/res1 out
<presence/>



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

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



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



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

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



*** User 2022-05-11 09:02:26.208 ***
bOb@domain.example.com/res1 in
<iq id='2be63ed19d4c06ca37edaf021b214f8d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2022-05-11 09:02:26.209 ***
bOb@domain.example.com/res1 out
<presence/>



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

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



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



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

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



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



*** User 2022-05-11 09:02:26.212 ***
bOb@domain.example.com/res2 out
<iq type='set' id='4bfb0016fa02ed9bc5fc639455efb426'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:26.213 ***
bOb@domain.example.com/res2 in
<iq type='result' id='4bfb0016fa02ed9bc5fc639455efb426'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:26.213 ***
bOb@domain.example.com/res2 out
<presence/>



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



*** User 2022-05-11 09:02:26.214 ***
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-11 09:02:26.420 ***
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-11 09:02:26.420 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='chat' id='190250ba0357d448'>
	<body>Hi Bob!</body>
</message>



*** User 2022-05-11 09:02:26.606 ***
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-11 09:02:26.606 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='headline' id='9beae18fad5e5497'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-05-11 09:02:26.606 ***
bOb@domain.example.com/res2 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res2' type='headline' id='9beae18fad5e5497'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-05-11 09:02:26.606 ***
bOb@domain.example.com/res2 out
</stream:stream>

*** User 2022-05-11 09:02:26.607 ***
bOb@domain.example.com/res2 in
</stream:stream>

*** User 2022-05-11 09:02:26.607 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:02:26.607 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:02:26.607 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:02:26.607 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:02:26.610 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_492.html
*** CT 2022-05-11 09:02:26.611 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1931.html



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


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