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

=== Config value:

    [{watchdog,<0.78271.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,"odbc_mssql_mnesia"},
     {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@6b612e74bd51.2024-04-16_10.12.39/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.24.46/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@6b612e74bd51.2024-04-16_10.12.39/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.24.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@6b612e74bd51.2024-04-16_10.12.39"

=== Started at 2024-04-16 10:24:47


*** CT 2024-04-16 10:24:47.524 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2309.html

*** User 2024-04-16 10:24:47.534 ***🔗
alicE_subscribe_3291@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-16 10:24:47.534 ***🔗
alicE_subscribe_3291@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82c501b612be3add' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:24:47.534 ***🔗
alicE_subscribe_3291@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-16 10:24:47.534 ***🔗
alicE_subscribe_3291@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8zMjkxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 10:24:47.535 ***🔗
alicE_subscribe_3291@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:24:47.536 ***🔗
alicE_subscribe_3291@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-16 10:24:47.536 ***🔗
alicE_subscribe_3291@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b86f536c479e732d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_3291@domain.example.com'>

*** User 2024-04-16 10:24:47.536 ***🔗
alicE_subscribe_3291@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-16 10:24:47.536 ***🔗
alicE_subscribe_3291@domain.example.com/res1 out
<iq type='set' id='47e4b3ae3a0c88beaf59e9560fd3706f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:24:47.537 ***🔗
alicE_subscribe_3291@domain.example.com/res1 in
<iq id='47e4b3ae3a0c88beaf59e9560fd3706f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_3291@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:24:47.537 ***🔗
alice_subscribe_3291@domain.example.com/res1 out
<iq type='set' id='00cc48ba28df4dcccdcebe47e7557e57'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:24:47.537 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_3291@domain.example.com/res1' id='00cc48ba28df4dcccdcebe47e7557e57' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:24:47.537 ***🔗
alice_subscribe_3291@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 10:24:47.538 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
<presence from='alice_subscribe_3291@domain.example.com/res1' to='alice_subscribe_3291@domain.example.com/res1'/>



*** User 2024-04-16 10:24:47.539 ***🔗
bOb_subscribe_3291@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-16 10:24:47.539 ***🔗
bOb_subscribe_3291@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='949918ea594b6016' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:24:47.539 ***🔗
bOb_subscribe_3291@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-16 10:24:47.540 ***🔗
bOb_subscribe_3291@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMzI5MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 10:24:47.541 ***🔗
bOb_subscribe_3291@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:24:47.541 ***🔗
bOb_subscribe_3291@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-16 10:24:47.541 ***🔗
bOb_subscribe_3291@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a076716391e39e2' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_3291@domain.example.com'>

*** User 2024-04-16 10:24:47.541 ***🔗
bOb_subscribe_3291@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-16 10:24:47.541 ***🔗
bOb_subscribe_3291@domain.example.com/res1 out
<iq type='set' id='f8ccead234d5efc3406f5dc19b712411'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:24:47.541 ***🔗
bOb_subscribe_3291@domain.example.com/res1 in
<iq id='f8ccead234d5efc3406f5dc19b712411' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_3291@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:24:47.541 ***🔗
bob_subscribe_3291@domain.example.com/res1 out
<iq type='set' id='c3abcecae59f364a84bd816f7b887edf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:24:47.542 ***🔗
bob_subscribe_3291@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_3291@domain.example.com/res1' id='c3abcecae59f364a84bd816f7b887edf' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:24:47.542 ***🔗
bob_subscribe_3291@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 10:24:47.543 ***🔗
bob_subscribe_3291@domain.example.com/res1 in
<presence from='bob_subscribe_3291@domain.example.com/res1' to='bob_subscribe_3291@domain.example.com/res1'/>



*** User 2024-04-16 10:24:47.543 ***🔗
alice_subscribe_3291@domain.example.com/res1 out
<iq type='set' id='4fe5d098108fc9fab3618c3feb4b9cae'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_3291@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:24:47.549 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
<iq from='alice_subscribe_3291@domain.example.com' to='alice_subscribe_3291@domain.example.com/res1' id='push29a3376c8119ad86' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_3291@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:24:47.549 ***🔗
alice_subscribe_3291@domain.example.com/res1 out
<iq to='alice_subscribe_3291@domain.example.com' id='push29a3376c8119ad86' type='result'/>



*** User 2024-04-16 10:24:47.549 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
<iq from='alice_subscribe_3291@domain.example.com' to='alice_subscribe_3291@domain.example.com/res1' id='4fe5d098108fc9fab3618c3feb4b9cae' type='result'/>



*** User 2024-04-16 10:24:47.549 ***🔗
alice_subscribe_3291@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_3291@domain.example.com'/>



*** User 2024-04-16 10:24:47.559 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
<iq from='alice_subscribe_3291@domain.example.com' to='alice_subscribe_3291@domain.example.com/res1' id='push734413fa87173d2d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_3291@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:24:47.559 ***🔗
alice_subscribe_3291@domain.example.com/res1 out
<iq to='alice_subscribe_3291@domain.example.com' id='push734413fa87173d2d' type='result'/>



*** User 2024-04-16 10:24:47.559 ***🔗
bob_subscribe_3291@domain.example.com/res1 in
<presence from='alice_subscribe_3291@domain.example.com' to='bob_subscribe_3291@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 10:24:47.559 ***🔗
bob_subscribe_3291@domain.example.com/res1 out
<iq type='set' id='477090981999cfd3fcaa4b14fc40d48e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_3291@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:24:47.564 ***🔗
bob_subscribe_3291@domain.example.com/res1 in
<iq from='bob_subscribe_3291@domain.example.com' to='bob_subscribe_3291@domain.example.com/res1' id='push54274e9a0331c2b2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_3291@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:24:47.564 ***🔗
bob_subscribe_3291@domain.example.com/res1 out
<iq to='bob_subscribe_3291@domain.example.com' id='push54274e9a0331c2b2' type='result'/>



*** User 2024-04-16 10:24:47.564 ***🔗
bob_subscribe_3291@domain.example.com/res1 in
<iq from='bob_subscribe_3291@domain.example.com' to='bob_subscribe_3291@domain.example.com/res1' id='477090981999cfd3fcaa4b14fc40d48e' type='result'/>



*** User 2024-04-16 10:24:47.564 ***🔗
bob_subscribe_3291@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_3291@domain.example.com'/>



*** User 2024-04-16 10:24:47.571 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
<iq from='alice_subscribe_3291@domain.example.com' to='alice_subscribe_3291@domain.example.com/res1' id='push7bb0a3524fd94c47' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_3291@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:24:47.571 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
<presence from='bob_subscribe_3291@domain.example.com' to='alice_subscribe_3291@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 10:24:47.571 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
<presence from='bob_subscribe_3291@domain.example.com/res1' to='alice_subscribe_3291@domain.example.com/res1'/>



*** User 2024-04-16 10:24:47.571 ***🔗
bob_subscribe_3291@domain.example.com/res1 in
<iq from='bob_subscribe_3291@domain.example.com' to='bob_subscribe_3291@domain.example.com/res1' id='pushd3be4b19388f4bfc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_3291@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:24:47.572 ***🔗
bob_subscribe_3291@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 10:24:47.573 ***🔗
bob_subscribe_3291@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 10:24:47.573 ***🔗
alice_subscribe_3291@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 10:24:47.573 ***🔗
alice_subscribe_3291@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 10:24:47.581 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2309.html



=== Ended at 2024-04-16 10:24:47
=== successfully completed test case
=== === Returned value: ok


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