=== Test case: privacy_SUITE:allow_subscription_both_message/1 (click for source code)
=== Config value:
[{watchdog,<0.45169.0>},
{escalus_no_stanzas_after_story,true},
{preset,"ldap_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d7809e9f2025.2024-04-10_11.46.48/big_tests.tests.privacy_SUITE.logs/run.2024-04-10_11.57.01/privacy_suite.allow_subscription_both_message.20101.html"},
{tc_group_properties,[{name,allowing},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@d7809e9f2025.2024-04-10_11.46.48/big_tests.tests.privacy_SUITE.logs/run.2024-04-10_11.57.01/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,
ldap =>
#{filter => <<"(objectClass=inetOrgPerson)">>,
base => <<"ou=Users,dc=esl,dc=com">>,
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
deref => never,
uids => [{<<"uid">>,<<"%u">>}],
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
search_operator => 'and',binary_search_fields => [],
pool_tag => default},
backend => ldap,iqdisc => parallel},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d7809e9f2025.2024-04-10_11.46.48"
=== Started at 2024-04-10 11:57:02
*** User 2024-04-10 11:57:02.140 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 11:57:02.141 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de5b1879599ca7b6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 11:57:02.141 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-10 11:57:02.141 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMTQ0NQBtYXR5Z3J5c2E=</auth>
*** User 2024-04-10 11:57:02.142 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 11:57:02.142 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 11:57:02.142 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19e6ae3136a2dc29' from='localhost' version='1.0' xml:lang='en' to='alice_allow_subscription_both_message_1445@localhost'>
*** User 2024-04-10 11:57:02.142 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-10 11:57:02.142 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 out
<iq type='set' id='e0449c29e913884897cbbc38fdfdb0cd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 11:57:02.143 ***🔗
alicE_allow_subscription_both_message_1445@localhost/res1 in
<iq id='e0449c29e913884897cbbc38fdfdb0cd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_allow_subscription_both_message_1445@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 11:57:02.143 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<iq type='set' id='4f663ed768c1dd1c3743f28c5b92bb1a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 11:57:02.143 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='4f663ed768c1dd1c3743f28c5b92bb1a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 11:57:02.143 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<presence/>
*** User 2024-04-10 11:57:02.144 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1445@localhost/res1' to='alice_allow_subscription_both_message_1445@localhost/res1'/>
*** User 2024-04-10 11:57:02.144 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 11:57:02.144 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c496898de73c953' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 11:57:02.144 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-10 11:57:02.145 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzE0NDUAbWFrcm9saWth</auth>
*** User 2024-04-10 11:57:02.145 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 11:57:02.145 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-10 11:57:02.146 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ba23383c9d057036' from='localhost' version='1.0' xml:lang='en' to='bob_allow_subscription_both_message_1445@localhost'>
*** User 2024-04-10 11:57:02.146 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-10 11:57:02.146 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 out
<iq type='set' id='bff10c80d5ade707c238e5cdf4035c24'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 11:57:02.146 ***🔗
bOb_allow_subscription_both_message_1445@localhost/res1 in
<iq id='bff10c80d5ade707c238e5cdf4035c24' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_allow_subscription_both_message_1445@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 11:57:02.146 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<iq type='set' id='78c5088468d7df9857ced08d04d26dd8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 11:57:02.147 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<iq from='localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' id='78c5088468d7df9857ced08d04d26dd8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 11:57:02.147 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<presence/>
*** User 2024-04-10 11:57:02.147 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1445@localhost/res1' to='bob_allow_subscription_both_message_1445@localhost/res1'/>
*** User 2024-04-10 11:57:02.147 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<presence type='subscribe' to='bob_allow_subscription_both_message_1445@localhost'/>
*** User 2024-04-10 11:57:02.148 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='pushc72ff8ca39d7266c' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='bob_allow_subscription_both_message_1445@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.148 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' type='subscribe'/>
*** User 2024-04-10 11:57:02.148 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<presence type='subscribed' to='alice_allow_subscription_both_message_1445@localhost'/>
*** User 2024-04-10 11:57:02.150 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' id='pushf752ded817812e31' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_allow_subscription_both_message_1445@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.150 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='push2685862eb809d554' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_allow_subscription_both_message_1445@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.150 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' type='subscribed'/>
*** User 2024-04-10 11:57:02.150 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1445@localhost/res1' to='alice_allow_subscription_both_message_1445@localhost/res1'/>
*** User 2024-04-10 11:57:02.150 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<iq type='set' id='61fc12573aea8f7cf5048021d7a8a27c'>
<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 2024-04-10 11:57:02.150 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='push3ac350314bc6aaac' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.151 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='61fc12573aea8f7cf5048021d7a8a27c' type='result'/>
*** User 2024-04-10 11:57:02.151 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<iq type='get' id='7bba70474b43ee6503a76e055719bc88'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.151 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='7bba70474b43ee6503a76e055719bc88' 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 2024-04-10 11:57:02.151 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<iq type='set' id='910d06c17fea54689fecbb4ddbdfd219'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.151 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='910d06c17fea54689fecbb4ddbdfd219' type='result'/>
*** User 2024-04-10 11:57:02.151 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<iq type='set' id='61ff04f4c2b811695ade5d5e3eb4c2ee'>
<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 2024-04-10 11:57:02.152 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' id='pusha085c90f0ce24313' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.152 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' id='61ff04f4c2b811695ade5d5e3eb4c2ee' type='result'/>
*** User 2024-04-10 11:57:02.152 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<iq type='get' id='f445d8c6ddd01f0f8e49dc6900e30008'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.152 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' id='f445d8c6ddd01f0f8e49dc6900e30008' 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 2024-04-10 11:57:02.152 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<iq type='set' id='aa59e54d47da98d66569ec11254f2459'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.153 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' id='aa59e54d47da98d66569ec11254f2459' type='result'/>
*** User 2024-04-10 11:57:02.153 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<message type='chat' to='alice_allow_subscription_both_message_1445@localhost/res1'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2024-04-10 11:57:02.153 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<message type='chat' to='bob_allow_subscription_both_message_1445@localhost/res1'>
<body>Hi, Bob XYZ 1!</body>
</message>
*** User 2024-04-10 11:57:02.153 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<message from='bob_allow_subscription_both_message_1445@localhost/res1' to='alice_allow_subscription_both_message_1445@localhost/res1' type='error'>
<body>Hi, Bob XYZ 1!</body>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
*** User 2024-04-10 11:57:02.153 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<message from='alice_allow_subscription_both_message_1445@localhost/res1' to='bob_allow_subscription_both_message_1445@localhost/res1' type='error'>
<body>Hi, Alice XYZ!</body>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
*** User 2024-04-10 11:57:02.153 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<presence type='subscribe' to='alice_allow_subscription_both_message_1445@localhost'/>
*** User 2024-04-10 11:57:02.155 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' id='push7502eab52befda2a' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' jid='alice_allow_subscription_both_message_1445@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.155 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='push34b0c51c268a3e56' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_allow_subscription_both_message_1445@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.155 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<presence type='subscribed' to='bob_allow_subscription_both_message_1445@localhost'/>
*** User 2024-04-10 11:57:02.155 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<presence from='bob_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' type='subscribe'/>
*** User 2024-04-10 11:57:02.156 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<iq from='alice_allow_subscription_both_message_1445@localhost' to='alice_allow_subscription_both_message_1445@localhost/res1' id='pushdce4f0e409b69de4' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_allow_subscription_both_message_1445@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.156 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<iq from='bob_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' id='push285ce3cbfc307e80' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_allow_subscription_both_message_1445@localhost' subscription='both'/>
</query>
</iq>
*** User 2024-04-10 11:57:02.156 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1445@localhost' to='bob_allow_subscription_both_message_1445@localhost/res1' type='subscribed'/>
*** User 2024-04-10 11:57:02.156 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<presence from='alice_allow_subscription_both_message_1445@localhost/res1' to='bob_allow_subscription_both_message_1445@localhost/res1'/>
*** User 2024-04-10 11:57:02.156 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
<message type='chat' to='alice_allow_subscription_both_message_1445@localhost/res1'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2024-04-10 11:57:02.157 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
<message from='bob_allow_subscription_both_message_1445@localhost/res1' to='alice_allow_subscription_both_message_1445@localhost/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2024-04-10 11:57:02.157 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
<message type='chat' to='bob_allow_subscription_both_message_1445@localhost/res1'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2024-04-10 11:57:02.157 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
<message from='alice_allow_subscription_both_message_1445@localhost/res1' to='bob_allow_subscription_both_message_1445@localhost/res1' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2024-04-10 11:57:02.157 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 out
</stream:stream>
*** User 2024-04-10 11:57:02.157 ***🔗
bob_allow_subscription_both_message_1445@localhost/res1 in
</stream:stream>
*** User 2024-04-10 11:57:02.158 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 out
</stream:stream>
*** User 2024-04-10 11:57:02.158 ***🔗
alice_allow_subscription_both_message_1445@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 11:57:02
=== successfully completed test case
=== === Returned value: ok