=== Test case: privacy_SUITE:allow_subscription_both_message/1 (click for source code)
=== Config value:
[{watchdog,<0.6350.1>},
{escalus_no_stanzas_after_story,true},
{backend,mnesia},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{preset,"internal_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.33.59/privacy_suite.allow_subscription_both_message.15748.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.privacy_SUITE.logs/run.2022-01-27_15.33.59/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [],mod_sic => [],mod_stream_management => [],
mod_vcard => [{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"
=== Started at 2022-01-27 15:34:00
*** User 2022-01-27 15:34:00.901 ***
alicE_allow_subscription_both_message_1091@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-01-27 15:34:00.902 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4eee9f6a98d6e966' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.902 ***
alicE_allow_subscription_both_message_1091@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-01-27 15:34:00.902 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMTA5MQBtYXR5Z3J5c2E=</auth>
*** User 2022-01-27 15:34:00.902 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:00.903 ***
alicE_allow_subscription_both_message_1091@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-01-27 15:34:00.903 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee22ad5db89fe7cf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.903 ***
alicE_allow_subscription_both_message_1091@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-01-27 15:34:00.903 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<iq type='set' id='4bfce25e522da84bf9ede85d82dae8a1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:00.903 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq id='4bfce25e522da84bf9ede85d82dae8a1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_allow_subscription_both_message_1091@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:00.903 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<iq type='set' id='24733ad37ce935e86807e922c49e090e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.904 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq type='result' id='24733ad37ce935e86807e922c49e090e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.904 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:00.904 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<presence from='alicE_allow_subscription_both_message_1091@localhost/res1' to='alice_allow_subscription_both_message_1091@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:00.905 ***
bOb_allow_subscription_both_message_1091@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-01-27 15:34:00.905 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47485b951dfde374' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.905 ***
bOb_allow_subscription_both_message_1091@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-01-27 15:34:00.906 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzEwOTEAbWFrcm9saWth</auth>
*** User 2022-01-27 15:34:00.906 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:00.906 ***
bOb_allow_subscription_both_message_1091@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-01-27 15:34:00.907 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8bb0f12b5b2de6e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:00.907 ***
bOb_allow_subscription_both_message_1091@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-01-27 15:34:00.907 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<iq type='set' id='d34646d9528d3eca49128d180a133b69'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:00.909 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq id='d34646d9528d3eca49128d180a133b69' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_allow_subscription_both_message_1091@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:00.909 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<iq type='set' id='613e88d55ede34c352fba4adac2ac672'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.909 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq type='result' id='613e88d55ede34c352fba4adac2ac672'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:00.909 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:00.910 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<presence from='bOb_allow_subscription_both_message_1091@localhost/res1' to='bob_allow_subscription_both_message_1091@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:00.910 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<presence type='subscribe' to='bOb_allow_subscription_both_message_1091@localhost'/>
*** User 2022-01-27 15:34:00.911 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' id='push136537e233cd4fc4' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_1091@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.911 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<presence from='alicE_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-01-27 15:34:00.911 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<presence type='subscribed' to='alicE_allow_subscription_both_message_1091@localhost'/>
*** User 2022-01-27 15:34:00.912 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' id='push37c8a5288ee9006d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' jid='alice_allow_subscription_both_message_1091@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.912 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' id='pushb9aea7de10c16b1a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_both_message_1091@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.912 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<presence from='bOb_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-01-27 15:34:00.913 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<presence from='bOb_allow_subscription_both_message_1091@localhost/res1' to='alice_allow_subscription_both_message_1091@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:00.913 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<iq type='set' id='52f2e91512eb3c61ac87216f80a36f47'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'>
<item order='1' type='subscription' value='both' action='allow'>
<message/>
</item>
<item order='2' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:00.913 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' id='push65a6aa6ffe7b47f7' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.913 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' id='52f2e91512eb3c61ac87216f80a36f47' type='result'/>
*** User 2022-01-27 15:34:00.913 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<iq type='get' id='f11a8b1359f81571dc4080a31a78ca9a'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.914 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' id='f11a8b1359f81571dc4080a31a78ca9a' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'>
<item type='subscription' value='both' action='allow' order='1'>
<message/>
</item>
<item action='deny' order='2'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:00.914 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<iq type='set' id='766f29df24cb9416c564c644085b0d71'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.914 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' id='766f29df24cb9416c564c644085b0d71' type='result'/>
*** User 2022-01-27 15:34:00.915 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<iq type='set' id='d66bb22ff8b3b7096858adb862f8ba37'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'>
<item order='1' type='subscription' value='both' action='allow'>
<message/>
</item>
<item order='2' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:00.915 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' id='pushe91158ba65a14ca7' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.915 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' id='d66bb22ff8b3b7096858adb862f8ba37' type='result'/>
*** User 2022-01-27 15:34:00.915 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<iq type='get' id='8b91195efe70f3333061614a19eb9a27'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.916 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' id='8b91195efe70f3333061614a19eb9a27' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'>
<item type='subscription' value='both' action='allow' order='1'>
<message/>
</item>
<item action='deny' order='2'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-01-27 15:34:00.916 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<iq type='set' id='22751ed9456eacef26e352e37648931e'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.916 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' id='22751ed9456eacef26e352e37648931e' type='result'/>
*** User 2022-01-27 15:34:00.917 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<message to='alicE_allow_subscription_both_message_1091@localhost/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-01-27 15:34:00.917 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<message to='bOb_allow_subscription_both_message_1091@localhost/res1' type='chat'>
<body>Hi, Bob XYZ 1!</body>
</message>
*** User 2022-01-27 15:34:00.917 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<message from='bOb_allow_subscription_both_message_1091@localhost/res1' to='alicE_allow_subscription_both_message_1091@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-01-27 15:34:00.918 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<message from='alicE_allow_subscription_both_message_1091@localhost/res1' to='bOb_allow_subscription_both_message_1091@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-01-27 15:34:00.918 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<presence type='subscribe' to='alicE_allow_subscription_both_message_1091@localhost'/>
*** User 2022-01-27 15:34:00.919 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' id='push3f4aaa3514596fea' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_1091@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.919 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' id='push171e0ea834f00e30' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_both_message_1091@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.919 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<presence type='subscribed' to='bOb_allow_subscription_both_message_1091@localhost'/>
*** User 2022-01-27 15:34:00.919 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<presence from='bOb_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' xml:lang='en' type='subscribe'/>
*** User 2022-01-27 15:34:00.920 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<iq from='alicE_allow_subscription_both_message_1091@localhost' to='alicE_allow_subscription_both_message_1091@localhost/res1' id='push5f50e6b45dff5639' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_allow_subscription_both_message_1091@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.920 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<iq from='bOb_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' id='push22165cbae2799ee7' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_allow_subscription_both_message_1091@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:34:00.920 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<presence from='alicE_allow_subscription_both_message_1091@localhost' to='bOb_allow_subscription_both_message_1091@localhost/res1' xml:lang='en' type='subscribed'/>
*** User 2022-01-27 15:34:00.920 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<presence from='alicE_allow_subscription_both_message_1091@localhost/res1' to='bob_allow_subscription_both_message_1091@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:00.921 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
<message to='alicE_allow_subscription_both_message_1091@localhost/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-01-27 15:34:00.921 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
<message from='bOb_allow_subscription_both_message_1091@localhost/res1' to='alicE_allow_subscription_both_message_1091@localhost/res1' xml:lang='en' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-01-27 15:34:00.921 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
<message to='bOb_allow_subscription_both_message_1091@localhost/res1' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2022-01-27 15:34:00.922 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
<message from='alicE_allow_subscription_both_message_1091@localhost/res1' to='bOb_allow_subscription_both_message_1091@localhost/res1' xml:lang='en' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2022-01-27 15:34:00.922 ***
bOb_allow_subscription_both_message_1091@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:00.928 ***
bOb_allow_subscription_both_message_1091@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:34:00.928 ***
alicE_allow_subscription_both_message_1091@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:00.928 ***
alicE_allow_subscription_both_message_1091@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:00
=== successfully completed test case
=== === Returned value: ok