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

=== Config value:

    [{watchdog,<0.22865.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-25_16.30.05/mongooseimctl_suite.send_stanzac2s_wrong.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-25_16.30.05/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:30:24


*** CT 2022-01-25 16:30:24.388 *** View log from node mongooseim@localhost when started mongooseim@localhost_5007.html
*** CT 2022-01-25 16:30:24.388 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2339.html

*** User 2022-01-25 16:30:24.390 ***
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-01-25 16:30:24.391 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c04436c8ad6602bc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:30:24.391 ***
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-01-25 16:30:24.391 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:30:24.392 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:30:24.392 ***
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-01-25 16:30:24.393 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='228400889f65f37f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:30:24.393 ***
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-01-25 16:30:24.393 ***
alicE@localhost/res1 out
<iq type='set' id='c3b949f642827ca6b8802ec2c728261e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:30:24.393 ***
alicE@localhost/res1 in
<iq id='c3b949f642827ca6b8802ec2c728261e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:30:24.393 ***
alicE@localhost/res1 out
<iq type='set' id='5cfed774cd52ea908346d0d38fa1e400'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:30:24.393 ***
alicE@localhost/res1 in
<iq type='result' id='5cfed774cd52ea908346d0d38fa1e400'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:30:24.394 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-25 16:30:24.395 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:30:24.396 ***
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-01-25 16:30:24.396 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b180b453a6c22c6f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:30:24.396 ***
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-01-25 16:30:24.396 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:30:24.397 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:30:24.398 ***
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-01-25 16:30:24.398 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a8534ac96bbf6e0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:30:24.398 ***
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-01-25 16:30:24.398 ***
bOb@localhost/res1 out
<iq type='set' id='6db81e504656cd68b1244aa1cb7caa0c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:30:24.398 ***
bOb@localhost/res1 in
<iq id='6db81e504656cd68b1244aa1cb7caa0c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:30:24.398 ***
bOb@localhost/res1 out
<iq type='set' id='335b6938c587b132fbace8faaf892407'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:30:24.398 ***
bOb@localhost/res1 in
<iq type='result' id='335b6938c587b132fbace8faaf892407'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:30:24.399 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-25 16:30:24.400 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:30:24.621 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_stanza_c2s bobby_the_great localhost res1 Hi
Result "User bobby_the_great@localhost/res1 does not exist\n"
ExitStatus 1

*** User 2022-01-25 16:30:24.893 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_stanza_c2s bOb localhost res1 
Result "Stanza is incorrect\n"
ExitStatus 1

*** User 2022-01-25 16:30:24.893 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:30:24.894 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:30:24.894 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:30:24.894 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:30:24.897 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2339.html
*** CT 2022-01-25 16:30:24.898 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5007.html



=== Ended at 2022-01-25 16:30:24
=== successfully completed test case
=== === Returned value: ok


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