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

=== Config value:

    [{watchdog,<0.60900.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.90531342>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-12_13.34.14/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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-12_13.34.14/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@8a480c91a890.2024-04-12_13.25.32"

=== Started at 2024-04-12 13:34:15


*** CT 2024-04-12 13:34:15.250 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2026.html

*** User 2024-04-12 13:34:15.260 ***🔗
alicE_decline_subscription_2466@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 2024-04-12 13:34:15.261 ***🔗
alicE_decline_subscription_2466@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f5580db101e39b29' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:34:15.261 ***🔗
alicE_decline_subscription_2466@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-12 13:34:15.261 ***🔗
alicE_decline_subscription_2466@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlY2xpbmVfc3Vic2NyaXB0aW9uXzI0NjYAbWF0eWdyeXNh</auth>



*** User 2024-04-12 13:34:15.262 ***🔗
alicE_decline_subscription_2466@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:34:15.262 ***🔗
alicE_decline_subscription_2466@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 2024-04-12 13:34:15.262 ***🔗
alicE_decline_subscription_2466@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ede077c58508efa4' from='domain.example.com' version='1.0' xml:lang='en' to='alice_decline_subscription_2466@domain.example.com'>

*** User 2024-04-12 13:34:15.262 ***🔗
alicE_decline_subscription_2466@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-12 13:34:15.263 ***🔗
alicE_decline_subscription_2466@domain.example.com/res1 out
<iq type='set' id='3230bf1600bacea2a375d6ff7804d414'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:34:15.263 ***🔗
alicE_decline_subscription_2466@domain.example.com/res1 in
<iq id='3230bf1600bacea2a375d6ff7804d414' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_decline_subscription_2466@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:34:15.263 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 out
<iq type='set' id='72fadb3126b58bf7149f0a1efd1391b7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:34:15.263 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_decline_subscription_2466@domain.example.com/res1' id='72fadb3126b58bf7149f0a1efd1391b7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:34:15.264 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:34:15.265 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 in
<presence from='alice_decline_subscription_2466@domain.example.com/res1' to='alice_decline_subscription_2466@domain.example.com/res1'/>



*** User 2024-04-12 13:34:15.265 ***🔗
bOb_decline_subscription_2466@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 2024-04-12 13:34:15.266 ***🔗
bOb_decline_subscription_2466@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce72384bbf58f59a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:34:15.266 ***🔗
bOb_decline_subscription_2466@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-12 13:34:15.266 ***🔗
bOb_decline_subscription_2466@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWNsaW5lX3N1YnNjcmlwdGlvbl8yNDY2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-12 13:34:15.266 ***🔗
bOb_decline_subscription_2466@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:34:15.267 ***🔗
bOb_decline_subscription_2466@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 2024-04-12 13:34:15.267 ***🔗
bOb_decline_subscription_2466@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94d9bfb0a6fd07c2' from='domain.example.com' version='1.0' xml:lang='en' to='bob_decline_subscription_2466@domain.example.com'>

*** User 2024-04-12 13:34:15.267 ***🔗
bOb_decline_subscription_2466@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-12 13:34:15.267 ***🔗
bOb_decline_subscription_2466@domain.example.com/res1 out
<iq type='set' id='18745c6daf124db23f53e34f1e832b06'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:34:15.267 ***🔗
bOb_decline_subscription_2466@domain.example.com/res1 in
<iq id='18745c6daf124db23f53e34f1e832b06' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_decline_subscription_2466@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:34:15.267 ***🔗
bob_decline_subscription_2466@domain.example.com/res1 out
<iq type='set' id='7b579434f93e406257551a8f9c830696'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:34:15.268 ***🔗
bob_decline_subscription_2466@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_decline_subscription_2466@domain.example.com/res1' id='7b579434f93e406257551a8f9c830696' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:34:15.268 ***🔗
bob_decline_subscription_2466@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:34:15.269 ***🔗
bob_decline_subscription_2466@domain.example.com/res1 in
<presence from='bob_decline_subscription_2466@domain.example.com/res1' to='bob_decline_subscription_2466@domain.example.com/res1'/>



*** User 2024-04-12 13:34:15.270 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 out
<iq type='set' id='bf36bf9131fdd1ae676c17fde803395e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_decline_subscription_2466@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.273 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 in
<iq from='alice_decline_subscription_2466@domain.example.com' to='alice_decline_subscription_2466@domain.example.com/res1' id='push202cb1cfa0fef28e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_decline_subscription_2466@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.273 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 out
<iq to='alice_decline_subscription_2466@domain.example.com' id='push202cb1cfa0fef28e' type='result'/>



*** User 2024-04-12 13:34:15.274 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 in
<iq from='alice_decline_subscription_2466@domain.example.com' to='alice_decline_subscription_2466@domain.example.com/res1' id='bf36bf9131fdd1ae676c17fde803395e' type='result'/>



*** User 2024-04-12 13:34:15.274 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 out
<presence type='subscribe' to='bob_decline_subscription_2466@domain.example.com'/>



*** User 2024-04-12 13:34:15.278 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 in
<iq from='alice_decline_subscription_2466@domain.example.com' to='alice_decline_subscription_2466@domain.example.com/res1' id='pushc67d5f425cee90e1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_decline_subscription_2466@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.279 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 out
<iq to='alice_decline_subscription_2466@domain.example.com' id='pushc67d5f425cee90e1' type='result'/>



*** User 2024-04-12 13:34:15.279 ***🔗
bob_decline_subscription_2466@domain.example.com/res1 in
<presence from='alice_decline_subscription_2466@domain.example.com' to='bob_decline_subscription_2466@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-12 13:34:15.279 ***🔗
bob_decline_subscription_2466@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_decline_subscription_2466@domain.example.com'/>



*** User 2024-04-12 13:34:15.284 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 in
<iq from='alice_decline_subscription_2466@domain.example.com' to='alice_decline_subscription_2466@domain.example.com/res1' id='pushc080de25181ebc5f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_decline_subscription_2466@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.284 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 in
<presence from='bob_decline_subscription_2466@domain.example.com' to='alice_decline_subscription_2466@domain.example.com/res1' type='unsubscribed'/>



*** User 2024-04-12 13:34:15.285 ***🔗
bob_decline_subscription_2466@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:34:15.285 ***🔗
bob_decline_subscription_2466@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-12 13:34:15.285 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:34:15.286 ***🔗
alice_decline_subscription_2466@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-12 13:34:15.292 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2026.html



=== Ended at 2024-04-12 13:34:15
=== successfully completed test case
=== === Returned value: ok


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