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

=== Config value:

    [{watchdog,<0.15111.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-02_15.12.45/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-02_15.12.45/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:12:50


*** CT 2022-02-02 15:12:50.273 *** View log from node mongooseim@localhost when started mongooseim@localhost_1830.html
*** CT 2022-02-02 15:12:50.274 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

*** User 2022-02-02 15:12:50.275 ***
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-02-02 15:12:50.276 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b3fd9b4c34e246f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:50.276 ***
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-02-02 15:12:50.276 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-02-02 15:12:50.277 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:12:50.277 ***
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-02-02 15:12:50.277 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e709f0ba3b47e7e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:50.277 ***
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-02-02 15:12:50.278 ***
alicE@domain.example.com/res1 out
<iq type='set' id='d43717f5c966d4edb8d778e01df34499'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:12:50.278 ***
alicE@domain.example.com/res1 in
<iq id='d43717f5c966d4edb8d778e01df34499' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:12:50.278 ***
alicE@domain.example.com/res1 out
<iq type='set' id='43d34f1ce0eea49fde1f9f0ac0610b5f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:50.278 ***
alicE@domain.example.com/res1 in
<iq type='result' id='43d34f1ce0eea49fde1f9f0ac0610b5f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:50.278 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:12:50.280 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:12:50.280 ***
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-02-02 15:12:50.281 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf2400223394410b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:50.281 ***
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-02-02 15:12:50.281 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-02-02 15:12:50.282 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:12:50.282 ***
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-02-02 15:12:50.282 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c06df7142b4819e3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:50.282 ***
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-02-02 15:12:50.282 ***
bOb@domain.example.com/res1 out
<iq type='set' id='103848360375d6aef1254325e309e5db'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:12:50.283 ***
bOb@domain.example.com/res1 in
<iq id='103848360375d6aef1254325e309e5db' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:12:50.283 ***
bOb@domain.example.com/res1 out
<iq type='set' id='ca96132f94129f186f7f5e3dd9dfda75'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:50.283 ***
bOb@domain.example.com/res1 in
<iq type='result' id='ca96132f94129f186f7f5e3dd9dfda75'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:50.283 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:12:50.284 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:12:50.285 ***
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-02-02 15:12:50.285 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83a9d0a6bde779e7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:50.285 ***
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-02-02 15:12:50.286 ***
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-02-02 15:12:50.286 ***
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:12:50.286 ***
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-02-02 15:12:50.287 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e11beaf942b57d7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:50.287 ***
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-02-02 15:12:50.287 ***
kate@domain.example.com/res1 out
<iq type='set' id='b5546d01bc633bc1a7fc45bfebb97a30'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:12:50.287 ***
kate@domain.example.com/res1 in
<iq id='b5546d01bc633bc1a7fc45bfebb97a30' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:12:50.287 ***
kate@domain.example.com/res1 out
<iq type='set' id='3ada15a5b69b0b1f2d8ab7a9667b0d05'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:50.287 ***
kate@domain.example.com/res1 in
<iq type='result' id='3ada15a5b69b0b1f2d8ab7a9667b0d05'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:50.288 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:12:50.289 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:12:50.289 ***
bOb@domain.example.com/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-02-02 15:12:50.435 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "bob@domain.example.com/res1\tc2s\t127.0.0.1\t45775\t0\tmongooseim@localhost\t0\nkate@domain.example.com/res1\tc2s\t127.0.0.1\t35269\t0\tmongooseim@localhost\t0\nalice@domain.example.com/res1\tc2s\t127.0.0.1\t43349\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-02-02 15:12:50.590 ***
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\t45775\t0\tmongooseim@localhost\t0\nkate@domain.example.com/res1\tc2s\t127.0.0.1\t35269\t0\tmongooseim@localhost\t0\nalice@domain.example.com/res1\tc2s\t127.0.0.1\t43349\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-02-02 15:12:50.738 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost domain.example.org
Result []
ExitStatus 0

*** User 2022-02-02 15:12:50.885 ***
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\t43349\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-02-02 15:12:50.886 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:12:50.886 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:12:50.887 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:12:50.887 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:12:50.887 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:12:50.887 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:12:50.890 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_591.html
*** CT 2022-02-02 15:12:50.891 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1830.html



=== Ended at 2022-02-02 15:12:50
=== successfully completed test case
=== === Returned value: ok


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