=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.85134.0>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{preset,"odbc_mssql_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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.rest_SUITE.logs/run.2024-02-22_12.55.44/rest_suite.befriend_and_alienate_auto.101252.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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.rest_SUITE.logs/run.2024-02-22_12.55.44/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_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,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}},
{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@fb43d4252d17.2024-02-22_12.37.44"
=== Started at 2024-02-22 12:55:45
*** User 2024-02-22 12:55:45.881 ***🔗
alicE_befriend_and_alienate_auto_3235@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-22 12:55:45.882 ***🔗
alicE_befriend_and_alienate_auto_3235@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe2acbd6b7c6ea53' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:55:45.882 ***🔗
alicE_befriend_and_alienate_auto_3235@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-22 12:55:45.882 ***🔗
alicE_befriend_and_alienate_auto_3235@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzMyMzUAbWF0eWdyeXNh</auth>
*** User 2024-02-22 12:55:45.884 ***🔗
alicE_befriend_and_alienate_auto_3235@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-22 12:55:45.884 ***🔗
alicE_befriend_and_alienate_auto_3235@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-22 12:55:45.884 ***🔗
alicE_befriend_and_alienate_auto_3235@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f371b917e70dd495' from='localhost' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_3235@localhost'>
*** User 2024-02-22 12:55:45.884 ***🔗
alicE_befriend_and_alienate_auto_3235@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-22 12:55:45.884 ***🔗
alicE_befriend_and_alienate_auto_3235@localhost/res1 out
<iq type='set' id='c1c1b5217cde46058b8d58ad6cb337f5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-22 12:55:45.885 ***🔗
alicE_befriend_and_alienate_auto_3235@localhost/res1 in
<iq id='c1c1b5217cde46058b8d58ad6cb337f5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_befriend_and_alienate_auto_3235@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-22 12:55:45.885 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 out
<iq type='set' id='329fcb1401c97527fcf7eff454d6296d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:55:45.886 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' id='329fcb1401c97527fcf7eff454d6296d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:55:45.886 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 out
<presence/>
*** User 2024-02-22 12:55:45.892 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3235@localhost/res1' to='alice_befriend_and_alienate_auto_3235@localhost/res1'/>
*** User 2024-02-22 12:55:45.893 ***🔗
bOb_befriend_and_alienate_auto_3235@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-22 12:55:45.893 ***🔗
bOb_befriend_and_alienate_auto_3235@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='856951a1c0d3abb0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:55:45.893 ***🔗
bOb_befriend_and_alienate_auto_3235@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-22 12:55:45.893 ***🔗
bOb_befriend_and_alienate_auto_3235@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18zMjM1AG1ha3JvbGlrYQ==</auth>
*** User 2024-02-22 12:55:45.895 ***🔗
bOb_befriend_and_alienate_auto_3235@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-22 12:55:45.895 ***🔗
bOb_befriend_and_alienate_auto_3235@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-22 12:55:45.895 ***🔗
bOb_befriend_and_alienate_auto_3235@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='372796f1eafba7b1' from='localhost' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_3235@localhost'>
*** User 2024-02-22 12:55:45.895 ***🔗
bOb_befriend_and_alienate_auto_3235@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-22 12:55:45.895 ***🔗
bOb_befriend_and_alienate_auto_3235@localhost/res1 out
<iq type='set' id='4fc776e10cce3c15608ee7b2f85d71c2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-22 12:55:45.895 ***🔗
bOb_befriend_and_alienate_auto_3235@localhost/res1 in
<iq id='4fc776e10cce3c15608ee7b2f85d71c2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_befriend_and_alienate_auto_3235@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-22 12:55:45.896 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 out
<iq type='set' id='383ba83deec80e4bc7c84bbb06264ed9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:55:45.896 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' id='383ba83deec80e4bc7c84bbb06264ed9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:55:45.896 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 out
<presence/>
*** User 2024-02-22 12:55:45.898 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3235@localhost/res1' to='bob_befriend_and_alienate_auto_3235@localhost/res1'/>
*** User 2024-02-22 12:55:45.902 ***🔗
REST request:
Code: 200
Req: {<0.85234.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f5438f08acc07ca7">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 22 Feb 2024 12:55:45 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2030}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => admin,body => <<>>,
return_headers => true}
*** User 2024-02-22 12:55:45.905 ***🔗
REST request:
Code: 200
Req: {<0.85246.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3235@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c843aa029ea1009b">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 22 Feb 2024 12:55:45 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2171}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3235@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => admin,body => <<>>,
return_headers => true}
*** User 2024-02-22 12:55:45.984 ***🔗
REST request:
Code: 204
Req: {<0.85255.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost/bob_befriend_and_alienate_auto_3235@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a308a9a3704f3ab8">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 22 Feb 2024 12:55:45 GMT">>}],
<<>>,80,77296}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost/bob_befriend_and_alienate_auto_3235@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,role => admin,
body => <<"{\"action\":\"connect\"}">>,return_headers => true}
*** User 2024-02-22 12:55:45.990 ***🔗
REST request:
Code: 200
Req: {<0.85281.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5550961f849ec42a">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 22 Feb 2024 12:55:45 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_3235@localhost\"}]">>,
216,4711}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => admin,body => <<>>,
return_headers => true}
*** User 2024-02-22 12:55:45.993 ***🔗
REST request:
Code: 200
Req: {<0.85285.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3235@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"27dddbac3c347544">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 22 Feb 2024 12:55:45 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_3235@localhost\"}]">>,
218,2495}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3235@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => admin,body => <<>>,
return_headers => true}
*** User 2024-02-22 12:55:46.013 ***🔗
REST request:
Code: 204
Req: {<0.85289.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost/bob_befriend_and_alienate_auto_3235@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"25d7cf3f68f06fda">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 22 Feb 2024 12:55:45 GMT">>}],
<<>>,80,18701}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost/bob_befriend_and_alienate_auto_3235@localhost/manage">>,
server => #{node => mongooseim@localhost},
method => <<"PUT">>,role => admin,
body => <<"{\"action\":\"disconnect\"}">>,return_headers => true}
*** User 2024-02-22 12:55:46.016 ***🔗
REST request:
Code: 200
Req: {<0.85295.0>,
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7fa48b91c0dee5ea">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 22 Feb 2024 12:55:45 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1946}
Params: #{path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_3235@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => admin,body => <<>>,
return_headers => true}
*** User 2024-02-22 12:55:46.019 ***🔗
REST request:
Code: 200
Req: {<0.85299.0>,
<<"/api/contacts/bob_befriend_and_alienate_auto_3235@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3feb0b4a0b8c0ef7">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 22 Feb 2024 12:55:45 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1960}
Params: #{path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_3235@localhost">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => admin,body => <<>>,
return_headers => true}
*** User 2024-02-22 12:55:46.019 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3235@localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' id='push0b0d71ae19f7cf7b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:46.019 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3235@localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' id='push79a1a81316e31cc0' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:46.019 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3235@localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' id='pushe6d8027eea14f1a3' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:46.019 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3235@localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' type='subscribe'/>
*** User 2024-02-22 12:55:46.019 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3235@localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' id='push7779477baf2fa84d' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:46.019 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3235@localhost/res1' to='alice_befriend_and_alienate_auto_3235@localhost/res1'/>
*** User 2024-02-22 12:55:46.019 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3235@localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' id='pushc9fbf8f38f703d4e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:46.019 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3235@localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' type='subscribed'/>
*** User 2024-02-22 12:55:46.020 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_3235@localhost' to='alice_befriend_and_alienate_auto_3235@localhost/res1' id='pushcc81d6a597141817' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:46.020 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_3235@localhost/res1' to='alice_befriend_and_alienate_auto_3235@localhost/res1' type='unavailable'/>
*** User 2024-02-22 12:55:51.020 ***🔗
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"push0b0d71ae19f7cf7b">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"push79a1a81316e31cc0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"pushe6d8027eea14f1a3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"push7779477baf2fa84d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"pushc9fbf8f38f703d4e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"pushcc81d6a597141817">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]}]
*** User 2024-02-22 12:55:51.020 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' id='pushcb2f5fa23502de9c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:51.020 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' type='subscribe'/>
*** User 2024-02-22 12:55:51.020 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' id='push47ed2c6f02ac21f4' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:51.020 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3235@localhost/res1' to='bob_befriend_and_alienate_auto_3235@localhost/res1'/>
*** User 2024-02-22 12:55:51.020 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' id='push054e79aa723ecb5d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:51.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' type='subscribed'/>
*** User 2024-02-22 12:55:51.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' id='pushf8ce007270804cd0' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:51.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3235@localhost/res1' to='bob_befriend_and_alienate_auto_3235@localhost/res1' type='unavailable'/>
*** User 2024-02-22 12:55:51.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' id='push3bf27acb9499e9d1' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:51.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' type='unsubscribe'/>
*** User 2024-02-22 12:55:51.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' id='pushe59d02c04807a2e5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:51.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' type='unsubscribed'/>
*** User 2024-02-22 12:55:51.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_3235@localhost' to='bob_befriend_and_alienate_auto_3235@localhost/res1' id='push2e7671936ffac572' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_3235@localhost'/>
</query>
</iq>
*** User 2024-02-22 12:55:56.021 ***🔗
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"pushcb2f5fa23502de9c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"push47ed2c6f02ac21f4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"push054e79aa723ecb5d">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"pushf8ce007270804cd0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"push3bf27acb9499e9d1">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"pushe59d02c04807a2e5">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_3235@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_3235@localhost/res1">>},
{<<"id">>,<<"push2e7671936ffac572">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_3235@localhost">>}],
[]}]}]}]
*** User 2024-02-22 12:55:56.021 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 out
</stream:stream>
*** User 2024-02-22 12:55:56.022 ***🔗
bob_befriend_and_alienate_auto_3235@localhost/res1 in
</stream:stream>
*** User 2024-02-22 12:55:56.022 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 out
</stream:stream>
*** User 2024-02-22 12:55:56.022 ***🔗
alice_befriend_and_alienate_auto_3235@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-22 12:55:56
=== successfully completed test case
=== === Returned value: ok