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

=== Config value:

    [{watchdog,<0.22261.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.53/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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-25_09.10.53/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:11:00


*** CT 2022-05-25 09:11:00.187 *** View log from node mongooseim@localhost when started mongooseim@localhost_1866.html
*** CT 2022-05-25 09:11:00.187 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-05-25 09:11:00.189 ***
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-05-25 09:11:00.189 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f3a2f89b4490c99' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.190 ***
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-05-25 09:11:00.190 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 09:11:00.191 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:00.191 ***
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-05-25 09:11:00.191 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a10363f21337701' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.191 ***
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-05-25 09:11:00.191 ***
alicE@domain.example.com/res1 out
<iq type='set' id='7a45235a3f0841922dd05874e3961d21'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.191 ***
alicE@domain.example.com/res1 in
<iq id='7a45235a3f0841922dd05874e3961d21' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.192 ***
alice@domain.example.com/res1 out
<iq type='set' id='c64cad1f07eea66a165a06cad57b5b1f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.192 ***
alice@domain.example.com/res1 in
<iq type='result' id='c64cad1f07eea66a165a06cad57b5b1f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.192 ***
alice@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:11:00.193 ***
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:00.194 ***
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-05-25 09:11:00.194 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18faa73c659ec9fe' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.194 ***
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-05-25 09:11:00.195 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 09:11:00.195 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:00.196 ***
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-05-25 09:11:00.196 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ddd237f6f436c8a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.196 ***
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-05-25 09:11:00.196 ***
bOb@domain.example.com/res1 out
<iq type='set' id='199d2a969c2fd5fd00600d5cb0be8013'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.196 ***
bOb@domain.example.com/res1 in
<iq id='199d2a969c2fd5fd00600d5cb0be8013' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.196 ***
bob@domain.example.com/res1 out
<iq type='set' id='32244e186bc9921382d93baed92e70f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.196 ***
bob@domain.example.com/res1 in
<iq type='result' id='32244e186bc9921382d93baed92e70f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.196 ***
bob@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:11:00.198 ***
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:00.198 ***
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-05-25 09:11:00.199 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e01a25301ba35a7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.199 ***
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-05-25 09:11:00.199 ***
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-05-25 09:11:00.200 ***
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:11:00.200 ***
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-05-25 09:11:00.200 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81042c0c4f327966' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:11:00.200 ***
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-05-25 09:11:00.200 ***
kate@domain.example.com/res1 out
<iq type='set' id='181c4ed418a5d8ed7863715e134b06f2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.200 ***
kate@domain.example.com/res1 in
<iq id='181c4ed418a5d8ed7863715e134b06f2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:11:00.201 ***
kate@domain.example.com/res1 out
<iq type='set' id='36f165865df9d78e2f47f2ac83bb3455'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.201 ***
kate@domain.example.com/res1 in
<iq type='result' id='36f165865df9d78e2f47f2ac83bb3455'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:11:00.201 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:11:00.203 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:11:00.203 ***
bob@domain.example.com/res1 out
<presence>
	<show>away</show>
</presence>



*** User 2022-05-25 09:11:00.412 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_info
Result "bob@domain.example.com/res1\tc2s\t127.0.0.1\t59446\t0\tmongooseim@localhost\t0\nalice@domain.example.com/res1\tc2s\t127.0.0.1\t59442\t0\tmongooseim@localhost\t0\nkate@domain.example.com/res1\tc2s\t127.0.0.1\t59448\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-25 09:11:00.614 ***
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\t59446\t0\tmongooseim@localhost\t0\nalice@domain.example.com/res1\tc2s\t127.0.0.1\t59442\t0\tmongooseim@localhost\t0\nkate@domain.example.com/res1\tc2s\t127.0.0.1\t59448\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-25 09:11:00.801 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  connected_users_vhost domain.example.org
Result []
ExitStatus 0

*** User 2022-05-25 09:11:01.035 ***
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\t59442\t0\tmongooseim@localhost\t0\n"
ExitStatus 0

*** User 2022-05-25 09:11:01.036 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:11:01.036 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:11:01.036 ***
bob@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:11:01.036 ***
bob@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:11:01.036 ***
alice@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:11:01.037 ***
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:11:01.039 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-05-25 09:11:01.040 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1866.html



=== Ended at 2022-05-25 09:11:01
=== successfully completed test case
=== === Returned value: ok


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