=== Test case: privacy_SUITE:allow_subscription_both_message/1 (click for source code)

=== Config value:

    [{watchdog,<0.25775.1>},
     {escalus_no_stanzas_after_story,true},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.privacy_SUITE.logs/run.2022-03-04_11.24.51/privacy_suite.allow_subscription_both_message.148354.html"},
     {tc_group_properties,[{name,allowing},{repeat_until_all_ok,3},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/privacy_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.privacy_SUITE.logs/run.2022-03-04_11.24.51/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:24:52


*** CT 2022-03-04 11:24:52.763 *** View log from node mongooseim@localhost when started mongooseim@localhost_2402.html
*** CT 2022-03-04 11:24:52.764 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_646.html

*** User 2022-03-04 11:24:52.770 ***
alicE_allow_subscription_both_message_1782@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-03-04 11:24:52.770 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05304555410cd011' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:52.770 ***
alicE_allow_subscription_both_message_1782@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-03-04 11:24:52.770 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMTc4MgBtYXR5Z3J5c2E=</auth>



*** User 2022-03-04 11:24:52.772 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:52.772 ***
alicE_allow_subscription_both_message_1782@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-03-04 11:24:52.772 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc49bf54d5276d70' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:52.772 ***
alicE_allow_subscription_both_message_1782@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-03-04 11:24:52.772 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='set' id='cb4354a9cdb92f11bdaacd943febf1a1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:52.773 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq id='cb4354a9cdb92f11bdaacd943febf1a1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_allow_subscription_both_message_1782@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:52.773 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='set' id='3df04f09971fdd952606316951badd68'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:52.773 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq type='result' id='3df04f09971fdd952606316951badd68'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:52.773 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:52.775 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1782@domain.example.com/res1' to='alice_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:52.775 ***
bOb_allow_subscription_both_message_1782@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-03-04 11:24:52.776 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='10601d53b33b7a38' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:52.776 ***
bOb_allow_subscription_both_message_1782@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-03-04 11:24:52.776 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzE3ODIAbWFrcm9saWth</auth>



*** User 2022-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@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-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='237c57d001545d4c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@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-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='set' id='f63f7b796e69c7197f7ff9d3003a4a82'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq id='f63f7b796e69c7197f7ff9d3003a4a82' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_allow_subscription_both_message_1782@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='set' id='f78cf8dea1be3a61efa21fb6a4932e6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq type='result' id='f78cf8dea1be3a61efa21fb6a4932e6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:52.777 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:52.780 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1782@domain.example.com/res1' to='bob_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:52.780 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<presence type='subscribe' to='bOb_allow_subscription_both_message_1782@domain.example.com'/>



*** User 2022-03-04 11:24:52.787 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' id='pushe0b805e393ac5fb4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_1782@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.787 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:24:52.787 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<presence type='subscribed' to='alicE_allow_subscription_both_message_1782@domain.example.com'/>



*** User 2022-03-04 11:24:52.793 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' id='push84566440187812e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' jid='alice_allow_subscription_both_message_1782@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.793 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' id='push5dbc363e30bc4b64' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_1782@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.793 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:24:52.793 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1782@domain.example.com/res1' to='alice_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:52.793 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='set' id='f309aad98f966351782068d1a9763666'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'>
			<item order='1' type='subscription' value='both' action='allow'>
				<message/>
			</item>
			<item order='2' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:24:52.797 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' id='push88e9c4a5bc824910' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.798 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' id='f309aad98f966351782068d1a9763666' type='result'/>



*** User 2022-03-04 11:24:52.798 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='get' id='0b9adde463914f99d8a2dae88abb4664'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.799 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' id='0b9adde463914f99d8a2dae88abb4664' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'>
			<item type='subscription' value='both' action='allow' order='1'>
				<message/>
			</item>
			<item action='deny' order='2'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:24:52.799 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='set' id='f1d8d8320c7bb22ce649fa0cba01251b'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.802 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' id='f1d8d8320c7bb22ce649fa0cba01251b' type='result'/>



*** User 2022-03-04 11:24:52.802 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='set' id='c2801cc1b74ef8242b8e6b30ef9c7179'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'>
			<item order='1' type='subscription' value='both' action='allow'>
				<message/>
			</item>
			<item order='2' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:24:52.805 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' id='pushaf38fb3de3d6c19a' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.805 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' id='c2801cc1b74ef8242b8e6b30ef9c7179' type='result'/>



*** User 2022-03-04 11:24:52.805 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='get' id='58d33138fde7ee53b8b81d854aef8c8f'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.807 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' id='58d33138fde7ee53b8b81d854aef8c8f' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'>
			<item type='subscription' value='both' action='allow' order='1'>
				<message/>
			</item>
			<item action='deny' order='2'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:24:52.807 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<iq type='set' id='2e54dfe78a9cd47c188533df2ebdecf9'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.809 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' id='2e54dfe78a9cd47c188533df2ebdecf9' type='result'/>



*** User 2022-03-04 11:24:52.810 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<message to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-04 11:24:52.810 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<message to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ 1!</body>
</message>



*** User 2022-03-04 11:24:52.816 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<message from='bOb_allow_subscription_both_message_1782@domain.example.com/res1' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' type='error' xml:lang='en'>
	<body>Hi, Bob XYZ 1!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2022-03-04 11:24:52.816 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<message from='alicE_allow_subscription_both_message_1782@domain.example.com/res1' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' type='error' xml:lang='en'>
	<body>Hi, Alice XYZ!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2022-03-04 11:24:52.816 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<presence type='subscribe' to='alicE_allow_subscription_both_message_1782@domain.example.com'/>



*** User 2022-03-04 11:24:52.824 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' id='push08c2dfc8fa0f1232' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_1782@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.824 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' id='push8b8153f406177638' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_1782@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.824 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<presence type='subscribed' to='bOb_allow_subscription_both_message_1782@domain.example.com'/>



*** User 2022-03-04 11:24:52.824 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:24:52.832 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1782@domain.example.com' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' id='pushc5d61d7d38ded7fa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_allow_subscription_both_message_1782@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.832 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' id='push1bd73fa78e90f73d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_allow_subscription_both_message_1782@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:52.832 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1782@domain.example.com' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:24:52.833 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1782@domain.example.com/res1' to='bob_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:52.833 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
<message to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-04 11:24:52.835 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
<message from='bOb_allow_subscription_both_message_1782@domain.example.com/res1' to='alicE_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-04 11:24:52.835 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
<message to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-03-04 11:24:52.838 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
<message from='alicE_allow_subscription_both_message_1782@domain.example.com/res1' to='bOb_allow_subscription_both_message_1782@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-03-04 11:24:52.838 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:52.838 ***
bOb_allow_subscription_both_message_1782@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:24:52.838 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:52.838 ***
alicE_allow_subscription_both_message_1782@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:24:52.840 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_646.html
*** CT 2022-03-04 11:24:52.841 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2402.html



=== Ended at 2022-03-04 11:24:52
=== successfully completed test case
=== === Returned value: ok