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

=== Config value:

    [{watchdog,<0.30326.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.36/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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-18_10.55.36/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@fbe05ecb9552.2022-03-18_10.50.03"

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


*** CT 2022-03-18 10:55:44.238 *** View log from node mongooseim@localhost when started mongooseim@localhost_3837.html
*** CT 2022-03-18 10:55:44.239 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1973.html

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

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



*** User 2022-03-18 10:55:44.242 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

*** User 2022-03-18 10:55:44.242 ***
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-03-18 10:55:44.242 ***
alicE@localhost/res1 out
<iq type='set' id='2b003c67cf5e6fa5ecb076c7715f364e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:44.242 ***
alicE@localhost/res1 in
<iq id='2b003c67cf5e6fa5ecb076c7715f364e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:44.242 ***
alicE@localhost/res1 out
<iq type='set' id='7909f735570df096447cd77f3b441b9b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:44.243 ***
alicE@localhost/res1 in
<iq type='result' id='7909f735570df096447cd77f3b441b9b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:44.243 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-18 10:55:44.243 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:44.244 ***
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-03-18 10:55:44.244 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f987d7e541c0426' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-18 10:55:44.245 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:44.245 ***
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-03-18 10:55:44.245 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77a235287133bb13' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:44.245 ***
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-03-18 10:55:44.246 ***
bOb@localhost/res1 out
<iq type='set' id='607ab9629b16c28e403170560b7b34d6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:44.246 ***
bOb@localhost/res1 in
<iq id='607ab9629b16c28e403170560b7b34d6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:44.246 ***
bOb@localhost/res1 out
<iq type='set' id='590c37eb28ed701fd2353d78037be3e4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:44.246 ***
bOb@localhost/res1 in
<iq type='result' id='590c37eb28ed701fd2353d78037be3e4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:44.246 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-18 10:55:44.247 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:44.247 ***
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-03-18 10:55:44.247 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5159262cefdf0cf0' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-18 10:55:44.248 ***
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:55:44.248 ***
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-03-18 10:55:44.248 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d7c1106d59d4e1d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:55:44.248 ***
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-03-18 10:55:44.249 ***
kate@localhost/res1 out
<iq type='set' id='f3cc4b3512fdd5c57e15402da82f8ed4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:55:44.249 ***
kate@localhost/res1 in
<iq id='f3cc4b3512fdd5c57e15402da82f8ed4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:55:44.249 ***
kate@localhost/res1 out
<iq type='set' id='13fb9bb5685cc7f4ffb17c1308f0dada'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:44.249 ***
kate@localhost/res1 in
<iq type='result' id='13fb9bb5685cc7f4ffb17c1308f0dada'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:55:44.249 ***
kate@localhost/res1 out
<presence/>



*** User 2022-03-18 10:55:44.250 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:55:44.250 ***
bOb@localhost/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-03-18 10:55:44.545 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "kate@localhost/res1\tc2s\t127.0.0.1\t56982\t0\tmongooseim@localhost\t0\nalice@localhost/res1\tc2s\t127.0.0.1\t56978\t0\tmongooseim@localhost\t0\nbob@localhost/res1\tc2s\t127.0.0.1\t56980\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-03-18 10:55:44.860 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost localhost
Result "kate@localhost/res1\tc2s\t127.0.0.1\t56982\t0\tmongooseim@localhost\t0\nalice@localhost/res1\tc2s\t127.0.0.1\t56978\t0\tmongooseim@localhost\t0\nbob@localhost/res1\tc2s\t127.0.0.1\t56980\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-03-18 10:55:45.158 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost localhost.bis
Result []
ExitStatus 0

*** User 2022-03-18 10:55:45.512 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  user_sessions_info alicE localhost
Result "alice@localhost/res1\tc2s\t127.0.0.1\t56978\t0\tmongooseim@localhost\t1\n"
ExitStatus 0

*** User 2022-03-18 10:55:45.512 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:55:45.514 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:55:45.514 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:55:45.514 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:55:45.514 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:55:45.515 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:55:45.518 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1973.html
*** CT 2022-03-18 10:55:45.519 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3837.html



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


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