=== Test case: metrics_roster_SUITE:decline_subscription/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.decline_subscription.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.559 *** View log from node mongooseim@localhost when started mongooseim@localhost_1903.html
*** CT 2022-05-11 09:01:21.560 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_431.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



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



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



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



*** User 2022-05-11 09:01:21.573 ***
alicE_decline_subscription_1707@domain.example.com/res1 in
<iq from='alicE_decline_subscription_1707@domain.example.com' to='alicE_decline_subscription_1707@domain.example.com/res1' id='f53aab609cf882f56ee82b5375a0265e' type='result'/>



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



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



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



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



*** User 2022-05-11 09:01:21.576 ***
bOb_decline_subscription_1707@domain.example.com/res1 out
<presence type='unsubscribed' to='alicE_decline_subscription_1707@domain.example.com'/>



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



*** User 2022-05-11 09:01:21.579 ***
alicE_decline_subscription_1707@domain.example.com/res1 in
<presence from='bOb_decline_subscription_1707@domain.example.com' to='alicE_decline_subscription_1707@domain.example.com/res1' xml:lang='en' type='unsubscribed'/>



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

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

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

*** User 2022-05-11 09:01:21.580 ***
alicE_decline_subscription_1707@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:01:21.584 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_431.html
*** CT 2022-05-11 09:01:21.585 *** 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