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

=== Config value:

    [{watchdog,<0.11179.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.131448507>,
                         [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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.metrics_roster_SUITE.logs/run.2022-02-02_15.11.52/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.metrics_roster_SUITE.logs/run.2022-02-02_15.11.52/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:11:53


*** CT 2022-02-02 15:11:53.340 *** View log from node mongooseim@localhost when started mongooseim@localhost_1814.html
*** CT 2022-02-02 15:11:53.341 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_519.html

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

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



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



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

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



*** User 2022-02-02 15:11:53.347 ***
alicE@domain.example.com/res1 in
<iq id='27718860cc007a534740b9cbf2f9f4e0' 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:11:53.347 ***
alicE@domain.example.com/res1 out
<iq type='set' id='9e50f9c47f0998f942bedd2ee3c29fe5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

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



*** User 2022-02-02 15:11:53.352 ***
bOb@domain.example.com/res1 in
<iq id='edba015c70b4b39208f8d36e7c30f6ec' 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:11:53.352 ***
bOb@domain.example.com/res1 out
<iq type='set' id='849832bbe0dc02c6492fbc34481ec9db'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-02-02 15:11:53.353 ***
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:11:53.353 ***
alicE@domain.example.com/res1 out
<iq type='set' id='8f76067f23801ebb18141d5b874098ce'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:11:53.355 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='pushd81b15ca2756acbe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:11:53.355 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='pushd81b15ca2756acbe' type='result'/>



*** User 2022-02-02 15:11:53.355 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='8f76067f23801ebb18141d5b874098ce' type='result'/>



*** User 2022-02-02 15:11:53.355 ***
alicE@domain.example.com/res1 out
<presence type='subscribe' to='bOb@domain.example.com'/>



*** User 2022-02-02 15:11:53.358 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='pushfebc784fffd17f02' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:11:53.358 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='pushfebc784fffd17f02' type='result'/>



*** User 2022-02-02 15:11:53.358 ***
bOb@domain.example.com/res1 in
<presence from='alicE@domain.example.com' to='bOb@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-02-02 15:11:53.358 ***
bOb@domain.example.com/res1 out
<iq type='set' id='cf88d49a9000694983526d2327f38ca2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:11:53.359 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='push6f0c52401dac6929' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:11:53.359 ***
bOb@domain.example.com/res1 out
<iq to='bOb@domain.example.com' id='push6f0c52401dac6929' type='result'/>



*** User 2022-02-02 15:11:53.359 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='cf88d49a9000694983526d2327f38ca2' type='result'/>



*** User 2022-02-02 15:11:53.360 ***
bOb@domain.example.com/res1 out
<presence type='subscribed' to='alicE@domain.example.com'/>



*** User 2022-02-02 15:11:53.362 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='pushc59cd851b015d8a7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-02 15:11:53.362 ***
alicE@domain.example.com/res1 in
<presence from='bOb@domain.example.com' to='alicE@domain.example.com/res1' xml:lang='en' type='subscribed'/>



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



*** User 2022-02-02 15:11:53.362 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='push9b22a75218345d88' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



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

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

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

*** User 2022-02-02 15:11:53.364 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:11:53.368 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_519.html
*** CT 2022-02-02 15:11:53.368 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1814.html



=== Ended at 2022-02-02 15:11:53
=== successfully completed test case
=== === Returned value: ok


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