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

=== Config value:

    [{watchdog,<0.22261.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.53/mongooseimctl_suite.kick_session.html"},
     {tc_group_properties,[{name,sessions},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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.53/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:10:58


*** CT 2022-05-25 09:10:58.790 *** View log from node mongooseim@localhost when started mongooseim@localhost_1866.html
*** CT 2022-05-25 09:10:58.790 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-05-25 09:10:58.792 ***
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-25 09:10:58.793 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eac1def47e99d32f' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-05-25 09:10:58.794 ***
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-25 09:10:58.795 ***
alicE@domain.example.com/res1 out
<iq type='set' id='43a1e5a49f9131672822af40fbd89d69'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:10:58.795 ***
alicE@domain.example.com/res1 in
<iq id='43a1e5a49f9131672822af40fbd89d69' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:10:58.795 ***
alice@domain.example.com/res1 out
<iq type='set' id='c08eb604ac51cffc0c55a50c3186c300'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:10:58.795 ***
alice@domain.example.com/res1 in
<iq type='result' id='c08eb604ac51cffc0c55a50c3186c300'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:10:58.795 ***
alice@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:10:58.797 ***
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-25 09:10:58.975 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  kick_session alice domain.example.com res1 Because I can!
Result "Session kicked\n"
ExitStatus 0

*** User 2022-05-25 09:10:58.975 ***
alice@domain.example.com/res1 in
<stream:error>
	<conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
	<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>Because I can!</text>
</stream:error>


*** CT 2022-05-25 09:10:58.978 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-05-25 09:10:58.979 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1866.html



=== Ended at 2022-05-25 09:10:58
=== successfully completed test case
=== === Returned value: ok


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