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

=== Config value:

    [{watchdog,<0.27731.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.privacy_SUITE.logs/run.2022-03-18_10.58.02/privacy_suite.allow_subscription_both_message.103299.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.privacy_SUITE.logs/run.2022-03-18_10.58.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,strategy => fifo,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 =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:58:04


*** CT 2022-03-18 10:58:04.036 *** View log from node mongooseim@localhost when started mongooseim@localhost_1482.html
*** CT 2022-03-18 10:58:04.036 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_533.html

*** User 2022-03-18 10:58:04.043 ***
alicE_allow_subscription_both_message_1974@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-18 10:58:04.044 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95c9206a4fc5bc40' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:04.044 ***
alicE_allow_subscription_both_message_1974@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-18 10:58:04.044 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMTk3NABtYXR5Z3J5c2E=</auth>



*** User 2022-03-18 10:58:04.045 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:04.045 ***
alicE_allow_subscription_both_message_1974@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-18 10:58:04.045 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='363838e2855dbfae' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:04.045 ***
alicE_allow_subscription_both_message_1974@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-18 10:58:04.045 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='set' id='4871e7734e1fe5505ceeab32e52d6593'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:04.045 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq id='4871e7734e1fe5505ceeab32e52d6593' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_allow_subscription_both_message_1974@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:04.046 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='set' id='5ec1c64ace20a6c096406d2610e0d858'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:04.046 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq type='result' id='5ec1c64ace20a6c096406d2610e0d858'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:04.046 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:04.047 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1974@domain.example.com/res1' to='alice_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:04.048 ***
bOb_allow_subscription_both_message_1974@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-18 10:58:04.048 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2380c4d33f75c8b5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:04.048 ***
bOb_allow_subscription_both_message_1974@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-18 10:58:04.048 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzE5NzQAbWFrcm9saWth</auth>



*** User 2022-03-18 10:58:04.049 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:04.049 ***
bOb_allow_subscription_both_message_1974@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-18 10:58:04.054 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae87ecce36280b97' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:04.054 ***
bOb_allow_subscription_both_message_1974@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-18 10:58:04.054 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='set' id='61b97eddc00b4b29a85cb1e72094f9e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:04.055 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq id='61b97eddc00b4b29a85cb1e72094f9e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_allow_subscription_both_message_1974@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:04.055 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='set' id='bc15b458b70ffd037b1fc29846b182ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:04.056 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq type='result' id='bc15b458b70ffd037b1fc29846b182ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:04.056 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:04.062 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1974@domain.example.com/res1' to='bob_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:04.062 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<presence type='subscribe' to='bOb_allow_subscription_both_message_1974@domain.example.com'/>



*** User 2022-03-18 10:58:04.083 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' id='pushc5cb116bea336914' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_1974@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.083 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-18 10:58:04.083 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<presence type='subscribed' to='alicE_allow_subscription_both_message_1974@domain.example.com'/>



*** User 2022-03-18 10:58:04.091 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' id='push2611e79ec93b132a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' jid='alice_allow_subscription_both_message_1974@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.091 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' id='pushb7646337dfcf7547' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_1974@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.091 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-18 10:58:04.091 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1974@domain.example.com/res1' to='alice_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:04.091 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='set' id='c796fb101094a93ca8c5783df7db960c'>
	<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-18 10:58:04.095 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' id='push15f9cec946c527f0' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.095 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' id='c796fb101094a93ca8c5783df7db960c' type='result'/>



*** User 2022-03-18 10:58:04.095 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='get' id='59c3af807a170a8e7ae9d4312f61c911'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.104 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' id='59c3af807a170a8e7ae9d4312f61c911' 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-18 10:58:04.104 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='set' id='fedd2f943869bae14316f0facf7392b0'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.106 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' id='fedd2f943869bae14316f0facf7392b0' type='result'/>



*** User 2022-03-18 10:58:04.106 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='set' id='6009a47ff75d09aa06eff5b4ea7a2077'>
	<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-18 10:58:04.109 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' id='push94d72eb5c25ac87e' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.109 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' id='6009a47ff75d09aa06eff5b4ea7a2077' type='result'/>



*** User 2022-03-18 10:58:04.109 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='get' id='d64148dae614e5d2cc966fd050a557e5'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.111 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' id='d64148dae614e5d2cc966fd050a557e5' 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-18 10:58:04.111 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<iq type='set' id='68b24f6601b76affc18898257b49a497'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.113 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' id='68b24f6601b76affc18898257b49a497' type='result'/>



*** User 2022-03-18 10:58:04.113 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<message to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-18 10:58:04.113 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<message to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ 1!</body>
</message>



*** User 2022-03-18 10:58:04.117 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<message from='bOb_allow_subscription_both_message_1974@domain.example.com/res1' to='alicE_allow_subscription_both_message_1974@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-18 10:58:04.117 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<message from='alicE_allow_subscription_both_message_1974@domain.example.com/res1' to='bOb_allow_subscription_both_message_1974@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-18 10:58:04.118 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<presence type='subscribe' to='alicE_allow_subscription_both_message_1974@domain.example.com'/>



*** User 2022-03-18 10:58:04.122 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' id='push71f3917b4fb2eb1c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_1974@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.122 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' id='push1658fb41270bc472' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_1974@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.122 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<presence type='subscribed' to='bOb_allow_subscription_both_message_1974@domain.example.com'/>



*** User 2022-03-18 10:58:04.123 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-18 10:58:04.128 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1974@domain.example.com' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' id='push6e6e0e28fc5036bd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_allow_subscription_both_message_1974@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.128 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' id='push852b3615a5785545' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_allow_subscription_both_message_1974@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-18 10:58:04.128 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1974@domain.example.com' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-18 10:58:04.128 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1974@domain.example.com/res1' to='bob_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:04.129 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
<message to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-18 10:58:04.130 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
<message from='bOb_allow_subscription_both_message_1974@domain.example.com/res1' to='alicE_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-03-18 10:58:04.131 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
<message to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-03-18 10:58:04.133 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
<message from='alicE_allow_subscription_both_message_1974@domain.example.com/res1' to='bOb_allow_subscription_both_message_1974@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-03-18 10:58:04.133 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:04.133 ***
bOb_allow_subscription_both_message_1974@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:58:04.133 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:04.134 ***
alicE_allow_subscription_both_message_1974@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:58:04.135 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_533.html
*** CT 2022-03-18 10:58:04.136 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1482.html



=== Ended at 2022-03-18 10:58:04
=== successfully completed test case
=== === Returned value: ok