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

=== Config value:

    [{watchdog,<0.25022.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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_09.37.22/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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_09.37.22/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@b90e3713176e.2022-03-07_09.29.55"

=== Started at 2022-03-07 09:37:31


*** CT 2022-03-07 09:37:31.086 *** View log from node mongooseim@localhost when started mongooseim@localhost_4143.html
*** CT 2022-03-07 09:37:31.088 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2195.html

*** User 2022-03-07 09:37:31.092 ***
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-07 09:37:31.099 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f318105b81b971b' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-07 09:37:31.101 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 09:37:31.101 ***
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-07 09:37:31.102 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bdf6bdd8c4c09249' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:37:31.102 ***
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-07 09:37:31.102 ***
alicE@localhost/res1 out
<iq type='set' id='39c1283c89a4ec3a0ea9dc07075afa3e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 09:37:31.104 ***
alicE@localhost/res1 in
<iq id='39c1283c89a4ec3a0ea9dc07075afa3e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 09:37:31.104 ***
alicE@localhost/res1 out
<iq type='set' id='ad3eb7d3a860acaba2dc0778b0c7ccd1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:31.106 ***
alicE@localhost/res1 in
<iq type='result' id='ad3eb7d3a860acaba2dc0778b0c7ccd1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:31.106 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-07 09:37:31.108 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 09:37:31.109 ***
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-07 09:37:31.111 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='55093c22ddc83549' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-07 09:37:31.113 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 09:37:31.115 ***
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-07 09:37:31.116 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d83f20f5bd310b42' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:37:31.116 ***
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-07 09:37:31.116 ***
bOb@localhost/res1 out
<iq type='set' id='98a7349f4bbe1abb93c1a4176e084632'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 09:37:31.116 ***
bOb@localhost/res1 in
<iq id='98a7349f4bbe1abb93c1a4176e084632' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 09:37:31.117 ***
bOb@localhost/res1 out
<iq type='set' id='d34a7f7a5f4ecc2d706c6e097d27f2eb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:31.117 ***
bOb@localhost/res1 in
<iq type='result' id='d34a7f7a5f4ecc2d706c6e097d27f2eb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:31.117 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-07 09:37:31.119 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 09:37:31.119 ***
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-07 09:37:31.120 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5caea7034f4ac204' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-07 09:37:31.121 ***
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 09:37:31.121 ***
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-07 09:37:31.127 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e318c1442825331' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 09:37:31.127 ***
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-07 09:37:31.127 ***
kate@localhost/res1 out
<iq type='set' id='848681ae4d59fa9de8f5b7606f18e677'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 09:37:31.127 ***
kate@localhost/res1 in
<iq id='848681ae4d59fa9de8f5b7606f18e677' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 09:37:31.128 ***
kate@localhost/res1 out
<iq type='set' id='ed0d09915dbed2edb8b8186cd91342b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:31.128 ***
kate@localhost/res1 in
<iq type='result' id='ed0d09915dbed2edb8b8186cd91342b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 09:37:31.128 ***
kate@localhost/res1 out
<presence/>



*** User 2022-03-07 09:37:31.129 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 09:37:31.129 ***
bOb@localhost/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-03-07 09:37:31.432 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "bob@localhost/res1\tc2s\t127.0.0.1\t34705\t0\tmongooseim@localhost\t0\nkate@localhost/res1\tc2s\t127.0.0.1\t43113\t0\tmongooseim@localhost\t0\nalice@localhost/res1\tc2s\t127.0.0.1\t42193\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-03-07 09:37:31.695 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost localhost
Result "bob@localhost/res1\tc2s\t127.0.0.1\t34705\t0\tmongooseim@localhost\t0\nkate@localhost/res1\tc2s\t127.0.0.1\t43113\t0\tmongooseim@localhost\t0\nalice@localhost/res1\tc2s\t127.0.0.1\t42193\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-03-07 09:37:32.006 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost localhost.bis
Result []
ExitStatus 0

*** User 2022-03-07 09:37:32.323 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  user_sessions_info alicE localhost
Result "alice@localhost/res1\tc2s\t127.0.0.1\t42193\t0\tmongooseim@localhost\t1\n"
ExitStatus 0

*** User 2022-03-07 09:37:32.323 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-03-07 09:37:32.323 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-03-07 09:37:32.323 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-07 09:37:32.324 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-07 09:37:32.324 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-07 09:37:32.324 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 09:37:32.328 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2195.html
*** CT 2022-03-07 09:37:32.328 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4143.html



=== Ended at 2022-03-07 09:37:32
=== successfully completed test case
=== === Returned value: ok


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