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

=== Config value:

    [{watchdog,<0.16846.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-04_11.22.38/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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-04_11.22.38/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:22:51


*** CT 2022-03-04 11:22:51.866 *** View log from node mongooseim@localhost when started mongooseim@localhost_1912.html
*** CT 2022-03-04 11:22:51.866 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_606.html

*** User 2022-03-04 11:22:51.868 ***
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-04 11:22:51.868 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ffe515f61eb665d7' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-04 11:22:51.870 ***
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-04 11:22:51.870 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bbe487855c138015' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:51.870 ***
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-04 11:22:51.870 ***
alicE@domain.example.com/res1 out
<iq type='set' id='36be7c4b37c0560874faae1e1b67ae05'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:51.871 ***
alicE@domain.example.com/res1 in
<iq id='36be7c4b37c0560874faae1e1b67ae05' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:51.871 ***
alicE@domain.example.com/res1 out
<iq type='set' id='1f339dfce9e01808b2d75b22e58173b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:51.871 ***
alicE@domain.example.com/res1 in
<iq type='result' id='1f339dfce9e01808b2d75b22e58173b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:51.871 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:22:51.872 ***
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-04 11:22:51.873 ***
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-04 11:22:51.873 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4947f1b0feff73e' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-04 11:22:51.874 ***
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-04 11:22:51.875 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33dc41f1e8cb47d5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:51.875 ***
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-04 11:22:51.875 ***
bOb@domain.example.com/res1 out
<iq type='set' id='4421775bd1af0667545292449f5fa5b2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:51.875 ***
bOb@domain.example.com/res1 in
<iq id='4421775bd1af0667545292449f5fa5b2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:51.875 ***
bOb@domain.example.com/res1 out
<iq type='set' id='410f73ce37462b863c0c96afcbcbb33b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:51.875 ***
bOb@domain.example.com/res1 in
<iq type='result' id='410f73ce37462b863c0c96afcbcbb33b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:51.875 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:22:51.877 ***
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-04 11:22:51.877 ***
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-04 11:22:51.877 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6bf5edad400f77cc' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-04 11:22:51.879 ***
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-04 11:22:51.879 ***
bOb@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bdac84abc7ea5649' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:22:51.879 ***
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-04 11:22:51.879 ***
bOb@domain.example.com/res2 out
<iq type='set' id='1f37bd4881347c15df58d736fb452a6b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-04 11:22:51.879 ***
bOb@domain.example.com/res2 in
<iq id='1f37bd4881347c15df58d736fb452a6b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-03-04 11:22:51.879 ***
bOb@domain.example.com/res2 out
<iq type='set' id='4a96356ad67235802085d06b0b64d7b7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:51.879 ***
bOb@domain.example.com/res2 in
<iq type='result' id='4a96356ad67235802085d06b0b64d7b7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:22:51.879 ***
bOb@domain.example.com/res2 out
<presence/>



*** User 2022-03-04 11:22:51.881 ***
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-04 11:22:51.881 ***
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-04T11:22:51Z' from='bob@domain.example.com/res1'/>
</presence>



*** User 2022-03-04 11:22:51.881 ***
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-04 11:22:52.057 ***
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-04 11:22:52.057 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='chat' id='8c18b63cedf91ab2'>
	<body>Hi Bob!</body>
</message>



*** User 2022-03-04 11:22:52.241 ***
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-04 11:22:52.241 ***
bOb@domain.example.com/res1 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res1' type='headline' id='88cffd92747394fe'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-03-04 11:22:52.242 ***
bOb@domain.example.com/res2 in
<message from='alicE@domain.example.com/res1' to='bOb@domain.example.com/res2' type='headline' id='88cffd92747394fe'>
	<subject>Subj</subject>
	<body>Hi Bob!!</body>
</message>



*** User 2022-03-04 11:22:52.242 ***
bOb@domain.example.com/res2 out
</stream:stream>

*** User 2022-03-04 11:22:52.242 ***
bOb@domain.example.com/res2 in
</stream:stream>

*** User 2022-03-04 11:22:52.242 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:22:52.242 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:22:52.243 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:22:52.243 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:22:52.245 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_606.html
*** CT 2022-03-04 11:22:52.246 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1912.html



=== Ended at 2022-03-04 11:22:52
=== successfully completed test case
=== === Returned value: ok


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