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

=== Config value:

    [{watchdog,<0.18511.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.44/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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.44/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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:55:53


*** CT 2022-03-18 10:55:53.144 *** View log from node mongooseim@localhost when started mongooseim@localhost_998.html
*** CT 2022-03-18 10:55:53.144 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_499.html

*** User 2022-03-18 10:55:53.146 ***
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-03-18 10:55:53.146 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='44ede5cc7cff102d' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-03-18 10:55:53.148 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:53.148 ***
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-03-18 10:55:53.148 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec058c14e1fee850' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:53.148 ***
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-03-18 10:55:53.148 ***
alicE@domain.example.com/res1 out
<iq type='set' id='983d66ffa13406525d6d0aca079712c6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:53.148 ***
alicE@domain.example.com/res1 in
<iq id='983d66ffa13406525d6d0aca079712c6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:53.148 ***
alicE@domain.example.com/res1 out
<iq type='set' id='5826af4538f8b0b3e35a23e4c534ff44'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:53.148 ***
alicE@domain.example.com/res1 in
<iq type='result' id='5826af4538f8b0b3e35a23e4c534ff44'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:53.149 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:55:53.150 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:53.150 ***
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-03-18 10:55:53.150 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ce6d7797bee8853' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:53.150 ***
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-03-18 10:55:53.151 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:55:53.151 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:53.151 ***
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-03-18 10:55:53.151 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04ee3c3aea7959cb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:53.151 ***
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-03-18 10:55:53.152 ***
bOb@domain.example.com/res1 out
<iq type='set' id='04127565a87efd436b799188b3e3c9be'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:53.152 ***
bOb@domain.example.com/res1 in
<iq id='04127565a87efd436b799188b3e3c9be' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:53.152 ***
bOb@domain.example.com/res1 out
<iq type='set' id='0893a252ecb30b487470377a5cf19c45'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:53.158 ***
bOb@domain.example.com/res1 in
<iq type='result' id='0893a252ecb30b487470377a5cf19c45'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:53.158 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:55:53.161 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:53.162 ***
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-03-18 10:55:53.163 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='697090a59b7b470b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:53.164 ***
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-03-18 10:55:53.164 ***
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-03-18 10:55:53.167 ***
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:53.167 ***
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-03-18 10:55:53.168 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d97e6374906e7b43' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:53.168 ***
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-03-18 10:55:53.168 ***
kate@domain.example.com/res1 out
<iq type='set' id='96aaedfe41fcd5f5078cf2504744161e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:53.168 ***
kate@domain.example.com/res1 in
<iq id='96aaedfe41fcd5f5078cf2504744161e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:53.168 ***
kate@domain.example.com/res1 out
<iq type='set' id='8b596bb2c295aac2cf84712b4b62dbc5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:53.169 ***
kate@domain.example.com/res1 in
<iq type='result' id='8b596bb2c295aac2cf84712b4b62dbc5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:53.169 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:55:53.174 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:53.175 ***
bOb@domain.example.com/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-03-18 10:55:53.456 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "bob@domain.example.com/res1\tc2s\t127.0.0.1\t56730\t0\tmongooseim@localhost\t0\nkate@domain.example.com/res1\tc2s\t127.0.0.1\t56732\t0\tmongooseim@localhost\t0\nalice@domain.example.com/res1\tc2s\t127.0.0.1\t56728\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-03-18 10:55:53.745 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost domain.example.com
Result "bob@domain.example.com/res1\tc2s\t127.0.0.1\t56730\t0\tmongooseim@localhost\t0\nkate@domain.example.com/res1\tc2s\t127.0.0.1\t56732\t0\tmongooseim@localhost\t0\nalice@domain.example.com/res1\tc2s\t127.0.0.1\t56728\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-03-18 10:55:54.031 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost domain.example.org
Result []
ExitStatus 0

*** User 2022-03-18 10:55:54.330 ***
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\t56728\t0\tmongooseim@localhost\t1\n"
ExitStatus 0

*** User 2022-03-18 10:55:54.331 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:55:54.331 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:55:54.331 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:55:54.332 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:55:54.332 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:55:54.332 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:55:54.334 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_499.html
*** CT 2022-03-18 10:55:54.335 *** View log from node mongooseim@localhost when finished mongooseim@localhost_998.html



=== Ended at 2022-03-18 10:55:54
=== successfully completed test case
=== === Returned value: ok


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