=== Test case: metrics_roster_SUITE:subscribe/1 (click for source code)

=== Config value:

    [{watchdog,<0.17987.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.124753187>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-11_09.01.21/metrics_roster_suite.subscribe.html"},
     {tc_group_properties,[{name,subscriptions},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/metrics_roster_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-11_09.01.21/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:01:21


*** CT 2022-05-11 09:01:21.609 *** View log from node mongooseim@localhost when started mongooseim@localhost_1903.html
*** CT 2022-05-11 09:01:21.610 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_431.html

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

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



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



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

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



*** User 2022-05-11 09:01:21.622 ***
alicE_subscribe_1708@domain.example.com/res1 in
<iq id='e0b66ecaff812d3d148895cf82a52e11' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_1708@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:01:21.622 ***
alicE_subscribe_1708@domain.example.com/res1 out
<iq type='set' id='2063fcb178f10fcf0a1bea7fca2e40d3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:01:21.622 ***
alicE_subscribe_1708@domain.example.com/res1 in
<iq type='result' id='2063fcb178f10fcf0a1bea7fca2e40d3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:01:21.622 ***
alicE_subscribe_1708@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:01:21.623 ***
alicE_subscribe_1708@domain.example.com/res1 in
<presence from='alicE_subscribe_1708@domain.example.com/res1' to='alice_subscribe_1708@domain.example.com/res1' xml:lang='en'/>



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

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



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



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

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



*** User 2022-05-11 09:01:21.625 ***
bOb_subscribe_1708@domain.example.com/res1 in
<iq id='0077968b1e17b495bda927f4ba517b63' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_1708@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:01:21.625 ***
bOb_subscribe_1708@domain.example.com/res1 out
<iq type='set' id='801db4460aaef38828643badfdc069a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:01:21.625 ***
bOb_subscribe_1708@domain.example.com/res1 in
<iq type='result' id='801db4460aaef38828643badfdc069a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:01:21.625 ***
bOb_subscribe_1708@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:01:21.626 ***
bOb_subscribe_1708@domain.example.com/res1 in
<presence from='bOb_subscribe_1708@domain.example.com/res1' to='bob_subscribe_1708@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:01:21.626 ***
alicE_subscribe_1708@domain.example.com/res1 out
<iq type='set' id='8471d67d712a84bb6d8e2235fe61046d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_1708@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:01:21.628 ***
alicE_subscribe_1708@domain.example.com/res1 in
<iq from='alicE_subscribe_1708@domain.example.com' to='alicE_subscribe_1708@domain.example.com/res1' id='pushe444e77a4af34a6a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_1708@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:01:21.628 ***
alicE_subscribe_1708@domain.example.com/res1 out
<iq to='alicE_subscribe_1708@domain.example.com' id='pushe444e77a4af34a6a' type='result'/>



*** User 2022-05-11 09:01:21.628 ***
alicE_subscribe_1708@domain.example.com/res1 in
<iq from='alicE_subscribe_1708@domain.example.com' to='alicE_subscribe_1708@domain.example.com/res1' id='8471d67d712a84bb6d8e2235fe61046d' type='result'/>



*** User 2022-05-11 09:01:21.628 ***
alicE_subscribe_1708@domain.example.com/res1 out
<presence type='subscribe' to='bOb_subscribe_1708@domain.example.com'/>



*** User 2022-05-11 09:01:21.631 ***
alicE_subscribe_1708@domain.example.com/res1 in
<iq from='alicE_subscribe_1708@domain.example.com' to='alicE_subscribe_1708@domain.example.com/res1' id='pusha947e9b54333686e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_1708@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:01:21.631 ***
alicE_subscribe_1708@domain.example.com/res1 out
<iq to='alicE_subscribe_1708@domain.example.com' id='pusha947e9b54333686e' type='result'/>



*** User 2022-05-11 09:01:21.631 ***
bOb_subscribe_1708@domain.example.com/res1 in
<presence from='alicE_subscribe_1708@domain.example.com' to='bOb_subscribe_1708@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-11 09:01:21.631 ***
bOb_subscribe_1708@domain.example.com/res1 out
<iq type='set' id='753c674677a6806b7a5bfb1c69f035ef'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_subscribe_1708@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:01:21.633 ***
bOb_subscribe_1708@domain.example.com/res1 in
<iq from='bOb_subscribe_1708@domain.example.com' to='bOb_subscribe_1708@domain.example.com/res1' id='pushd967749838886f01' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_1708@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:01:21.633 ***
bOb_subscribe_1708@domain.example.com/res1 out
<iq to='bOb_subscribe_1708@domain.example.com' id='pushd967749838886f01' type='result'/>



*** User 2022-05-11 09:01:21.633 ***
bOb_subscribe_1708@domain.example.com/res1 in
<iq from='bOb_subscribe_1708@domain.example.com' to='bOb_subscribe_1708@domain.example.com/res1' id='753c674677a6806b7a5bfb1c69f035ef' type='result'/>



*** User 2022-05-11 09:01:21.633 ***
bOb_subscribe_1708@domain.example.com/res1 out
<presence type='subscribed' to='alicE_subscribe_1708@domain.example.com'/>



*** User 2022-05-11 09:01:21.636 ***
alicE_subscribe_1708@domain.example.com/res1 in
<iq from='alicE_subscribe_1708@domain.example.com' to='alicE_subscribe_1708@domain.example.com/res1' id='push4a50f2b3f9dbbd14' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_1708@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:01:21.636 ***
alicE_subscribe_1708@domain.example.com/res1 in
<presence from='bOb_subscribe_1708@domain.example.com' to='alicE_subscribe_1708@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-11 09:01:21.636 ***
alicE_subscribe_1708@domain.example.com/res1 in
<presence from='bOb_subscribe_1708@domain.example.com/res1' to='alice_subscribe_1708@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:01:21.636 ***
bOb_subscribe_1708@domain.example.com/res1 in
<iq from='bOb_subscribe_1708@domain.example.com' to='bOb_subscribe_1708@domain.example.com/res1' id='push043f43822058731c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_1708@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:01:21.637 ***
bOb_subscribe_1708@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:01:21.637 ***
bOb_subscribe_1708@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:01:21.637 ***
alicE_subscribe_1708@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:01:21.638 ***
alicE_subscribe_1708@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:01:21.642 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_431.html
*** CT 2022-05-11 09:01:21.643 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1903.html



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


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