=== Test case: privacy_SUITE:allow_subscription_both_message/1 (click for source code)
=== Config value:
[{watchdog,<0.15640.1>},
{escalus_no_stanzas_after_story,true},
{backend,riak},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{preset,"riak_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.privacy_SUITE.logs/run.2022-06-22_08.55.28/privacy_suite.allow_subscription_both_message.19717.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.privacy_SUITE.logs/run.2022-06-22_08.55.28/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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 => riak,iqdisc => one_queue,
riak =>
#{bucket_type => <<"rosters">>,
version_bucket_type => <<"roster_versions">>},
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 => riak,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,
riak =>
#{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"
=== Started at 2022-06-22 08:55:30
*** User 2022-06-22 08:55:30.301 ***🔗
alicE_allow_subscription_both_message_1416@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:55:30.301 ***🔗
alicE_allow_subscription_both_message_1416@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d23eb66934e6286' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:55:30.301 ***🔗
alicE_allow_subscription_both_message_1416@localhost/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-06-22 08:55:30.301 ***🔗
alicE_allow_subscription_both_message_1416@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMTQxNgBtYXR5Z3J5c2E=</auth>
*** User 2022-06-22 08:55:30.303 ***🔗
alicE_allow_subscription_both_message_1416@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 08:55:30.303 ***🔗
alicE_allow_subscription_both_message_1416@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:55:30.303 ***🔗
alicE_allow_subscription_both_message_1416@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='244f91d2de577272' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:55:30.304 ***🔗
alicE_allow_subscription_both_message_1416@localhost/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-06-22 08:55:30.304 ***🔗
alicE_allow_subscription_both_message_1416@localhost/res1 out
<iq type='set' id='232dd35f3d648d801409cd5aa9709a3a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 08:55:30.304 ***🔗
alicE_allow_subscription_both_message_1416@localhost/res1 in
<iq id='232dd35f3d648d801409cd5aa9709a3a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_allow_subscription_both_message_1416@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 08:55:30.304 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<iq type='set' id='50aeac1b2cea695c9fbd87c367a9a0cb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:55:30.304 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq type='result' id='50aeac1b2cea695c9fbd87c367a9a0cb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:55:30.304 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<presence/>
*** User 2022-06-22 08:55:30.306 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1416@localhost/res1' to='alice_allow_subscription_both_message_1416@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 08:55:30.307 ***🔗
bOb_allow_subscription_both_message_1416@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:55:30.307 ***🔗
bOb_allow_subscription_both_message_1416@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5dd37b2c843e24d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:55:30.308 ***🔗
bOb_allow_subscription_both_message_1416@localhost/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-06-22 08:55:30.308 ***🔗
bOb_allow_subscription_both_message_1416@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzE0MTYAbWFrcm9saWth</auth>
*** User 2022-06-22 08:55:30.309 ***🔗
bOb_allow_subscription_both_message_1416@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 08:55:30.309 ***🔗
bOb_allow_subscription_both_message_1416@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:55:30.309 ***🔗
bOb_allow_subscription_both_message_1416@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='26583384f6f9e484' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:55:30.310 ***🔗
bOb_allow_subscription_both_message_1416@localhost/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-06-22 08:55:30.310 ***🔗
bOb_allow_subscription_both_message_1416@localhost/res1 out
<iq type='set' id='edf5fb9f3fed704db0b756bc621d517f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 08:55:30.310 ***🔗
bOb_allow_subscription_both_message_1416@localhost/res1 in
<iq id='edf5fb9f3fed704db0b756bc621d517f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_allow_subscription_both_message_1416@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 08:55:30.310 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<iq type='set' id='f1c71750e4e4e19d9aeeb0b2c62c64a9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:55:30.310 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<iq type='result' id='f1c71750e4e4e19d9aeeb0b2c62c64a9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:55:30.310 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<presence/>
*** User 2022-06-22 08:55:30.312 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1416@localhost/res1' to='bob_allow_subscription_both_message_1416@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 08:55:30.313 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<presence type='subscribe' to='bob_allow_subscription_both_message_1416@localhost'/>
*** User 2022-06-22 08:55:30.319 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' id='pushbbb3d9c70c6bb2b3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_1416@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.319 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-06-22 08:55:30.319 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<presence type='subscribed' to='alice_allow_subscription_both_message_1416@localhost'/>
*** User 2022-06-22 08:55:30.360 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' id='push97a26e9e4ef922b8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' jid='alice_allow_subscription_both_message_1416@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.360 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' id='push7d78ae233cc64143' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_both_message_1416@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.360 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-06-22 08:55:30.361 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1416@localhost/res1' to='alice_allow_subscription_both_message_1416@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 08:55:30.361 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<iq type='set' id='0b666206d124940435f7fb85a5185756'>
<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-06-22 08:55:30.364 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' id='pushd62b140e08da63cc' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.364 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' id='0b666206d124940435f7fb85a5185756' type='result'/>
*** User 2022-06-22 08:55:30.364 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<iq type='get' id='0bf93b84d23ebbfc7461fff12bf723e8'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.365 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' id='0bf93b84d23ebbfc7461fff12bf723e8' 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-06-22 08:55:30.365 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<iq type='set' id='bd7530a90a079c079e14fa16933b00f3'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.368 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' id='bd7530a90a079c079e14fa16933b00f3' type='result'/>
*** User 2022-06-22 08:55:30.368 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<iq type='set' id='62fdf9779012fe19f4ea4e2f650da047'>
<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-06-22 08:55:30.370 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' id='pusha3d1f8fdf2ba1e0c' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.370 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' id='62fdf9779012fe19f4ea4e2f650da047' type='result'/>
*** User 2022-06-22 08:55:30.370 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<iq type='get' id='5995c2238f99f3a75bf14b5a0c122665'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.372 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' id='5995c2238f99f3a75bf14b5a0c122665' 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-06-22 08:55:30.372 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<iq type='set' id='5ad2b4a9c8885da0cf6d634f8bd20142'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.376 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' id='5ad2b4a9c8885da0cf6d634f8bd20142' type='result'/>
*** User 2022-06-22 08:55:30.376 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<message to='alice_allow_subscription_both_message_1416@localhost/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-06-22 08:55:30.376 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<message to='bob_allow_subscription_both_message_1416@localhost/res1' type='chat'>
<body>Hi, Bob XYZ 1!</body>
</message>
*** User 2022-06-22 08:55:30.382 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<message from='bob_allow_subscription_both_message_1416@localhost/res1' to='alice_allow_subscription_both_message_1416@localhost/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-06-22 08:55:30.382 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<message from='alice_allow_subscription_both_message_1416@localhost/res1' to='bob_allow_subscription_both_message_1416@localhost/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-06-22 08:55:30.383 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<presence type='subscribe' to='alice_allow_subscription_both_message_1416@localhost'/>
*** User 2022-06-22 08:55:30.461 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' id='push0e759b1ed2f8fa3a' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_1416@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.461 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' id='pushac9c4b2cae417203' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_both_message_1416@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.461 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<presence type='subscribed' to='bob_allow_subscription_both_message_1416@localhost'/>
*** User 2022-06-22 08:55:30.462 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-06-22 08:55:30.473 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1416@localhost' to='alice_allow_subscription_both_message_1416@localhost/res1' id='pushd346998f2ae4576a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_allow_subscription_both_message_1416@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.473 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' id='pushe164725f6fbcc9cc' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_allow_subscription_both_message_1416@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:55:30.473 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1416@localhost' to='bob_allow_subscription_both_message_1416@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-06-22 08:55:30.474 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1416@localhost/res1' to='bob_allow_subscription_both_message_1416@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 08:55:30.474 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
<message to='alice_allow_subscription_both_message_1416@localhost/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-06-22 08:55:30.558 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
<message from='bob_allow_subscription_both_message_1416@localhost/res1' to='alice_allow_subscription_both_message_1416@localhost/res1' xml:lang='en' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-06-22 08:55:30.558 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
<message to='bob_allow_subscription_both_message_1416@localhost/res1' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2022-06-22 08:55:30.564 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
<message from='alice_allow_subscription_both_message_1416@localhost/res1' to='bob_allow_subscription_both_message_1416@localhost/res1' xml:lang='en' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2022-06-22 08:55:30.564 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 out
</stream:stream>
*** User 2022-06-22 08:55:30.564 ***🔗
bob_allow_subscription_both_message_1416@localhost/res1 in
</stream:stream>
*** User 2022-06-22 08:55:30.564 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 out
</stream:stream>
*** User 2022-06-22 08:55:30.564 ***🔗
alice_allow_subscription_both_message_1416@localhost/res1 in
</stream:stream>
=== Ended at 2022-06-22 08:55:30
=== successfully completed test case
=== === Returned value: ok