=== Test case: privacy_SUITE:allow_subscription_both_message/1 (click for source code)
=== Config value:
[{watchdog,<0.31490.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.privacy_SUITE.logs/run.2022-05-18_10.07.58/privacy_suite.allow_subscription_both_message.69124.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.privacy_SUITE.logs/run.2022-05-18_10.07.58/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@a4fd8d8e9aae.2022-05-18_09.59.33"
=== Started at 2022-05-18 10:07:59
*** User 2022-05-18 10:07:59.980 ***
alicE_allow_subscription_both_message_1863@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-18 10:07:59.980 ***
alicE_allow_subscription_both_message_1863@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e01059658173d23' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:59.981 ***
alicE_allow_subscription_both_message_1863@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-18 10:07:59.981 ***
alicE_allow_subscription_both_message_1863@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbG93X3N1YnNjcmlwdGlvbl9ib3RoX21lc3NhZ2VfMTg2MwBtYXR5Z3J5c2E=</auth>
*** User 2022-05-18 10:07:59.982 ***
alicE_allow_subscription_both_message_1863@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:07:59.982 ***
alicE_allow_subscription_both_message_1863@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-18 10:07:59.982 ***
alicE_allow_subscription_both_message_1863@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a4d83c09424e7aa1' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:59.983 ***
alicE_allow_subscription_both_message_1863@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-18 10:07:59.983 ***
alicE_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='set' id='1e160b2c61590be6e1f2fe77667cdcbc'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:07:59.983 ***
alicE_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq id='1e160b2c61590be6e1f2fe77667cdcbc' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_allow_subscription_both_message_1863@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:07:59.983 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='set' id='8caddf6b5af9ca390e487a37012d4a73'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:59.984 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq type='result' id='8caddf6b5af9ca390e487a37012d4a73'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:07:59.984 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<presence/>
*** User 2022-05-18 10:07:59.990 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<presence from='alice_allow_subscription_both_message_1863@domain.example.com/res1' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:07:59.992 ***
bOb_allow_subscription_both_message_1863@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-18 10:07:59.992 ***
bOb_allow_subscription_both_message_1863@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc4d5baaf3340060' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:59.993 ***
bOb_allow_subscription_both_message_1863@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-18 10:07:59.993 ***
bOb_allow_subscription_both_message_1863@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxvd19zdWJzY3JpcHRpb25fYm90aF9tZXNzYWdlXzE4NjMAbWFrcm9saWth</auth>
*** User 2022-05-18 10:07:59.996 ***
bOb_allow_subscription_both_message_1863@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-18 10:07:59.996 ***
bOb_allow_subscription_both_message_1863@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-18 10:07:59.997 ***
bOb_allow_subscription_both_message_1863@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea7f546aa9ec5094' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-05-18 10:07:59.997 ***
bOb_allow_subscription_both_message_1863@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-18 10:07:59.997 ***
bOb_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='set' id='8db95b14383711a678a554828266b447'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-18 10:07:59.999 ***
bOb_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq id='8db95b14383711a678a554828266b447' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_allow_subscription_both_message_1863@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-05-18 10:07:59.999 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='set' id='d557e4dc717f342e32f5ff5d7fd163df'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:08:00.001 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq type='result' id='d557e4dc717f342e32f5ff5d7fd163df'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-18 10:08:00.002 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<presence/>
*** User 2022-05-18 10:08:00.006 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<presence from='bob_allow_subscription_both_message_1863@domain.example.com/res1' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:08:00.006 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<presence type='subscribe' to='bob_allow_subscription_both_message_1863@domain.example.com'/>
*** User 2022-05-18 10:08:00.016 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' id='pushd0caafe2e4e1d4e6' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_allow_subscription_both_message_1863@domain.example.com'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.016 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<presence from='alice_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-05-18 10:08:00.016 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<presence type='subscribed' to='alice_allow_subscription_both_message_1863@domain.example.com'/>
*** User 2022-05-18 10:08:00.031 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' id='push83a9082070baadc5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='from' jid='alice_allow_subscription_both_message_1863@domain.example.com'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.032 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' id='push46ff4dadf5ac9b0c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_both_message_1863@domain.example.com'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.032 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<presence from='bob_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-05-18 10:08:00.032 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<presence from='bob_allow_subscription_both_message_1863@domain.example.com/res1' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:08:00.032 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='set' id='d52a4ce1bbb7edceaab3f58c8ddd8ee6'>
<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-18 10:08:00.037 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' id='pushfe34cba4dc9e42ee' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.037 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' id='d52a4ce1bbb7edceaab3f58c8ddd8ee6' type='result'/>
*** User 2022-05-18 10:08:00.038 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='get' id='ecca1e5ca837ecb35fdffcf816918cb9'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.039 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' id='ecca1e5ca837ecb35fdffcf816918cb9' 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-18 10:08:00.039 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='set' id='d232662d241ccd31df6fb9db55ae4852'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.046 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' id='d232662d241ccd31df6fb9db55ae4852' type='result'/>
*** User 2022-05-18 10:08:00.047 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='set' id='cbeb34fa03491215270885e3aecd6a2a'>
<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-18 10:08:00.058 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' id='push50669596e7c2d202' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.059 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' id='cbeb34fa03491215270885e3aecd6a2a' type='result'/>
*** User 2022-05-18 10:08:00.059 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='get' id='0c456db9ec8fe84ecf0529ad1106e1e4'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.067 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' id='0c456db9ec8fe84ecf0529ad1106e1e4' 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-18 10:08:00.071 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<iq type='set' id='f10983fecf62e41f733d34160f5daa39'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message_but_subscription_both'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.085 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' id='f10983fecf62e41f733d34160f5daa39' type='result'/>
*** User 2022-05-18 10:08:00.085 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<message to='alice_allow_subscription_both_message_1863@domain.example.com/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-05-18 10:08:00.085 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<message to='bob_allow_subscription_both_message_1863@domain.example.com/res1' type='chat'>
<body>Hi, Bob XYZ 1!</body>
</message>
*** User 2022-05-18 10:08:00.096 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<message from='bob_allow_subscription_both_message_1863@domain.example.com/res1' to='alice_allow_subscription_both_message_1863@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-18 10:08:00.097 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<message from='alice_allow_subscription_both_message_1863@domain.example.com/res1' to='bob_allow_subscription_both_message_1863@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-18 10:08:00.097 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<presence type='subscribe' to='alice_allow_subscription_both_message_1863@domain.example.com'/>
*** User 2022-05-18 10:08:00.104 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' id='push4cec199ab8390805' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='alice_allow_subscription_both_message_1863@domain.example.com'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.104 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' id='push46a05bdbd07bef69' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_allow_subscription_both_message_1863@domain.example.com'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.104 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<presence type='subscribed' to='bob_allow_subscription_both_message_1863@domain.example.com'/>
*** User 2022-05-18 10:08:00.105 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<presence from='bob_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en' type='subscribe'/>
*** User 2022-05-18 10:08:00.112 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='alice_allow_subscription_both_message_1863@domain.example.com' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' id='push70c1a746ab741d7f' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_allow_subscription_both_message_1863@domain.example.com'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.112 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<iq from='bob_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' id='push79dcf20cd4385524' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_allow_subscription_both_message_1863@domain.example.com'/>
</query>
</iq>
*** User 2022-05-18 10:08:00.112 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<presence from='alice_allow_subscription_both_message_1863@domain.example.com' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en' type='subscribed'/>
*** User 2022-05-18 10:08:00.113 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<presence from='alice_allow_subscription_both_message_1863@domain.example.com/res1' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en'/>
*** User 2022-05-18 10:08:00.113 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
<message to='alice_allow_subscription_both_message_1863@domain.example.com/res1' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-05-18 10:08:00.116 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
<message from='bob_allow_subscription_both_message_1863@domain.example.com/res1' to='alice_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en' type='chat'>
<body>Hi, Alice XYZ!</body>
</message>
*** User 2022-05-18 10:08:00.116 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
<message to='bob_allow_subscription_both_message_1863@domain.example.com/res1' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2022-05-18 10:08:00.118 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
<message from='alice_allow_subscription_both_message_1863@domain.example.com/res1' to='bob_allow_subscription_both_message_1863@domain.example.com/res1' xml:lang='en' type='chat'>
<body>Hi, Bob XYZ! 2</body>
</message>
*** User 2022-05-18 10:08:00.118 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-18 10:08:00.119 ***
bob_allow_subscription_both_message_1863@domain.example.com/res1 in
</stream:stream>
*** User 2022-05-18 10:08:00.119 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 out
</stream:stream>
*** User 2022-05-18 10:08:00.119 ***
alice_allow_subscription_both_message_1863@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-05-18 10:08:00
=== successfully completed test case
=== === Returned value: ok