=== Test case: privacy_SUITE:allow_subscription_both_message/1 (click for source code)
=== Config value:
[{watchdog,<0.31265.1>},
{escalus_no_stanzas_after_story,true},
{backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.privacy_SUITE.logs/run.2022-05-11_09.04.20/privacy_suite.allow_subscription_both_message.66692.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.privacy_SUITE.logs/run.2022-05-11_09.04.20/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@df370d24fb6d.2022-05-11_08.56.40"
=== Started at 2022-05-11 09:04:21
*** User 2022-05-11 09:04:21.653 ***
alicE_allow_subscription_both_message_1977@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-11 09:04:21.653 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5fb98bee7394226' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:21.653 ***
alicE_allow_subscription_both_message_1977@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-11 09:04:21.653 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMTk3NwBtYXR5Z3J5c2E=</auth>
*** User 2022-05-11 09:04:21.654 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:04:21.654 ***
alicE_allow_subscription_both_message_1977@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-11 09:04:21.654 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='881e7a7cd0ab310f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:21.654 ***
alicE_allow_subscription_both_message_1977@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-11 09:04:21.654 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='set' id='4ebf32000ee154e23e8d78ab21365c66'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:04:21.655 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq id='4ebf32000ee154e23e8d78ab21365c66' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_allow_subscription_both_message_1977@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:04:21.655 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='set' id='6a0ed6f0bb539a65d9e3afab134e7786'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:21.655 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq type='result' id='6a0ed6f0bb539a65d9e3afab134e7786'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:21.655 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 09:04:21.656 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1977@domain.example.com/res1' to='alice_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:21.657 ***
bOb_allow_subscription_both_message_1977@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-11 09:04:21.657 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='caba65215b62f68f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:21.657 ***
bOb_allow_subscription_both_message_1977@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-11 09:04:21.657 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzE5NzcAbWFrcm9saWth</auth>
*** User 2022-05-11 09:04:21.658 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:04:21.658 ***
bOb_allow_subscription_both_message_1977@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-11 09:04:21.658 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95442d48dddaf06b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:04:21.658 ***
bOb_allow_subscription_both_message_1977@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-11 09:04:21.658 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='set' id='142ed8799b27271654e3ab0dec2b036b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:04:21.659 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq id='142ed8799b27271654e3ab0dec2b036b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_allow_subscription_both_message_1977@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:04:21.659 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='set' id='87ebc7f0d8ed15ffc259c0b5b20505ac'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:21.659 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq type='result' id='87ebc7f0d8ed15ffc259c0b5b20505ac'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:04:21.659 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<presence/>
*** User 2022-05-11 09:04:21.660 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1977@domain.example.com/res1' to='bob_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:21.660 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<presence type='subscribe' to='bOb_allow_subscription_both_message_1977@domain.example.com'/>
*** User 2022-05-11 09:04:21.664 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' id='push6591aa0a5c55367d' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_1977@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.664 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-05-11 09:04:21.664 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<presence type='subscribed' to='alicE_allow_subscription_both_message_1977@domain.example.com'/>
*** User 2022-05-11 09:04:21.667 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' id='pushbf0498a123c04c69' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' jid='alice_allow_subscription_both_message_1977@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.667 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' id='push7057c735aa49b19e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_both_message_1977@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.667 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-05-11 09:04:21.667 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1977@domain.example.com/res1' to='alice_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:21.667 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='set' id='df3b7dff2478ab41263c9a041aded968'>
<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-11 09:04:21.670 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' id='push2847d628de53dc82' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.670 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' id='df3b7dff2478ab41263c9a041aded968' type='result'/>
*** User 2022-05-11 09:04:21.670 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='get' id='517d28f6c03d8b70b6ca1d5523fb4585'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.671 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' id='517d28f6c03d8b70b6ca1d5523fb4585' 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-11 09:04:21.671 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='set' id='a1c27c7671d2fd4df0d031810cc9b89f'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.672 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' id='a1c27c7671d2fd4df0d031810cc9b89f' type='result'/>
*** User 2022-05-11 09:04:21.672 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='set' id='817d1b8f6881e50ff872607c501b0416'>
<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-11 09:04:21.675 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' id='pushaba9d5f22b1292d5' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.675 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' id='817d1b8f6881e50ff872607c501b0416' type='result'/>
*** User 2022-05-11 09:04:21.675 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='get' id='712af8f04ef4c4814830c2e6f38748ab'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.676 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' id='712af8f04ef4c4814830c2e6f38748ab' 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-11 09:04:21.676 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<iq type='set' id='0d911e4ce6ca9b21ecf80f74c247ece5'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.678 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' id='0d911e4ce6ca9b21ecf80f74c247ece5' type='result'/>
*** User 2022-05-11 09:04:21.678 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<message to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-05-11 09:04:21.678 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<message to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' type='chat'>
<body>Hi, Bob XYZ 1!</body>
</message>
*** User 2022-05-11 09:04:21.681 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<message from='bOb_allow_subscription_both_message_1977@domain.example.com/res1' to='alicE_allow_subscription_both_message_1977@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-11 09:04:21.681 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<message from='alicE_allow_subscription_both_message_1977@domain.example.com/res1' to='bOb_allow_subscription_both_message_1977@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-11 09:04:21.681 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<presence type='subscribe' to='alicE_allow_subscription_both_message_1977@domain.example.com'/>
*** User 2022-05-11 09:04:21.685 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' id='push89eb9ae61e527a31' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_1977@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.685 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' id='pushcf0b30fb4f7ae2d5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_both_message_1977@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.685 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<presence type='subscribed' to='bOb_allow_subscription_both_message_1977@domain.example.com'/>
*** User 2022-05-11 09:04:21.685 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<presence from='bOb_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-05-11 09:04:21.690 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='alicE_allow_subscription_both_message_1977@domain.example.com' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' id='pushd73b0b04c1c00736' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_allow_subscription_both_message_1977@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.690 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<iq from='bOb_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' id='push299456803fed0685' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_allow_subscription_both_message_1977@domain.example.com'/>
</query>
</iq>
*** User 2022-05-11 09:04:21.690 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1977@domain.example.com' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-05-11 09:04:21.691 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<presence from='alicE_allow_subscription_both_message_1977@domain.example.com/res1' to='bob_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-11 09:04:21.691 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
<message to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-05-11 09:04:21.693 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
<message from='bOb_allow_subscription_both_message_1977@domain.example.com/res1' to='alicE_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-05-11 09:04:21.694 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
<message to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2022-05-11 09:04:21.695 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
<message from='alicE_allow_subscription_both_message_1977@domain.example.com/res1' to='bOb_allow_subscription_both_message_1977@domain.example.com/res1' xml:lang='en' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2022-05-11 09:04:21.695 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 09:04:21.714 ***
bOb_allow_subscription_both_message_1977@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-11 09:04:21.714 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-11 09:04:21.715 ***
alicE_allow_subscription_both_message_1977@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-11 09:04:21
=== successfully completed test case
=== === Returned value: ok