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

=== Config value:

    [{watchdog,<0.8247.1>},
     {ctl_auth_mods,[ejabberd_auth_internal,ejabberd_auth_anonymous,
                     ejabberd_auth_internal]},
     {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,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-06-22_09.24.37/mongooseimctl_suite.send_message_wrong_jid.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-06-22_09.24.37/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:25:33


*** CT 2022-06-22 09:25:33.650 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4113.html
*** CT 2022-06-22 09:25:33.651 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_1994.html

*** User 2022-06-22 09:25:33.652 ***🔗
alicE@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:25:33.653 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eebb6b7410be09e0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:25:33.653 ***🔗
alicE@localhost/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-06-22 09:25:33.653 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 09:25:33.653 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:25:33.653 ***🔗
alicE@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:25:33.654 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1799d6d4d0d3e32' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:25:33.654 ***🔗
alicE@localhost/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-06-22 09:25:33.654 ***🔗
alicE@localhost/res1 out
<iq type='set' id='c97eb543ecc3ffbe3854a0ee38010cb5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:25:33.654 ***🔗
alicE@localhost/res1 in
<iq id='c97eb543ecc3ffbe3854a0ee38010cb5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:25:33.654 ***🔗
alice@localhost/res1 out
<iq type='set' id='cb1514d5aad3d0a064e43c30be28a307'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:25:33.654 ***🔗
alice@localhost/res1 in
<iq type='result' id='cb1514d5aad3d0a064e43c30be28a307'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:25:33.654 ***🔗
alice@localhost/res1 out
<presence/>



*** User 2022-06-22 09:25:33.655 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:25:33.656 ***🔗
bOb@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:25:33.656 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82867c2801be7bab' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:25:33.657 ***🔗
bOb@localhost/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-06-22 09:25:33.657 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 09:25:33.657 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:25:33.657 ***🔗
bOb@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:25:33.657 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69745a31bb5b1142' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:25:33.657 ***🔗
bOb@localhost/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-06-22 09:25:33.657 ***🔗
bOb@localhost/res1 out
<iq type='set' id='2fa258c258c951e7422309cc676db03d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:25:33.657 ***🔗
bOb@localhost/res1 in
<iq id='2fa258c258c951e7422309cc676db03d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:25:33.658 ***🔗
bob@localhost/res1 out
<iq type='set' id='ef7d3e195b9f43402c3eff0c5f58da24'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:25:33.658 ***🔗
bob@localhost/res1 in
<iq type='result' id='ef7d3e195b9f43402c3eff0c5f58da24'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:25:33.658 ***🔗
bob@localhost/res1 out
<presence/>



*** User 2022-06-22 09:25:33.658 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:25:33.902 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_message_chat @@#$%!!.§§£ bob@localhost/res1 Hello bobby!
Result "Sender JID is invalid\n"
ExitStatus 1

*** User 2022-06-22 09:25:34.134 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_message_headline %%@&@&@==///// bob@localhost Subj Are
                                                       you there?
Result "Sender JID is invalid\n"
ExitStatus 1

*** User 2022-06-22 09:25:34.134 ***🔗
bob@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:25:34.135 ***🔗
bob@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:25:34.135 ***🔗
alice@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:25:34.135 ***🔗
alice@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:25:34.137 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1994.html
*** CT 2022-06-22 09:25:34.137 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4113.html



=== Ended at 2022-06-22 09:25:34
=== successfully completed test case
=== === Returned value: ok


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