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

=== Config value:

    [{watchdog,<0.60027.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-26_15.51.43/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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-26_15.51.43/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@c558b6ad2bd8.2024-02-26_15.40.27"

=== Started at 2024-02-26 15:51:44


*** CT 2024-02-26 15:51:44.260 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2295.html

*** User 2024-02-26 15:51:44.268 ***🔗
alicE_subscribe_2564@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-02-26 15:51:44.269 ***🔗
alicE_subscribe_2564@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='32e98cce5e3817ea' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:51:44.269 ***🔗
alicE_subscribe_2564@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-02-26 15:51:44.269 ***🔗
alicE_subscribe_2564@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNTY0AG1hdHlncnlzYQ==</auth>



*** User 2024-02-26 15:51:44.270 ***🔗
alicE_subscribe_2564@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:51:44.270 ***🔗
alicE_subscribe_2564@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-02-26 15:51:44.270 ***🔗
alicE_subscribe_2564@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52b8a1798fb59430' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2564@domain.example.com'>

*** User 2024-02-26 15:51:44.270 ***🔗
alicE_subscribe_2564@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-02-26 15:51:44.270 ***🔗
alicE_subscribe_2564@domain.example.com/res1 out
<iq type='set' id='51efcf2b1b22b8d8ee939875e5332193'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 15:51:44.271 ***🔗
alicE_subscribe_2564@domain.example.com/res1 in
<iq id='51efcf2b1b22b8d8ee939875e5332193' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2564@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 15:51:44.271 ***🔗
alice_subscribe_2564@domain.example.com/res1 out
<iq type='set' id='5464d5bcef62adfa74de30ff94b37513'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:51:44.271 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2564@domain.example.com/res1' id='5464d5bcef62adfa74de30ff94b37513' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:51:44.271 ***🔗
alice_subscribe_2564@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 15:51:44.272 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
<presence from='alice_subscribe_2564@domain.example.com/res1' to='alice_subscribe_2564@domain.example.com/res1'/>



*** User 2024-02-26 15:51:44.273 ***🔗
bOb_subscribe_2564@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-02-26 15:51:44.273 ***🔗
bOb_subscribe_2564@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9465e14572f3491f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:51:44.273 ***🔗
bOb_subscribe_2564@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-02-26 15:51:44.273 ***🔗
bOb_subscribe_2564@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjU2NABtYWtyb2xpa2E=</auth>



*** User 2024-02-26 15:51:44.274 ***🔗
bOb_subscribe_2564@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:51:44.274 ***🔗
bOb_subscribe_2564@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-02-26 15:51:44.275 ***🔗
bOb_subscribe_2564@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a8a09fea4d5e926' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2564@domain.example.com'>

*** User 2024-02-26 15:51:44.275 ***🔗
bOb_subscribe_2564@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-02-26 15:51:44.275 ***🔗
bOb_subscribe_2564@domain.example.com/res1 out
<iq type='set' id='fea4af924fd2cd0fc51ff1506e6cdbb9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 15:51:44.275 ***🔗
bOb_subscribe_2564@domain.example.com/res1 in
<iq id='fea4af924fd2cd0fc51ff1506e6cdbb9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2564@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 15:51:44.275 ***🔗
bob_subscribe_2564@domain.example.com/res1 out
<iq type='set' id='9af870c7358534d4e95b78728d4dd890'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:51:44.275 ***🔗
bob_subscribe_2564@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2564@domain.example.com/res1' id='9af870c7358534d4e95b78728d4dd890' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:51:44.276 ***🔗
bob_subscribe_2564@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 15:51:44.277 ***🔗
bob_subscribe_2564@domain.example.com/res1 in
<presence from='bob_subscribe_2564@domain.example.com/res1' to='bob_subscribe_2564@domain.example.com/res1'/>



*** User 2024-02-26 15:51:44.277 ***🔗
alice_subscribe_2564@domain.example.com/res1 out
<iq type='set' id='1255b979965759c0f50b7727cf526df6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2564@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:51:44.280 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
<iq from='alice_subscribe_2564@domain.example.com' to='alice_subscribe_2564@domain.example.com/res1' id='push173a05cde94fc4d7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2564@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:51:44.280 ***🔗
alice_subscribe_2564@domain.example.com/res1 out
<iq to='alice_subscribe_2564@domain.example.com' id='push173a05cde94fc4d7' type='result'/>



*** User 2024-02-26 15:51:44.280 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
<iq from='alice_subscribe_2564@domain.example.com' to='alice_subscribe_2564@domain.example.com/res1' id='1255b979965759c0f50b7727cf526df6' type='result'/>



*** User 2024-02-26 15:51:44.280 ***🔗
alice_subscribe_2564@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2564@domain.example.com'/>



*** User 2024-02-26 15:51:44.286 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
<iq from='alice_subscribe_2564@domain.example.com' to='alice_subscribe_2564@domain.example.com/res1' id='pushcdd10081e18c3083' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2564@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:51:44.286 ***🔗
alice_subscribe_2564@domain.example.com/res1 out
<iq to='alice_subscribe_2564@domain.example.com' id='pushcdd10081e18c3083' type='result'/>



*** User 2024-02-26 15:51:44.286 ***🔗
bob_subscribe_2564@domain.example.com/res1 in
<presence from='alice_subscribe_2564@domain.example.com' to='bob_subscribe_2564@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-26 15:51:44.287 ***🔗
bob_subscribe_2564@domain.example.com/res1 out
<iq type='set' id='1f7dcaed9763bf408fc12b3cbea09ad7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2564@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:51:44.293 ***🔗
bob_subscribe_2564@domain.example.com/res1 in
<iq from='bob_subscribe_2564@domain.example.com' to='bob_subscribe_2564@domain.example.com/res1' id='push18fe5360c98ab4ec' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2564@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:51:44.293 ***🔗
bob_subscribe_2564@domain.example.com/res1 out
<iq to='bob_subscribe_2564@domain.example.com' id='push18fe5360c98ab4ec' type='result'/>



*** User 2024-02-26 15:51:44.293 ***🔗
bob_subscribe_2564@domain.example.com/res1 in
<iq from='bob_subscribe_2564@domain.example.com' to='bob_subscribe_2564@domain.example.com/res1' id='1f7dcaed9763bf408fc12b3cbea09ad7' type='result'/>



*** User 2024-02-26 15:51:44.293 ***🔗
bob_subscribe_2564@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2564@domain.example.com'/>



*** User 2024-02-26 15:51:44.299 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
<iq from='alice_subscribe_2564@domain.example.com' to='alice_subscribe_2564@domain.example.com/res1' id='push3fe1da80dc03a0db' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2564@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:51:44.299 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
<presence from='bob_subscribe_2564@domain.example.com' to='alice_subscribe_2564@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-26 15:51:44.300 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
<presence from='bob_subscribe_2564@domain.example.com/res1' to='alice_subscribe_2564@domain.example.com/res1'/>



*** User 2024-02-26 15:51:44.300 ***🔗
bob_subscribe_2564@domain.example.com/res1 in
<iq from='bob_subscribe_2564@domain.example.com' to='bob_subscribe_2564@domain.example.com/res1' id='pushcc6606a7967be29c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2564@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:51:44.301 ***🔗
bob_subscribe_2564@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 15:51:44.301 ***🔗
bob_subscribe_2564@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-26 15:51:44.301 ***🔗
alice_subscribe_2564@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 15:51:44.302 ***🔗
alice_subscribe_2564@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-26 15:51:44.310 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2295.html



=== Ended at 2024-02-26 15:51:44
=== successfully completed test case
=== === Returned value: ok


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