=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.85858.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@3709086d5689.2024-02-27_12.00.42/big_tests.tests.rest_SUITE.logs/run.2024-02-27_12.17.01/rest_suite.befriend_and_alienate_auto.236162.html"},
{tc_group_properties,[{name,roster},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@3709086d5689.2024-02-27_12.00.42/big_tests.tests.rest_SUITE.logs/run.2024-02-27_12.17.01/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
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_amp => #{},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,buffer_max => 100,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_carboncopy => #{iqdisc => no_queue},
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}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@3709086d5689.2024-02-27_12.00.42"
=== Started at 2024-02-27 12:17:02
*** User 2024-02-27 12:17:02.630 ***🔗
alicE_befriend_and_alienate_auto_3247@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-02-27 12:17:02.630 ***🔗
alicE_befriend_and_alienate_auto_3247@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e858a414f75eb5ff' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-27 12:17:02.630 ***🔗
alicE_befriend_and_alienate_auto_3247@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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-02-27 12:17:02.630 ***🔗
alicE_befriend_and_alienate_auto_3247@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMyNDcAbWF0eWdyeXNh</auth>
*** User 2024-02-27 12:17:02.631 ***🔗
alicE_befriend_and_alienate_auto_3247@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-27 12:17:02.631 ***🔗
alicE_befriend_and_alienate_auto_3247@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-02-27 12:17:02.632 ***🔗
alicE_befriend_and_alienate_auto_3247@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a12520057d9fb2ca' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3247@localhost'>
*** User 2024-02-27 12:17:02.632 ***🔗
alicE_befriend_and_alienate_auto_3247@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-02-27 12:17:02.633 ***🔗
alicE_befriend_and_alienate_auto_3247@localhost/res1 out
<iq type='set' id='0ea34d418be4a4327ede7c227d618dd8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-27 12:17:02.633 ***🔗
alicE_befriend_and_alienate_auto_3247@localhost/res1 in
<iq id='0ea34d418be4a4327ede7c227d618dd8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3247@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-27 12:17:02.633 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 out
<iq type='set' id='b2378afdd421c3c7cf66ad3f1567805b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:17:02.633 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' id='b2378afdd421c3c7cf66ad3f1567805b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:17:02.634 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 out
<presence/>
*** User 2024-02-27 12:17:02.635 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3247@localhost/res1' to='alice_befriend_and_alienate_auto_3247@localhost/res1'/>
*** User 2024-02-27 12:17:02.636 ***🔗
bOb_befriend_and_alienate_auto_3247@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-02-27 12:17:02.636 ***🔗
bOb_befriend_and_alienate_auto_3247@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='943655614c93af83' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-27 12:17:02.636 ***🔗
bOb_befriend_and_alienate_auto_3247@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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-02-27 12:17:02.636 ***🔗
bOb_befriend_and_alienate_auto_3247@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMjQ3AG1ha3JvbGlrYQ==</auth>
*** User 2024-02-27 12:17:02.637 ***🔗
bOb_befriend_and_alienate_auto_3247@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-27 12:17:02.638 ***🔗
bOb_befriend_and_alienate_auto_3247@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-02-27 12:17:02.638 ***🔗
bOb_befriend_and_alienate_auto_3247@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='119b31683f969d72' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3247@localhost'>
*** User 2024-02-27 12:17:02.638 ***🔗
bOb_befriend_and_alienate_auto_3247@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-02-27 12:17:02.638 ***🔗
bOb_befriend_and_alienate_auto_3247@localhost/res1 out
<iq type='set' id='b349fc203c3e3f9a02d18606e2094eb9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-27 12:17:02.639 ***🔗
bOb_befriend_and_alienate_auto_3247@localhost/res1 in
<iq id='b349fc203c3e3f9a02d18606e2094eb9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3247@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-27 12:17:02.639 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 out
<iq type='set' id='64be8dffc3f6f10ed64e1923cdf9f5a0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:17:02.640 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' id='64be8dffc3f6f10ed64e1923cdf9f5a0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:17:02.640 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 out
<presence/>
*** User 2024-02-27 12:17:02.641 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3247@localhost/res1' to='bob_befriend_and_alienate_auto_3247@localhost/res1'/>
*** User 2024-02-27 12:17:02.646 ***🔗
REST request:
Code: 200
Req: {<0.85969.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3d2e6fce4a106a90">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 27 Feb 2024 12:17:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,4051}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-02-27 12:17:02.649 ***🔗
REST request:
Code: 200
Req: {<0.85983.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3247@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7d28ebea31d5329f">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 27 Feb 2024 12:17:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1381}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3247@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-02-27 12:17:02.679 ***🔗
REST request:
Code: 204
Req: {<0.85989.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost/bob_befriend_and_alienate_auto_3247@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"114f56b1af70452e">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 27 Feb 2024 12:17:02 GMT">>}],
<<>>,80,29528}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost/bob_befriend_and_alienate_auto_3247@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
role => admin,return_headers => true}
*** User 2024-02-27 12:17:02.682 ***🔗
REST request:
Code: 200
Req: {<0.86009.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"56c192568a65b435">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 27 Feb 2024 12:17:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3247@localhost\"}]">>,
216,1385}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-02-27 12:17:02.684 ***🔗
REST request:
Code: 200
Req: {<0.86011.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3247@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d98abc1f9e7e6a3e">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 27 Feb 2024 12:17:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3247@localhost\"}]">>,
218,1436}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3247@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-02-27 12:17:02.695 ***🔗
REST request:
Code: 204
Req: {<0.86015.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost/bob_befriend_and_alienate_auto_3247@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"bced556e4ad3bc6a">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 27 Feb 2024 12:17:02 GMT">>}],
<<>>,80,9827}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost/bob_befriend_and_alienate_auto_3247@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
role => admin,return_headers => true}
*** User 2024-02-27 12:17:02.698 ***🔗
REST request:
Code: 200
Req: {<0.86023.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c670145fc102b8c2">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 27 Feb 2024 12:17:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2060}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3247@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-02-27 12:17:02.700 ***🔗
REST request:
Code: 200
Req: {<0.86027.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3247@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d23769138ce6e127">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 27 Feb 2024 12:17:02 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1269}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3247@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => admin,
return_headers => true}
*** User 2024-02-27 12:17:02.700 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3247@localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' id='pushee57a48e829e2d37' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:02.700 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3247@localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' id='push928dc3f568835611' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:02.700 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3247@localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' id='push730c3a0946ddbb28' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:02.700 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3247@localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' type='subscribe'/>
*** User 2024-02-27 12:17:02.701 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3247@localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' id='push28c708b1848129c3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:02.701 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3247@localhost/res1' to='alice_befriend_and_alienate_auto_3247@localhost/res1'/>
*** User 2024-02-27 12:17:02.701 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3247@localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' id='push301af7486290a3f4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:02.701 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3247@localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' type='subscribed'/>
*** User 2024-02-27 12:17:02.701 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3247@localhost' to='alice_befriend_and_alienate_auto_3247@localhost/res1' id='pushce43d14d22643399' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:02.701 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3247@localhost/res1' to='alice_befriend_and_alienate_auto_3247@localhost/res1' type='unavailable'/>
*** User 2024-02-27 12:17:07.701 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"pushee57a48e829e2d37">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push928dc3f568835611">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push730c3a0946ddbb28">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push28c708b1848129c3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push301af7486290a3f4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"pushce43d14d22643399">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]}]
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' id='pushee96d849ee41382d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' type='subscribe'/>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' id='push7b52e5a90075a3b1' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3247@localhost/res1' to='bob_befriend_and_alienate_auto_3247@localhost/res1'/>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' id='push4833833b90208913' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' type='subscribed'/>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' id='push36ba2230ef33d70b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3247@localhost/res1' to='bob_befriend_and_alienate_auto_3247@localhost/res1' type='unavailable'/>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' id='pushb823dbb015ed87b2' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' type='unsubscribe'/>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' id='push1ed845ab7a11ba0b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' type='unsubscribed'/>
*** User 2024-02-27 12:17:07.702 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3247@localhost' to='bob_befriend_and_alienate_auto_3247@localhost/res1' id='push583dcc18b73e6c3a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_3247@localhost'/>
</query>
</iq>
*** User 2024-02-27 12:17:12.703 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"pushee96d849ee41382d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push7b52e5a90075a3b1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push4833833b90208913">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push36ba2230ef33d70b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"pushb823dbb015ed87b2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push1ed845ab7a11ba0b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3247@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3247@localhost/res1">>},
{<<"id">>,<<"push583dcc18b73e6c3a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3247@localhost">>}],
[]}]}]}]
*** User 2024-02-27 12:17:12.703 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 out
</stream:stream>
*** User 2024-02-27 12:17:12.704 ***🔗
bob_befriend_and_alienate_auto_3247@localhost/res1 in
</stream:stream>
*** User 2024-02-27 12:17:12.704 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 out
</stream:stream>
*** User 2024-02-27 12:17:12.705 ***🔗
alice_befriend_and_alienate_auto_3247@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-27 12:17:12
=== successfully completed test case
=== === Returned value: ok