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

=== Config value:

    [{watchdog,<0.28597.0>},
     {ctl_auth_mods,[ejabberd_auth_ldap,ejabberd_auth_anonymous,
                     ejabberd_auth_ldap]},
     {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,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.29.38/mongooseimctl_suite.send_stanza.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.29.38/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@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:30:25


*** CT 2022-01-27 15:30:25.975 *** View log from node mongooseim@localhost when started mongooseim@localhost_4087.html
*** CT 2022-01-27 15:30:25.976 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2287.html

*** User 2022-01-27 15:30:25.977 ***
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-27 15:30:25.978 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b80e5f857e720ee0' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-27 15:30:25.979 ***
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-27 15:30:25.979 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d2ef315de2075b2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:30:25.980 ***
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-27 15:30:25.980 ***
alicE@localhost/res1 out
<iq type='set' id='8f59240c21cc4364a350e5c3501bd974'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:30:25.980 ***
alicE@localhost/res1 in
<iq id='8f59240c21cc4364a350e5c3501bd974' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:30:25.980 ***
alicE@localhost/res1 out
<iq type='set' id='18b73d3908920fff7aa926e34d554e8b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:25.980 ***
alicE@localhost/res1 in
<iq type='result' id='18b73d3908920fff7aa926e34d554e8b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:25.980 ***
alicE@localhost/res1 out
<presence/>



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



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

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



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



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

*** User 2022-01-27 15:30:25.983 ***
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-27 15:30:25.983 ***
bOb@localhost/res1 out
<iq type='set' id='89079a78dc625826a722b1d8642fccd2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:30:25.983 ***
bOb@localhost/res1 in
<iq id='89079a78dc625826a722b1d8642fccd2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:30:25.984 ***
bOb@localhost/res1 out
<iq type='set' id='a9e3c69b4f4936b8898b8727b100e273'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:25.984 ***
bOb@localhost/res1 in
<iq type='result' id='a9e3c69b4f4936b8898b8727b100e273'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:30:25.984 ***
bOb@localhost/res1 out
<presence/>



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



*** User 2022-01-27 15:30:26.130 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  send_stanza_c2s bOb localhost res1 Hi
Result "Stanza has been sent\n"
ExitStatus 0

*** User 2022-01-27 15:30:26.130 ***
alicE@localhost/res1 in
<message from='bOb@localhost/res1' to='alicE@localhost/res1' xml:lang='en' type='chat'>
	<body>Hi</body>
</message>



*** User 2022-01-27 15:30:26.130 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:30:26.131 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:30:26.131 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:30:26.131 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:30:26.133 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2287.html
*** CT 2022-01-27 15:30:26.133 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4087.html



=== Ended at 2022-01-27 15:30:26
=== successfully completed test case
=== === Returned value: ok


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