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

=== Config value:

    [{watchdog,<0.22018.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/mongooseimctl_suite.sessions_info.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/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@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:02:19


*** CT 2022-05-11 09:02:19.144 *** View log from node mongooseim@localhost when started mongooseim@localhost_1931.html
*** CT 2022-05-11 09:02:19.145 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_492.html

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

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



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



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

*** User 2022-05-11 09:02:19.150 ***
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-11 09:02:19.150 ***
alicE@domain.example.com/res1 out
<iq type='set' id='1f275947cbc1d3505a1ed4e395de3a16'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:19.150 ***
alicE@domain.example.com/res1 in
<iq id='1f275947cbc1d3505a1ed4e395de3a16' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:19.150 ***
alicE@domain.example.com/res1 out
<iq type='set' id='c16cb734c2cbb60d347e6c24bedf9474'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:19.150 ***
alicE@domain.example.com/res1 in
<iq type='result' id='c16cb734c2cbb60d347e6c24bedf9474'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:19.150 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:02:19.151 ***
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-11 09:02:19.152 ***
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-05-11 09:02:19.152 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa82fb1609978cdc' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-05-11 09:02:19.153 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:02:19.153 ***
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-05-11 09:02:19.153 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c58fc026b136aa73' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:19.153 ***
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-05-11 09:02:19.153 ***
bOb@domain.example.com/res1 out
<iq type='set' id='4e75c804bae3457eac394ce8ed875963'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:19.154 ***
bOb@domain.example.com/res1 in
<iq id='4e75c804bae3457eac394ce8ed875963' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:19.154 ***
bOb@domain.example.com/res1 out
<iq type='set' id='cbb6aa997bd7b60f926e9e083a3cac7e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:19.154 ***
bOb@domain.example.com/res1 in
<iq type='result' id='cbb6aa997bd7b60f926e9e083a3cac7e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:19.154 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:02:19.155 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:19.156 ***
kate@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-11 09:02:19.156 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec4b3d3b90144278' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:19.156 ***
kate@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-11 09:02:19.156 ***
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-05-11 09:02:19.157 ***
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:02:19.157 ***
kate@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-11 09:02:19.157 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='70b6fdb22bb4c28c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:19.157 ***
kate@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-11 09:02:19.157 ***
kate@domain.example.com/res1 out
<iq type='set' id='a118fdbdd9dd07d306fcc2abbcd6b2af'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:19.158 ***
kate@domain.example.com/res1 in
<iq id='a118fdbdd9dd07d306fcc2abbcd6b2af' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:19.158 ***
kate@domain.example.com/res1 out
<iq type='set' id='0b298fd2ef620ff7f04e6ce41c3e8ced'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:19.158 ***
kate@domain.example.com/res1 in
<iq type='result' id='0b298fd2ef620ff7f04e6ce41c3e8ced'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:19.158 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:02:19.159 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:19.159 ***
bOb@domain.example.com/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-05-11 09:02:19.345 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "kate@domain.example.com/res1\tc2s\t127.0.0.1\t44746\t0\tmongooseim@localhost\t0\nbob@domain.example.com/res1\tc2s\t127.0.0.1\t44744\t0\tmongooseim@localhost\t0\nalice@domain.example.com/res1\tc2s\t127.0.0.1\t44740\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-11 09:02:19.547 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost domain.example.com
Result "kate@domain.example.com/res1\tc2s\t127.0.0.1\t44746\t0\tmongooseim@localhost\t0\nbob@domain.example.com/res1\tc2s\t127.0.0.1\t44744\t0\tmongooseim@localhost\t0\nalice@domain.example.com/res1\tc2s\t127.0.0.1\t44740\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-11 09:02:19.764 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost domain.example.org
Result []
ExitStatus 0

*** User 2022-05-11 09:02:19.952 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  user_sessions_info alicE domain.example.com
Result "alice@domain.example.com/res1\tc2s\t127.0.0.1\t44740\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-11 09:02:19.952 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:02:19.952 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:02:19.953 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:02:19.953 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:02:19.953 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:02:19.953 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:02:19.956 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_492.html
*** CT 2022-05-11 09:02:19.956 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1931.html



=== Ended at 2022-05-11 09:02:19
=== successfully completed test case
=== === Returned value: ok


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