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

=== Config value:

    [{watchdog,<0.18178.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.50612365>,
                         [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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-18_10.04.46/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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-18_10.04.46/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@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:04:46


*** CT 2022-05-18 10:04:46.536 *** View log from node mongooseim@localhost when started mongooseim@localhost_1838.html
*** CT 2022-05-18 10:04:46.537 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_430.html

*** User 2022-05-18 10:04:46.542 ***
alicE_decline_subscription_1598@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-18 10:04:46.543 ***
alicE_decline_subscription_1598@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='64200fd54a4102dd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:46.543 ***
alicE_decline_subscription_1598@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-18 10:04:46.543 ***
alicE_decline_subscription_1598@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlY2xpbmVfc3Vic2NyaXB0aW9uXzE1OTgAbWF0eWdyeXNh</auth>



*** User 2022-05-18 10:04:46.544 ***
alicE_decline_subscription_1598@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:04:46.544 ***
alicE_decline_subscription_1598@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-18 10:04:46.544 ***
alicE_decline_subscription_1598@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9b4f761d0b17f8f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:46.544 ***
alicE_decline_subscription_1598@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-18 10:04:46.544 ***
alicE_decline_subscription_1598@domain.example.com/res1 out
<iq type='set' id='c8557a6d367dfcf99a881cd64f037991'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:04:46.544 ***
alicE_decline_subscription_1598@domain.example.com/res1 in
<iq id='c8557a6d367dfcf99a881cd64f037991' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_decline_subscription_1598@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:04:46.544 ***
alice_decline_subscription_1598@domain.example.com/res1 out
<iq type='set' id='3ce3b3d072818999d0d96ff697e1c573'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:46.545 ***
alice_decline_subscription_1598@domain.example.com/res1 in
<iq type='result' id='3ce3b3d072818999d0d96ff697e1c573'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:46.545 ***
alice_decline_subscription_1598@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:04:46.546 ***
alice_decline_subscription_1598@domain.example.com/res1 in
<presence from='alice_decline_subscription_1598@domain.example.com/res1' to='alice_decline_subscription_1598@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:04:46.546 ***
bOb_decline_subscription_1598@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-18 10:04:46.547 ***
bOb_decline_subscription_1598@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d6efa28d3e69df66' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:46.547 ***
bOb_decline_subscription_1598@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-18 10:04:46.547 ***
bOb_decline_subscription_1598@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWNsaW5lX3N1YnNjcmlwdGlvbl8xNTk4AG1ha3JvbGlrYQ==</auth>



*** User 2022-05-18 10:04:46.548 ***
bOb_decline_subscription_1598@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:04:46.548 ***
bOb_decline_subscription_1598@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-18 10:04:46.548 ***
bOb_decline_subscription_1598@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='daee35d7ed907fc5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:46.548 ***
bOb_decline_subscription_1598@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-18 10:04:46.548 ***
bOb_decline_subscription_1598@domain.example.com/res1 out
<iq type='set' id='7265af86479df69a1a3337807738f6eb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:04:46.548 ***
bOb_decline_subscription_1598@domain.example.com/res1 in
<iq id='7265af86479df69a1a3337807738f6eb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_decline_subscription_1598@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:04:46.548 ***
bob_decline_subscription_1598@domain.example.com/res1 out
<iq type='set' id='aea81379a0b366c2b0d07d4d199a78f5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:46.549 ***
bob_decline_subscription_1598@domain.example.com/res1 in
<iq type='result' id='aea81379a0b366c2b0d07d4d199a78f5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:46.549 ***
bob_decline_subscription_1598@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:04:46.550 ***
bob_decline_subscription_1598@domain.example.com/res1 in
<presence from='bob_decline_subscription_1598@domain.example.com/res1' to='bob_decline_subscription_1598@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:04:46.550 ***
alice_decline_subscription_1598@domain.example.com/res1 out
<iq type='set' id='0eed07232c32f183e7ea5ca6cb0bc461'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_decline_subscription_1598@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.552 ***
alice_decline_subscription_1598@domain.example.com/res1 in
<iq from='alice_decline_subscription_1598@domain.example.com' to='alice_decline_subscription_1598@domain.example.com/res1' id='push6060b1592faa1cc9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_decline_subscription_1598@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.552 ***
alice_decline_subscription_1598@domain.example.com/res1 out
<iq to='alice_decline_subscription_1598@domain.example.com' id='push6060b1592faa1cc9' type='result'/>



*** User 2022-05-18 10:04:46.552 ***
alice_decline_subscription_1598@domain.example.com/res1 in
<iq from='alice_decline_subscription_1598@domain.example.com' to='alice_decline_subscription_1598@domain.example.com/res1' id='0eed07232c32f183e7ea5ca6cb0bc461' type='result'/>



*** User 2022-05-18 10:04:46.552 ***
alice_decline_subscription_1598@domain.example.com/res1 out
<presence type='subscribe' to='bob_decline_subscription_1598@domain.example.com'/>



*** User 2022-05-18 10:04:46.554 ***
alice_decline_subscription_1598@domain.example.com/res1 in
<iq from='alice_decline_subscription_1598@domain.example.com' to='alice_decline_subscription_1598@domain.example.com/res1' id='push721f3ad874669539' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_decline_subscription_1598@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.554 ***
alice_decline_subscription_1598@domain.example.com/res1 out
<iq to='alice_decline_subscription_1598@domain.example.com' id='push721f3ad874669539' type='result'/>



*** User 2022-05-18 10:04:46.554 ***
bob_decline_subscription_1598@domain.example.com/res1 in
<presence from='alice_decline_subscription_1598@domain.example.com' to='bob_decline_subscription_1598@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-18 10:04:46.554 ***
bob_decline_subscription_1598@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_decline_subscription_1598@domain.example.com'/>



*** User 2022-05-18 10:04:46.557 ***
alice_decline_subscription_1598@domain.example.com/res1 in
<iq from='alice_decline_subscription_1598@domain.example.com' to='alice_decline_subscription_1598@domain.example.com/res1' id='push8ec30ef3d2ef9a76' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_decline_subscription_1598@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.557 ***
alice_decline_subscription_1598@domain.example.com/res1 in
<presence from='bob_decline_subscription_1598@domain.example.com' to='alice_decline_subscription_1598@domain.example.com/res1' xml:lang='en' type='unsubscribed'/>



*** User 2022-05-18 10:04:46.558 ***
bob_decline_subscription_1598@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:04:46.558 ***
bob_decline_subscription_1598@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-18 10:04:46.558 ***
alice_decline_subscription_1598@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:04:46.559 ***
alice_decline_subscription_1598@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-18 10:04:46.563 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_430.html
*** CT 2022-05-18 10:04:46.563 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1838.html



=== Ended at 2022-05-18 10:04:46
=== successfully completed test case
=== === Returned value: ok


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