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

=== Config value:

    [{watchdog,<0.57425.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-17_15.19.37/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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-17_15.19.37/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@9f12fc69b406.2023-11-17_15.10.18"

=== Started at 2023-11-17 15:19:37


*** CT 2023-11-17 15:19:37.836 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2372.html

*** User 2023-11-17 15:19:37.843 ***🔗
alicE_subscribe_2351@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 2023-11-17 15:19:37.843 ***🔗
alicE_subscribe_2351@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fdbed4fb32c8d883' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:19:37.843 ***🔗
alicE_subscribe_2351@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 2023-11-17 15:19:37.843 ***🔗
alicE_subscribe_2351@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yMzUxAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:19:37.844 ***🔗
alicE_subscribe_2351@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:19:37.844 ***🔗
alicE_subscribe_2351@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 2023-11-17 15:19:37.844 ***🔗
alicE_subscribe_2351@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe8e643f511b5c08' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2351@domain.example.com'>

*** User 2023-11-17 15:19:37.844 ***🔗
alicE_subscribe_2351@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 2023-11-17 15:19:37.845 ***🔗
alicE_subscribe_2351@domain.example.com/res1 out
<iq type='set' id='b78831f06922331691593a0165d6c68e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:19:37.845 ***🔗
alicE_subscribe_2351@domain.example.com/res1 in
<iq id='b78831f06922331691593a0165d6c68e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2351@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:19:37.845 ***🔗
alice_subscribe_2351@domain.example.com/res1 out
<iq type='set' id='e469e20819e58081354480f73527d8c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:19:37.845 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2351@domain.example.com/res1' id='e469e20819e58081354480f73527d8c4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:19:37.845 ***🔗
alice_subscribe_2351@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:19:37.846 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
<presence from='alice_subscribe_2351@domain.example.com/res1' to='alice_subscribe_2351@domain.example.com/res1'/>



*** User 2023-11-17 15:19:37.846 ***🔗
bOb_subscribe_2351@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 2023-11-17 15:19:37.847 ***🔗
bOb_subscribe_2351@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e77cf7080693f2df' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:19:37.847 ***🔗
bOb_subscribe_2351@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 2023-11-17 15:19:37.847 ***🔗
bOb_subscribe_2351@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjM1MQBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:19:37.847 ***🔗
bOb_subscribe_2351@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:19:37.848 ***🔗
bOb_subscribe_2351@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 2023-11-17 15:19:37.848 ***🔗
bOb_subscribe_2351@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d82f88c0fdaedfac' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2351@domain.example.com'>

*** User 2023-11-17 15:19:37.848 ***🔗
bOb_subscribe_2351@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 2023-11-17 15:19:37.848 ***🔗
bOb_subscribe_2351@domain.example.com/res1 out
<iq type='set' id='3e23373e4b5a547bb54c43c79a6a2aa1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:19:37.848 ***🔗
bOb_subscribe_2351@domain.example.com/res1 in
<iq id='3e23373e4b5a547bb54c43c79a6a2aa1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2351@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:19:37.848 ***🔗
bob_subscribe_2351@domain.example.com/res1 out
<iq type='set' id='813bacd673f80247cb97e572e4183b25'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:19:37.848 ***🔗
bob_subscribe_2351@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2351@domain.example.com/res1' id='813bacd673f80247cb97e572e4183b25' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:19:37.848 ***🔗
bob_subscribe_2351@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:19:37.849 ***🔗
bob_subscribe_2351@domain.example.com/res1 in
<presence from='bob_subscribe_2351@domain.example.com/res1' to='bob_subscribe_2351@domain.example.com/res1'/>



*** User 2023-11-17 15:19:37.849 ***🔗
alice_subscribe_2351@domain.example.com/res1 out
<iq type='set' id='cc4fa8998a02b644d49ffe6bfeb9d55d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2351@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.852 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
<iq from='alice_subscribe_2351@domain.example.com' to='alice_subscribe_2351@domain.example.com/res1' id='push779b7fe6663dc71a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2351@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.852 ***🔗
alice_subscribe_2351@domain.example.com/res1 out
<iq to='alice_subscribe_2351@domain.example.com' id='push779b7fe6663dc71a' type='result'/>



*** User 2023-11-17 15:19:37.852 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
<iq from='alice_subscribe_2351@domain.example.com' to='alice_subscribe_2351@domain.example.com/res1' id='cc4fa8998a02b644d49ffe6bfeb9d55d' type='result'/>



*** User 2023-11-17 15:19:37.852 ***🔗
alice_subscribe_2351@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2351@domain.example.com'/>



*** User 2023-11-17 15:19:37.856 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
<iq from='alice_subscribe_2351@domain.example.com' to='alice_subscribe_2351@domain.example.com/res1' id='push224e41860813e05f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2351@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.857 ***🔗
alice_subscribe_2351@domain.example.com/res1 out
<iq to='alice_subscribe_2351@domain.example.com' id='push224e41860813e05f' type='result'/>



*** User 2023-11-17 15:19:37.857 ***🔗
bob_subscribe_2351@domain.example.com/res1 in
<presence from='alice_subscribe_2351@domain.example.com' to='bob_subscribe_2351@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-17 15:19:37.857 ***🔗
bob_subscribe_2351@domain.example.com/res1 out
<iq type='set' id='2e709e3f8aacfc3f47e9c67d7ad43b3f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2351@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.859 ***🔗
bob_subscribe_2351@domain.example.com/res1 in
<iq from='bob_subscribe_2351@domain.example.com' to='bob_subscribe_2351@domain.example.com/res1' id='push9e08c76e4f5e374c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2351@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.860 ***🔗
bob_subscribe_2351@domain.example.com/res1 out
<iq to='bob_subscribe_2351@domain.example.com' id='push9e08c76e4f5e374c' type='result'/>



*** User 2023-11-17 15:19:37.860 ***🔗
bob_subscribe_2351@domain.example.com/res1 in
<iq from='bob_subscribe_2351@domain.example.com' to='bob_subscribe_2351@domain.example.com/res1' id='2e709e3f8aacfc3f47e9c67d7ad43b3f' type='result'/>



*** User 2023-11-17 15:19:37.860 ***🔗
bob_subscribe_2351@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2351@domain.example.com'/>



*** User 2023-11-17 15:19:37.864 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
<iq from='alice_subscribe_2351@domain.example.com' to='alice_subscribe_2351@domain.example.com/res1' id='push9179579fafcce4f9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2351@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.864 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
<presence from='bob_subscribe_2351@domain.example.com' to='alice_subscribe_2351@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-17 15:19:37.864 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
<presence from='bob_subscribe_2351@domain.example.com/res1' to='alice_subscribe_2351@domain.example.com/res1'/>



*** User 2023-11-17 15:19:37.864 ***🔗
bob_subscribe_2351@domain.example.com/res1 in
<iq from='bob_subscribe_2351@domain.example.com' to='bob_subscribe_2351@domain.example.com/res1' id='push19012736cee0c72e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2351@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:19:37.865 ***🔗
bob_subscribe_2351@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:19:37.865 ***🔗
bob_subscribe_2351@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:19:37.865 ***🔗
alice_subscribe_2351@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:19:37.866 ***🔗
alice_subscribe_2351@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:19:37.871 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2372.html



=== Ended at 2023-11-17 15:19:37
=== successfully completed test case
=== === Returned value: ok


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