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

=== Config value:

    [{watchdog,<0.29503.0>},
     {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,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.30.58/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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_15.30.58/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@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:31:10


*** CT 2022-01-27 15:31:10.458 *** View log from node mongooseim@localhost when started mongooseim@localhost_4345.html
*** CT 2022-01-27 15:31:10.460 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2320.html

*** User 2022-01-27 15:31:10.461 ***
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-01-27 15:31:10.462 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f26fb72974472ea' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:10.462 ***
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-01-27 15:31:10.462 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:31:10.462 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:31:10.462 ***
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-01-27 15:31:10.463 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='672e0a6353ff7120' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:10.463 ***
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-01-27 15:31:10.463 ***
alicE@localhost/res1 out
<iq type='set' id='3cc007dc17df19d48abf60dac3a6edcc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:31:10.463 ***
alicE@localhost/res1 in
<iq id='3cc007dc17df19d48abf60dac3a6edcc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:31:10.463 ***
alicE@localhost/res1 out
<iq type='set' id='d04ab855c3c8d271ec1569ce5787e932'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:10.463 ***
alicE@localhost/res1 in
<iq type='result' id='d04ab855c3c8d271ec1569ce5787e932'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:10.463 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-27 15:31:10.464 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:31:10.464 ***
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-01-27 15:31:10.465 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3401a4e1389b3a58' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:10.465 ***
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-01-27 15:31:10.465 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:31:10.465 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:31:10.466 ***
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-01-27 15:31:10.466 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b4d2a64e94c0fe3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:10.466 ***
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-01-27 15:31:10.466 ***
bOb@localhost/res1 out
<iq type='set' id='cf6496181931b8f295309b3a0ee454d2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:31:10.466 ***
bOb@localhost/res1 in
<iq id='cf6496181931b8f295309b3a0ee454d2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:31:10.466 ***
bOb@localhost/res1 out
<iq type='set' id='5472ff709fbba305b0c2553c8d882642'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:10.466 ***
bOb@localhost/res1 in
<iq type='result' id='5472ff709fbba305b0c2553c8d882642'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:10.467 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-27 15:31:10.467 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:31:10.468 ***
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-01-27 15:31:10.468 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d5a90af068a95e2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:10.468 ***
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-01-27 15:31:10.468 ***
kate@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-01-27 15:31:10.468 ***
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:31:10.469 ***
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-01-27 15:31:10.469 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='847e15cb74f08789' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:31:10.469 ***
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-01-27 15:31:10.469 ***
kate@localhost/res1 out
<iq type='set' id='120e14ad742fcb5a4fe0285ee6471f78'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:31:10.469 ***
kate@localhost/res1 in
<iq id='120e14ad742fcb5a4fe0285ee6471f78' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:31:10.469 ***
kate@localhost/res1 out
<iq type='set' id='c4c48d67969cd3a9015cfef93289382b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:10.469 ***
kate@localhost/res1 in
<iq type='result' id='c4c48d67969cd3a9015cfef93289382b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:31:10.469 ***
kate@localhost/res1 out
<presence/>



*** User 2022-01-27 15:31:10.470 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:31:10.470 ***
bOb@localhost/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-01-27 15:31:10.815 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "alice@localhost/res1\tc2s\t127.0.0.1\t58248\t0\tmongooseim@localhost\t0\nbob@localhost/res1\tc2s\t127.0.0.1\t58250\t0\tmongooseim@localhost\t0\nkate@localhost/res1\tc2s\t127.0.0.1\t58252\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-01-27 15:31:11.159 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost localhost
Result "alice@localhost/res1\tc2s\t127.0.0.1\t58248\t0\tmongooseim@localhost\t0\nbob@localhost/res1\tc2s\t127.0.0.1\t58250\t0\tmongooseim@localhost\t0\nkate@localhost/res1\tc2s\t127.0.0.1\t58252\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-01-27 15:31:11.493 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost localhost.bis
Result []
ExitStatus 0

*** User 2022-01-27 15:31:11.849 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  user_sessions_info alicE localhost
Result "alice@localhost/res1\tc2s\t127.0.0.1\t58248\t0\tmongooseim@localhost\t1\n"
ExitStatus 0

*** User 2022-01-27 15:31:11.850 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:31:11.850 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:31:11.850 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:31:11.850 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:31:11.851 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:31:11.851 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:31:11.853 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2320.html
*** CT 2022-01-27 15:31:11.853 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4345.html



=== Ended at 2022-01-27 15:31:11
=== successfully completed test case
=== === Returned value: ok


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