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

=== Config value:

    [{watchdog,<0.23580.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_12.36.18/privacy_suite.allow_subscription_both_message.119938.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_12.36.18/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:36:20


*** CT 2022-01-27 12:36:20.475 *** View log from node mongooseim@localhost when started mongooseim@localhost_2354.html
*** CT 2022-01-27 12:36:20.477 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_655.html

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

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



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



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

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



*** User 2022-01-27 12:36:20.549 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq id='6b792c27954f07dc23a01c5da5c05ed0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_allow_subscription_both_message_1723@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2022-01-27 12:36:20.549 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:20.552 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1723@domain.example.com/res1' to='alice_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en'/>



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

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



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



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

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



*** User 2022-01-27 12:36:20.570 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq id='3a3162e8a55caf74a306c8bedb1ff2fc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_allow_subscription_both_message_1723@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2022-01-27 12:36:20.571 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:20.574 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1723@domain.example.com/res1' to='bob_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:20.574 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
<presence type='subscribe' to='bOb_allow_subscription_both_message_1723@domain.example.com'/>



*** User 2022-01-27 12:36:20.632 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' id='pushce7181d6f457a6f3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_1723@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.632 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 12:36:20.632 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
<presence type='subscribed' to='alicE_allow_subscription_both_message_1723@domain.example.com'/>



*** User 2022-01-27 12:36:20.691 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' id='push9be013bfdc8e152a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' jid='alice_allow_subscription_both_message_1723@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.691 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' id='push7161819469328fa3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_1723@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.691 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 12:36:20.691 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1723@domain.example.com/res1' to='alice_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:20.691 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
<iq type='set' id='186552dc8857c057e19c474e8bcefce7'>
	<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-01-27 12:36:20.730 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' id='pushebf1ccd54e552569' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.730 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' id='186552dc8857c057e19c474e8bcefce7' type='result'/>



*** User 2022-01-27 12:36:20.730 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
<iq type='get' id='a7c6b7a50713e5e71bce3c176da7439a'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.733 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' id='a7c6b7a50713e5e71bce3c176da7439a' 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-01-27 12:36:20.733 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
<iq type='set' id='d7a0c5677702a71a0c335446167dafa0'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.738 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' id='d7a0c5677702a71a0c335446167dafa0' type='result'/>



*** User 2022-01-27 12:36:20.738 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
<iq type='set' id='c145740664a7554f3acbb3e45fa81ece'>
	<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-01-27 12:36:20.764 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' id='pushc2e791aef3ce4859' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.764 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' id='c145740664a7554f3acbb3e45fa81ece' type='result'/>



*** User 2022-01-27 12:36:20.764 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
<iq type='get' id='0a4ee29f3ddf5569a5518033ede6c862'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.767 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' id='0a4ee29f3ddf5569a5518033ede6c862' 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-01-27 12:36:20.767 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
<iq type='set' id='550aecbfdc9738a81c0c22c9666d5211'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.773 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' id='550aecbfdc9738a81c0c22c9666d5211' type='result'/>



*** User 2022-01-27 12:36:20.773 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
<message to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-01-27 12:36:20.773 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
<message to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ 1!</body>
</message>



*** User 2022-01-27 12:36:20.783 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<message from='bOb_allow_subscription_both_message_1723@domain.example.com/res1' to='alicE_allow_subscription_both_message_1723@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-01-27 12:36:20.783 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<message from='alicE_allow_subscription_both_message_1723@domain.example.com/res1' to='bOb_allow_subscription_both_message_1723@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-01-27 12:36:20.783 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
<presence type='subscribe' to='alicE_allow_subscription_both_message_1723@domain.example.com'/>



*** User 2022-01-27 12:36:20.841 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' id='pushe3768182510041f1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_1723@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.849 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' id='push5a3df26506ba809e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_1723@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.849 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
<presence type='subscribed' to='bOb_allow_subscription_both_message_1723@domain.example.com'/>



*** User 2022-01-27 12:36:20.850 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 12:36:20.897 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1723@domain.example.com' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' id='push449e61ad3d64c144' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_allow_subscription_both_message_1723@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.897 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' id='pushc03ce5bd757d97a0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_allow_subscription_both_message_1723@domain.example.com'/>
	</query>
</iq>



*** User 2022-01-27 12:36:20.898 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1723@domain.example.com' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 12:36:20.901 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1723@domain.example.com/res1' to='bob_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:20.901 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
<message to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-01-27 12:36:20.909 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
<message from='bOb_allow_subscription_both_message_1723@domain.example.com/res1' to='alicE_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-01-27 12:36:20.909 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
<message to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-01-27 12:36:20.922 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
<message from='alicE_allow_subscription_both_message_1723@domain.example.com/res1' to='bOb_allow_subscription_both_message_1723@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-01-27 12:36:20.922 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:20.923 ***
bOb_allow_subscription_both_message_1723@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:36:20.923 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:20.924 ***
alicE_allow_subscription_both_message_1723@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:36:20.929 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_655.html
*** CT 2022-01-27 12:36:20.929 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2354.html



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