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

=== Config value:

    [{watchdog,<0.26462.1>},
     {escalus_no_stanzas_after_story,true},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.privacy_SUITE.logs/run.2022-03-07_16.05.02/privacy_suite.allow_subscription_to_from_message.161026.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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.privacy_SUITE.logs/run.2022-03-07_16.05.02/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => [],
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              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,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management => [],
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,ldap_binary_search_fields => [],
              ldap_pool_tag => default,
              ldap_search_fields =>
                  [{<<"User">>,<<"%u">>},
                   {<<"Full Name">>,<<"displayName">>},
                   {<<"Given Name">>,<<"givenName">>},
                   {<<"Middle Name">>,<<"initials">>},
                   {<<"Family Name">>,<<"sn">>},
                   {<<"Nickname">>,<<"%u">>},
                   {<<"Birthday">>,<<"birthDay">>},
                   {<<"Country">>,<<"c">>},
                   {<<"City">>,<<"l">>},
                   {<<"Email">>,<<"mail">>},
                   {<<"Organization Name">>,<<"o">>},
                   {<<"Organization Unit">>,<<"ou">>}],
              ldap_search_operator => 'and',
              ldap_search_reported =>
                  [{<<"Full Name">>,<<"FN">>},
                   {<<"Given Name">>,<<"FIRST">>},
                   {<<"Middle Name">>,<<"MIDDLE">>},
                   {<<"Family Name">>,<<"LAST">>},
                   {<<"Nickname">>,<<"NICK">>},
                   {<<"Birthday">>,<<"BDAY">>},
                   {<<"Country">>,<<"CTRY">>},
                   {<<"City">>,<<"LOCALITY">>},
                   {<<"Email">>,<<"EMAIL">>},
                   {<<"Organization Name">>,<<"ORGNAME">>},
                   {<<"Organization Unit">>,<<"ORGUNIT">>}],
              ldap_uids => [{<<"uid">>,<<"%u">>}],
              ldap_vcard_map =>
                  [{<<"NICKNAME">>,<<"%u">>,[]},
                   {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                   {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                   {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                   {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                   {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                   {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                   {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                   {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                   {<<"STREET">>,<<"%s">>,[<<"street">>]},
                   {<<"REGION">>,<<"%s">>,[<<"st">>]},
                   {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                   {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                   {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                   {<<"DESC">>,<<"%s">>,[<<"description">>]},
                   {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                   {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                   {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                   {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                   {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
              matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24"

=== Started at 2022-03-07 16:05:03


*** CT 2022-03-07 16:05:03.564 *** View log from node mongooseim@localhost when started mongooseim@localhost_1446.html
*** CT 2022-03-07 16:05:03.565 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_533.html

*** User 2022-03-07 16:05:03.572 ***
alicE_allow_subscription_to_from_message_1735@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-07 16:05:03.575 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f607e02086103110' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:03.575 ***
alicE_allow_subscription_to_from_message_1735@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-07 16:05:03.575 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl90b19mcm9tX21lc3NhZ2VfMTczNQBtYXR5Z3J5c2E=</auth>



*** User 2022-03-07 16:05:03.576 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:05:03.576 ***
alicE_allow_subscription_to_from_message_1735@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-07 16:05:03.577 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='025a342e9da7732b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:03.577 ***
alicE_allow_subscription_to_from_message_1735@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-07 16:05:03.577 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='set' id='e2ea60b35dfcb7fffffacc3c1932b9a7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:05:03.577 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq id='e2ea60b35dfcb7fffffacc3c1932b9a7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_allow_subscription_to_from_message_1735@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:05:03.578 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='set' id='a609a5f113eb5476a2a3f815873854d4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:03.578 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq type='result' id='a609a5f113eb5476a2a3f815873854d4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:03.578 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:05:03.580 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<presence from='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' to='alice_allow_subscription_to_from_message_1735@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:03.581 ***
bOb_allow_subscription_to_from_message_1735@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-07 16:05:03.581 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='25823b302b70c00f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:03.582 ***
bOb_allow_subscription_to_from_message_1735@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-07 16:05:03.582 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fdG9fZnJvbV9tZXNzYWdlXzE3MzUAbWFrcm9saWth</auth>



*** User 2022-03-07 16:05:03.583 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:05:03.583 ***
bOb_allow_subscription_to_from_message_1735@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-07 16:05:03.583 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c9e0279fb861e9f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:03.584 ***
bOb_allow_subscription_to_from_message_1735@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-07 16:05:03.584 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='set' id='f83374c45bdb790aee7802eef40d6288'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:05:03.584 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq id='f83374c45bdb790aee7802eef40d6288' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_allow_subscription_to_from_message_1735@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:05:03.584 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='set' id='ae4bdc564d70739e6d7ce20e10d9b9f2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:03.584 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq type='result' id='ae4bdc564d70739e6d7ce20e10d9b9f2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:03.585 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:05:03.587 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<presence from='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' to='bob_allow_subscription_to_from_message_1735@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:03.587 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='set' id='372dc76fcddad618171ca3f9ab36ddcd'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_to'>
			<item order='1' type='subscription' value='to' action='allow'>
				<message/>
			</item>
			<item order='2' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-07 16:05:03.591 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1735@domain.example.com' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' id='push06a1e1b9534b62fe' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_to'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.591 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1735@domain.example.com' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' id='372dc76fcddad618171ca3f9ab36ddcd' type='result'/>



*** User 2022-03-07 16:05:03.591 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='get' id='c3c97e38358d764da4de4feb538cdac2'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_to'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.593 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1735@domain.example.com' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' id='c3c97e38358d764da4de4feb538cdac2' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_to'>
			<item type='subscription' value='to' action='allow' order='1'>
				<message/>
			</item>
			<item action='deny' order='2'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-07 16:05:03.593 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='set' id='77f9779509144f6a556401776c1071a5'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_to'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.595 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1735@domain.example.com' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' id='77f9779509144f6a556401776c1071a5' type='result'/>



*** User 2022-03-07 16:05:03.595 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='set' id='728083b87b4a40312ce86e99efe69187'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_from'>
			<item order='1' type='subscription' value='from' action='allow'>
				<message/>
			</item>
			<item order='2' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-07 16:05:03.598 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1735@domain.example.com' to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' id='push9f37eda8df17d2dd' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_from'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.598 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1735@domain.example.com' to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' id='728083b87b4a40312ce86e99efe69187' type='result'/>



*** User 2022-03-07 16:05:03.598 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='get' id='bd709519b31c600bc451d4d8d7fa5aac'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_from'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.600 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1735@domain.example.com' to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' id='bd709519b31c600bc451d4d8d7fa5aac' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_from'>
			<item type='subscription' value='from' action='allow' order='1'>
				<message/>
			</item>
			<item action='deny' order='2'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2022-03-07 16:05:03.600 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<iq type='set' id='43624327183f4645632790910b4795c1'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_from'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.602 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1735@domain.example.com' to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' id='43624327183f4645632790910b4795c1' type='result'/>



*** User 2022-03-07 16:05:03.602 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<message to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-07 16:05:03.602 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<message to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ!</body>
</message>



*** User 2022-03-07 16:05:03.653 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<message from='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' type='error' xml:lang='en'>
	<body>Hi, Bob XYZ!</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2022-03-07 16:05:03.653 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<message from='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' to='bOb_allow_subscription_to_from_message_1735@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-07 16:05:03.653 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<presence type='subscribe' to='bOb_allow_subscription_to_from_message_1735@domain.example.com'/>



*** User 2022-03-07 16:05:03.672 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1735@domain.example.com' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' id='push990a3306cbd0a6b0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_allow_subscription_to_from_message_1735@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.672 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<presence from='alicE_allow_subscription_to_from_message_1735@domain.example.com' to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-07 16:05:03.673 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<presence type='subscribed' to='alicE_allow_subscription_to_from_message_1735@domain.example.com'/>



*** User 2022-03-07 16:05:03.688 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='bOb_allow_subscription_to_from_message_1735@domain.example.com' to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' id='push4e80e4ad85f21da4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' jid='alice_allow_subscription_to_from_message_1735@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.688 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<iq from='alicE_allow_subscription_to_from_message_1735@domain.example.com' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' id='pushb9980b3d6448b546' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_to_from_message_1735@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-07 16:05:03.688 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<presence from='bOb_allow_subscription_to_from_message_1735@domain.example.com' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-07 16:05:03.688 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<presence from='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' to='alice_allow_subscription_to_from_message_1735@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:03.688 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<message to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-07 16:05:03.690 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<message from='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' to='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-07 16:05:03.690 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
<message to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ!</body>
</message>



*** User 2022-03-07 16:05:03.692 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
<message from='alicE_allow_subscription_to_from_message_1735@domain.example.com/res1' to='bOb_allow_subscription_to_from_message_1735@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Bob XYZ!</body>
</message>



*** User 2022-03-07 16:05:03.692 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:05:03.692 ***
bOb_allow_subscription_to_from_message_1735@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-07 16:05:03.693 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:05:03.693 ***
alicE_allow_subscription_to_from_message_1735@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-07 16:05:03.697 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_533.html
*** CT 2022-03-07 16:05:03.700 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1446.html



=== Ended at 2022-03-07 16:05:03
=== successfully completed test case
=== === Returned value: ok