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

=== Config value:

    [{watchdog,<0.10563.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.113763633>,
                         [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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-27_12.32.54/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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-27_12.32.54/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:32:55


*** CT 2022-01-27 12:32:55.249 *** View log from node mongooseim@localhost when started mongooseim@localhost_1835.html
*** CT 2022-01-27 12:32:55.250 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_538.html

*** User 2022-01-27 12:32:55.253 ***
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-01-27 12:32:55.254 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6dbb9161d23f62fe' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:55.254 ***
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-01-27 12:32:55.254 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:32:55.255 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:32:55.255 ***
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-01-27 12:32:55.255 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f62aef92ecc4542a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:55.255 ***
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-01-27 12:32:55.255 ***
alicE@domain.example.com/res1 out
<iq type='set' id='fd2cd5dda48728b733e0154f35f58f0e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:32:55.255 ***
alicE@domain.example.com/res1 in
<iq id='fd2cd5dda48728b733e0154f35f58f0e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:32:55.255 ***
alicE@domain.example.com/res1 out
<iq type='set' id='be6f1e39bface0148f6478b3777578ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:55.256 ***
alicE@domain.example.com/res1 in
<iq type='result' id='be6f1e39bface0148f6478b3777578ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:55.256 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:32:55.257 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:32:55.258 ***
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-01-27 12:32:55.258 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='983ce073a1fb5817' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:55.258 ***
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-01-27 12:32:55.258 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:32:55.259 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:32:55.259 ***
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-01-27 12:32:55.259 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60596c118f616e77' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:55.259 ***
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-01-27 12:32:55.259 ***
bOb@domain.example.com/res1 out
<iq type='set' id='9e80cb3fb67bac83f62451c01b0ca8da'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:32:55.259 ***
bOb@domain.example.com/res1 in
<iq id='9e80cb3fb67bac83f62451c01b0ca8da' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:32:55.259 ***
bOb@domain.example.com/res1 out
<iq type='set' id='3eec19896de1b7b4c6bde5d68dfd31a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:55.260 ***
bOb@domain.example.com/res1 in
<iq type='result' id='3eec19896de1b7b4c6bde5d68dfd31a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:55.260 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:32:55.261 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:32:55.261 ***
alicE@domain.example.com/res1 out
<iq type='set' id='0481e9c0cccbf193c05b06f543312e2d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:32:55.277 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='pushbbe4e58376883fdc' 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-01-27 12:32:55.277 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='pushbbe4e58376883fdc' type='result'/>



*** User 2022-01-27 12:32:55.277 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='0481e9c0cccbf193c05b06f543312e2d' type='result'/>



*** User 2022-01-27 12:32:55.277 ***
alicE@domain.example.com/res1 out
<presence type='subscribe' to='bOb@domain.example.com'/>



*** User 2022-01-27 12:32:55.299 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push258ceccd252dfc8d' 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-01-27 12:32:55.299 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='push258ceccd252dfc8d' type='result'/>



*** User 2022-01-27 12:32:55.299 ***
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-01-27 12:32:55.299 ***
bOb@domain.example.com/res1 out
<presence type='unsubscribed' to='alicE@domain.example.com'/>



*** User 2022-01-27 12:32:55.323 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='push3f7d4fbddba4fa0a' 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-01-27 12:32:55.323 ***
alicE@domain.example.com/res1 in
<presence from='bOb@domain.example.com' to='alicE@domain.example.com/res1' xml:lang='en' type='unsubscribed'/>



*** User 2022-01-27 12:32:55.324 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:32:55.324 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:32:55.324 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:32:55.324 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:32:55.358 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_538.html
*** CT 2022-01-27 12:32:55.358 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1835.html



=== Ended at 2022-01-27 12:32:55
=== successfully completed test case
=== === Returned value: ok


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