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

=== Config value:

    [{watchdog,<0.14479.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_12.33.46/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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-01-27_12.33.46/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:33:55


*** CT 2022-01-27 12:33:55.211 *** View log from node mongooseim@localhost when started mongooseim@localhost_1852.html
*** CT 2022-01-27 12:33:55.216 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_617.html

*** User 2022-01-27 12:33:55.217 ***
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-01-27 12:33:55.218 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5020dc782cb4a518' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-27 12:33:55.219 ***
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-01-27 12:33:55.219 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5709f83e11cd4209' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:33:55.219 ***
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-01-27 12:33:55.220 ***
alicE@domain.example.com/res1 out
<iq type='set' id='225e238bfb17607f927ca947922ea88a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:33:55.220 ***
alicE@domain.example.com/res1 in
<iq id='225e238bfb17607f927ca947922ea88a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:33:55.220 ***
alicE@domain.example.com/res1 out
<iq type='set' id='fbd021214924eb5c5c006172dc7cd6af'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:55.220 ***
alicE@domain.example.com/res1 in
<iq type='result' id='fbd021214924eb5c5c006172dc7cd6af'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:55.220 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:33:55.222 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:33:55.222 ***
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-01-27 12:33:55.222 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='307fbc23dc3a8351' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-01-27 12:33:55.224 ***
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-01-27 12:33:55.224 ***
bOb@domain.example.com/res1 out
<iq type='set' id='64e3f2bf7b89f44ed5c2152bac0f2857'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:33:55.224 ***
bOb@domain.example.com/res1 in
<iq id='64e3f2bf7b89f44ed5c2152bac0f2857' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:33:55.224 ***
bOb@domain.example.com/res1 out
<iq type='set' id='070e2ca5595bf902b7a4c964df6075b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:55.224 ***
bOb@domain.example.com/res1 in
<iq type='result' id='070e2ca5595bf902b7a4c964df6075b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:55.224 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:33:55.226 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:33:55.226 ***
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-01-27 12:33:55.227 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3d3413c77c96f5e' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-01-27 12:33:55.228 ***
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-01-27 12:33:55.228 ***
kate@domain.example.com/res1 out
<iq type='set' id='1ac22d79135f350ad6aacbd59b386598'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:33:55.229 ***
kate@domain.example.com/res1 in
<iq id='1ac22d79135f350ad6aacbd59b386598' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:33:55.229 ***
kate@domain.example.com/res1 out
<iq type='set' id='717f5b8a4e8a0947f3b4917516d6a51d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:55.229 ***
kate@domain.example.com/res1 in
<iq type='result' id='717f5b8a4e8a0947f3b4917516d6a51d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:33:55.229 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:33:55.230 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:33:55.230 ***
bOb@domain.example.com/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-01-27 12:33:55.489 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "alice@domain.example.com/res1\tc2s\t127.0.0.1\t51642\t0\tmongooseim@localhost\t0\nbob@domain.example.com/res1\tc2s\t127.0.0.1\t51644\t0\tmongooseim@localhost\t0\nkate@domain.example.com/res1\tc2s\t127.0.0.1\t51646\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-01-27 12:33:55.739 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost domain.example.com
Result "alice@domain.example.com/res1\tc2s\t127.0.0.1\t51642\t0\tmongooseim@localhost\t0\nbob@domain.example.com/res1\tc2s\t127.0.0.1\t51644\t0\tmongooseim@localhost\t0\nkate@domain.example.com/res1\tc2s\t127.0.0.1\t51646\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-01-27 12:33:55.950 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost domain.example.org
Result []
ExitStatus 0

*** User 2022-01-27 12:33:56.184 ***
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\t51642\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-01-27 12:33:56.184 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:33:56.185 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:33:56.185 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:33:56.185 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:33:56.185 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:33:56.186 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:33:56.188 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_617.html
*** CT 2022-01-27 12:33:56.189 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1852.html



=== Ended at 2022-01-27 12:33:56
=== successfully completed test case
=== === Returned value: ok


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