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

=== Config value:

    [{watchdog,<0.7518.1>},
     {ctl_auth_mods,[ejabberd_auth_internal,ejabberd_auth_anonymous,
                     ejabberd_auth_internal]},
     {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,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1d2c55569403.2022-05-25_09.03.50/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.54/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@1d2c55569403.2022-05-25_09.03.50/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.54/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@1d2c55569403.2022-05-25_09.03.50"

=== Started at 2022-05-25 09:11:00


*** CT 2022-05-25 09:11:00.472 *** View log from node mongooseim@localhost when started mongooseim@localhost_4659.html
*** CT 2022-05-25 09:11:00.473 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1977.html

*** User 2022-05-25 09:11:00.474 ***
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-05-25 09:11:00.474 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39d84cbd64ffca74' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-05-25 09:11:00.475 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:00.475 ***
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-05-25 09:11:00.475 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7506e1a771525494' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.475 ***
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-05-25 09:11:00.475 ***
alicE@localhost/res1 out
<iq type='set' id='8ea0856be000dc7eff6a88700f24361d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.476 ***
alicE@localhost/res1 in
<iq id='8ea0856be000dc7eff6a88700f24361d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.476 ***
alice@localhost/res1 out
<iq type='set' id='e1e699f07ec6f83da4aaa872bac584ee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.476 ***
alice@localhost/res1 in
<iq type='result' id='e1e699f07ec6f83da4aaa872bac584ee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.476 ***
alice@localhost/res1 out
<presence/>



*** User 2022-05-25 09:11:00.476 ***
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:00.477 ***
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-05-25 09:11:00.477 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='559649e397782dd4' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-05-25 09:11:00.478 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:00.478 ***
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-05-25 09:11:00.478 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a005121cad0a56c8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.478 ***
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-05-25 09:11:00.478 ***
bOb@localhost/res1 out
<iq type='set' id='04b8f6aa40406c0552254e06289957b6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.479 ***
bOb@localhost/res1 in
<iq id='04b8f6aa40406c0552254e06289957b6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.479 ***
bob@localhost/res1 out
<iq type='set' id='237e7ce30406e6c151fedaf05fc52be8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.479 ***
bob@localhost/res1 in
<iq type='result' id='237e7ce30406e6c151fedaf05fc52be8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.479 ***
bob@localhost/res1 out
<presence/>



*** User 2022-05-25 09:11:00.480 ***
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:00.480 ***
kate@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-05-25 09:11:00.481 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9bcf059f0f0aa28b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.481 ***
kate@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-05-25 09:11:00.481 ***
kate@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-05-25 09:11:00.481 ***
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:00.481 ***
kate@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-05-25 09:11:00.481 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec1af2c5ec7000ea' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.481 ***
kate@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-05-25 09:11:00.481 ***
kate@localhost/res1 out
<iq type='set' id='2701efa75c5ec5115d0a8fc292668e19'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.482 ***
kate@localhost/res1 in
<iq id='2701efa75c5ec5115d0a8fc292668e19' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.482 ***
kate@localhost/res1 out
<iq type='set' id='7d6eb552fce98722dff941b99922f427'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.482 ***
kate@localhost/res1 in
<iq type='result' id='7d6eb552fce98722dff941b99922f427'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.482 ***
kate@localhost/res1 out
<presence/>



*** User 2022-05-25 09:11:00.483 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:00.483 ***
bob@localhost/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-05-25 09:11:00.649 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "bob@localhost/res1\tc2s\t127.0.0.1\t33432\t0\tmongooseim@localhost\t0\nkate@localhost/res1\tc2s\t127.0.0.1\t33436\t0\tmongooseim@localhost\t0\nalice@localhost/res1\tc2s\t127.0.0.1\t33430\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-25 09:11:00.826 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost localhost
Result "bob@localhost/res1\tc2s\t127.0.0.1\t33432\t0\tmongooseim@localhost\t0\nkate@localhost/res1\tc2s\t127.0.0.1\t33436\t0\tmongooseim@localhost\t0\nalice@localhost/res1\tc2s\t127.0.0.1\t33430\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-25 09:11:00.991 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost localhost.bis
Result []
ExitStatus 0

*** User 2022-05-25 09:11:01.163 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  user_sessions_info alice localhost
Result "alice@localhost/res1\tc2s\t127.0.0.1\t33430\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-25 09:11:01.163 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-05-25 09:11:01.164 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-05-25 09:11:01.164 ***
bob@localhost/res1 out
</stream:stream>

*** User 2022-05-25 09:11:01.164 ***
bob@localhost/res1 in
</stream:stream>

*** User 2022-05-25 09:11:01.164 ***
alice@localhost/res1 out
</stream:stream>

*** User 2022-05-25 09:11:01.164 ***
alice@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 09:11:01.166 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1977.html
*** CT 2022-05-25 09:11:01.167 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4659.html



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


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