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

=== Config value:

    [{watchdog,<0.31557.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.privacy_SUITE.logs/run.2022-05-25_09.13.04/privacy_suite.allow_subscription_both_message.64644.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.privacy_SUITE.logs/run.2022-05-25_09.13.04/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 => #{iqdisc => no_queue},
        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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:13:06


*** CT 2022-05-25 09:13:06.179 *** View log from node mongooseim@localhost when started mongooseim@localhost_2330.html
*** CT 2022-05-25 09:13:06.179 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_520.html

*** User 2022-05-25 09:13:06.185 ***
alicE_allow_subscription_both_message_2014@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-05-25 09:13:06.185 ***
alicE_allow_subscription_both_message_2014@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='153dc74195900b3f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:06.186 ***
alicE_allow_subscription_both_message_2014@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-05-25 09:13:06.186 ***
alicE_allow_subscription_both_message_2014@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMjAxNABtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 09:13:06.187 ***
alicE_allow_subscription_both_message_2014@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:06.187 ***
alicE_allow_subscription_both_message_2014@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-05-25 09:13:06.187 ***
alicE_allow_subscription_both_message_2014@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97dcd35a3e116651' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:06.187 ***
alicE_allow_subscription_both_message_2014@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-05-25 09:13:06.187 ***
alicE_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='set' id='65c00e2cb4f1f07e8a6f04c740838211'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:06.187 ***
alicE_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq id='65c00e2cb4f1f07e8a6f04c740838211' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_allow_subscription_both_message_2014@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:06.187 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='set' id='d368c0de9dca21aab7abf7bbedd1f625'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:06.188 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq type='result' id='d368c0de9dca21aab7abf7bbedd1f625'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:06.188 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:06.189 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<presence from='alice_allow_subscription_both_message_2014@domain.example.com/res1' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:06.190 ***
bOb_allow_subscription_both_message_2014@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-05-25 09:13:06.190 ***
bOb_allow_subscription_both_message_2014@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='64f028bcd94a9cf8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:06.190 ***
bOb_allow_subscription_both_message_2014@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-05-25 09:13:06.190 ***
bOb_allow_subscription_both_message_2014@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzIwMTQAbWFrcm9saWth</auth>



*** User 2022-05-25 09:13:06.191 ***
bOb_allow_subscription_both_message_2014@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:06.191 ***
bOb_allow_subscription_both_message_2014@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-05-25 09:13:06.191 ***
bOb_allow_subscription_both_message_2014@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb3c40a77cdd7caa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:06.192 ***
bOb_allow_subscription_both_message_2014@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-05-25 09:13:06.192 ***
bOb_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='set' id='604acd492a13ce8ecf0887e1e2705d78'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:06.192 ***
bOb_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq id='604acd492a13ce8ecf0887e1e2705d78' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_allow_subscription_both_message_2014@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:06.192 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='set' id='eb50cadc612cbb8928454b86a9bad7b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:06.192 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq type='result' id='eb50cadc612cbb8928454b86a9bad7b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:06.192 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:06.194 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<presence from='bob_allow_subscription_both_message_2014@domain.example.com/res1' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:06.194 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<presence type='subscribe' to='bob_allow_subscription_both_message_2014@domain.example.com'/>



*** User 2022-05-25 09:13:06.198 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' id='push3a2755d35593657d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_2014@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.198 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<presence from='alice_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-25 09:13:06.198 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<presence type='subscribed' to='alice_allow_subscription_both_message_2014@domain.example.com'/>



*** User 2022-05-25 09:13:06.204 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' id='push897b7adc181865d1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' jid='alice_allow_subscription_both_message_2014@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.204 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' id='push74517e928963e960' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_2014@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.204 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<presence from='bob_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-25 09:13:06.204 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<presence from='bob_allow_subscription_both_message_2014@domain.example.com/res1' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:06.204 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='set' id='ed9b3b715b6635d4e9b14e0e3c38ed0d'>
	<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-05-25 09:13:06.207 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' id='push0e196d7aa1958613' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.207 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' id='ed9b3b715b6635d4e9b14e0e3c38ed0d' type='result'/>



*** User 2022-05-25 09:13:06.207 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='get' id='ed4c0bba5889a5247245c17d13945205'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.208 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' id='ed4c0bba5889a5247245c17d13945205' 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-05-25 09:13:06.209 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='set' id='c6a3e701591d8e38fb9e020db60dfe4f'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.210 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' id='c6a3e701591d8e38fb9e020db60dfe4f' type='result'/>



*** User 2022-05-25 09:13:06.210 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='set' id='3a05c3427028b000e5a3ebd6d7e2cd23'>
	<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-05-25 09:13:06.214 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' id='push2e0a491f1c4b957b' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.214 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' id='3a05c3427028b000e5a3ebd6d7e2cd23' type='result'/>



*** User 2022-05-25 09:13:06.214 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='get' id='015cb6a09c3de8bd89cbbf51524ed879'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.216 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' id='015cb6a09c3de8bd89cbbf51524ed879' 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-05-25 09:13:06.216 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<iq type='set' id='46af741562bebe59efc4cf2509d5cc1e'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message_but_subscription_both'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.218 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' id='46af741562bebe59efc4cf2509d5cc1e' type='result'/>



*** User 2022-05-25 09:13:06.218 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<message to='alice_allow_subscription_both_message_2014@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-05-25 09:13:06.218 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<message to='bob_allow_subscription_both_message_2014@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ 1!</body>
</message>



*** User 2022-05-25 09:13:06.223 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<message from='bob_allow_subscription_both_message_2014@domain.example.com/res1' to='alice_allow_subscription_both_message_2014@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-05-25 09:13:06.223 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<message from='alice_allow_subscription_both_message_2014@domain.example.com/res1' to='bob_allow_subscription_both_message_2014@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-05-25 09:13:06.223 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<presence type='subscribe' to='alice_allow_subscription_both_message_2014@domain.example.com'/>



*** User 2022-05-25 09:13:06.230 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' id='push3853f2e279dd4e3f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_2014@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.230 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' id='push30ebfc8211a23f31' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='bob_allow_subscription_both_message_2014@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.230 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<presence type='subscribed' to='bob_allow_subscription_both_message_2014@domain.example.com'/>



*** User 2022-05-25 09:13:06.231 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<presence from='bob_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-25 09:13:06.240 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_2014@domain.example.com' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' id='push92e0b6fdf1975477' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_allow_subscription_both_message_2014@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.240 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' id='pushd54b4eb7ad791905' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_allow_subscription_both_message_2014@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:13:06.240 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<presence from='alice_allow_subscription_both_message_2014@domain.example.com' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-25 09:13:06.241 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<presence from='alice_allow_subscription_both_message_2014@domain.example.com/res1' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:06.241 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
<message to='alice_allow_subscription_both_message_2014@domain.example.com/res1' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-05-25 09:13:06.244 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
<message from='bob_allow_subscription_both_message_2014@domain.example.com/res1' to='alice_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice XYZ!</body>
</message>



*** User 2022-05-25 09:13:06.244 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
<message to='bob_allow_subscription_both_message_2014@domain.example.com/res1' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-05-25 09:13:06.247 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
<message from='alice_allow_subscription_both_message_2014@domain.example.com/res1' to='bob_allow_subscription_both_message_2014@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Bob XYZ! 2</body>
</message>



*** User 2022-05-25 09:13:06.247 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:06.247 ***
bob_allow_subscription_both_message_2014@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:13:06.247 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:06.247 ***
alice_allow_subscription_both_message_2014@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:13:06.249 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_520.html
*** CT 2022-05-25 09:13:06.250 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2330.html



=== Ended at 2022-05-25 09:13:06
=== successfully completed test case
=== === Returned value: ok