=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.26047.1>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.rest_SUITE.logs/run.2022-02-02_15.14.56/rest_suite.befriend_and_alienate_auto.37637.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.rest_SUITE.logs/run.2022-02-02_15.14.56/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:14:57
*** User 2022-02-02 15:14:57.693 ***
alicE_befriend_and_alienate_auto_1609@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-02-02 15:14:57.693 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='472cc0ff5a650ba1' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:57.694 ***
alicE_befriend_and_alienate_auto_1609@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-02-02 15:14:57.694 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzE2MDkAbWF0eWdyeXNh</auth>
*** User 2022-02-02 15:14:57.694 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:14:57.694 ***
alicE_befriend_and_alienate_auto_1609@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-02-02 15:14:57.695 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d8069316b47048a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:57.695 ***
alicE_befriend_and_alienate_auto_1609@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-02-02 15:14:57.695 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 out
<iq type='set' id='e25516a52b00a160f9d3ad2e6ac18119'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:14:57.695 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq id='e25516a52b00a160f9d3ad2e6ac18119' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_befriend_and_alienate_auto_1609@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:14:57.695 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 out
<iq type='set' id='f14b6b622b12ec18a90cdf48fb7d0557'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:57.695 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq type='result' id='f14b6b622b12ec18a90cdf48fb7d0557'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:57.695 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:14:57.697 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1609@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:14:57.697 ***
bOb_befriend_and_alienate_auto_1609@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-02-02 15:14:57.698 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43e60816e1e4f537' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:57.698 ***
bOb_befriend_and_alienate_auto_1609@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-02-02 15:14:57.698 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xNjA5AG1ha3JvbGlrYQ==</auth>
*** User 2022-02-02 15:14:57.699 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:14:57.699 ***
bOb_befriend_and_alienate_auto_1609@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-02-02 15:14:57.699 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2a2c4d9843fe003' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:57.699 ***
bOb_befriend_and_alienate_auto_1609@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-02-02 15:14:57.700 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 out
<iq type='set' id='eb19effad354bf8dfc49849d8cc65472'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:14:57.700 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq id='eb19effad354bf8dfc49849d8cc65472' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_befriend_and_alienate_auto_1609@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:14:57.700 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 out
<iq type='set' id='cd85c9387702dab8ad9ebb3014ad1922'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:57.700 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq type='result' id='cd85c9387702dab8ad9ebb3014ad1922'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:57.700 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:14:57.702 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1609@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:14:57.704 ***
REST request:
Code: 200
Req: {<0.26110.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b3e22a5ed47e4d27">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:14:57 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1220}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:14:57.706 ***
REST request:
Code: 200
Req: {<0.26114.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1609@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"18e18a8404f2ad47">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:14:57 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1348}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1609@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:14:57.725 ***
REST request:
Code: 204
Req: {<0.26124.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com/bob_befriend_and_alienate_auto_1609@domain.example.com/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"197b7030e303f8a9">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:14:57 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,17626}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com/bob_befriend_and_alienate_auto_1609@domain.example.com/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:14:57.726 ***
REST request:
Code: 200
Req: {<0.26164.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9d9edcdbdd318f33">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:14:57 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"101">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1609@domain.example.com\",\"ask\":\"none\"}]">>,
226,888}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:14:57.728 ***
REST request:
Code: 200
Req: {<0.26166.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1609@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d6f5b6b6ef4bef16">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:14:57 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"103">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1609@domain.example.com\",\"ask\":\"none\"}]">>,
228,857}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1609@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:14:57.735 ***
REST request:
Code: 204
Req: {<0.26170.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com/bob_befriend_and_alienate_auto_1609@domain.example.com/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"648554758aa7628c">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:14:57 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,6552}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com/bob_befriend_and_alienate_auto_1609@domain.example.com/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:14:57.737 ***
REST request:
Code: 200
Req: {<0.26176.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"6e53c7333e0a4eef">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:14:57 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,813}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1609@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:14:57.739 ***
REST request:
Code: 200
Req: {<0.26180.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1609@domain.example.com">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c71b22f366c1730c">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:14:57 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,894}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1609@domain.example.com">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' id='push603f867ecbd0e017' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' id='pushb6b20db416e23b4f' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' id='push370e95c283ee9fbf' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' type='subscribe'/>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1609@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' id='push45e77911ea912236' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' type='subscribed'/>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' id='pushae0288e283c14279' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' id='pushd1c715bef52711a3' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:14:57.739 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='bOb_befriend_and_alienate_auto_1609@domain.example.com/res1' to='alice_befriend_and_alienate_auto_1609@domain.example.com/res1' type='unavailable'/>
*** User 2022-02-02 15:15:02.740 ***
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"push603f867ecbd0e017">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"pushb6b20db416e23b4f">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"push370e95c283ee9fbf">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"push45e77911ea912236">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"pushae0288e283c14279">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"pushd1c715bef52711a3">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]}]
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' id='push5a53e7025211d528' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' type='subscribe'/>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' id='pushf6afdc0141db9ec2' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' id='push7820acf36ca150cb' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='alice_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1609@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' id='push9ee2f4cf90385adf' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' type='subscribed'/>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='alicE_befriend_and_alienate_auto_1609@domain.example.com/res1' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' type='unavailable'/>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' id='push468ad5a23e9891d4' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' type='unsubscribe'/>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' id='pushf48c90acc9f2fa8e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' type='unsubscribed'/>
*** User 2022-02-02 15:15:02.740 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_1609@domain.example.com' to='bob_befriend_and_alienate_auto_1609@domain.example.com/res1' id='pusha4453f8c3a0ae79c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_1609@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:07.741 ***
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"push5a53e7025211d528">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"pushf6afdc0141db9ec2">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"push7820acf36ca150cb">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"push9ee2f4cf90385adf">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"push468ad5a23e9891d4">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"pushf48c90acc9f2fa8e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1609@domain.example.com/res1">>},
{<<"id">>,<<"pusha4453f8c3a0ae79c">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1609@domain.example.com">>}],
[]}]}]}]
*** User 2022-02-02 15:15:07.741 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:15:07.741 ***
bOb_befriend_and_alienate_auto_1609@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:15:07.741 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:15:07.742 ***
alicE_befriend_and_alienate_auto_1609@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:15:07
=== successfully completed test case
=== === Returned value: ok