=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)
=== Config value:
[{watchdog,<0.14356.1>},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{mam_backend,disabled},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.rest_SUITE.logs/run.2022-03-03_10.38.08/rest_suite.befriend_and_alienate_auto.69890.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.rest_SUITE.logs/run.2022-03-03_10.38.08/log_private/"},
{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@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:38:08
*** User 2022-03-03 10:38:08.909 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:38:08.910 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eedbb33323f027e3' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:08.910 ***
alicE_befriend_and_alienate_auto_1286@localhost/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>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-03-03 10:38:08.910 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzEyODYAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:38:08.911 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:38:08.911 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:38:08.912 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8bf369c9fede933' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:08.912 ***
alicE_befriend_and_alienate_auto_1286@localhost/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-03-03 10:38:08.912 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 out
<iq type='set' id='f9df5aba3414157d28e216f6a9d79302'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:38:08.912 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<iq id='f9df5aba3414157d28e216f6a9d79302' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_befriend_and_alienate_auto_1286@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:38:08.912 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 out
<iq type='set' id='b5d36ca2cdb0f24027ffda2948a0f495'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:38:08.913 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<iq type='result' id='b5d36ca2cdb0f24027ffda2948a0f495'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:38:08.913 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 out
<presence/>
*** User 2022-03-03 10:38:08.913 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_1286@localhost/res1' to='alice_befriend_and_alienate_auto_1286@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:38:08.914 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:38:08.914 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad05208012494bfd' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:08.914 ***
bOb_befriend_and_alienate_auto_1286@localhost/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>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-03-03 10:38:08.915 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18xMjg2AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-03 10:38:08.916 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:38:08.916 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:38:08.916 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3944b4cbbd02be3' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:38:08.916 ***
bOb_befriend_and_alienate_auto_1286@localhost/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-03-03 10:38:08.916 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 out
<iq type='set' id='1497ffaf04d73a6b0b3750c211003f45'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:38:08.916 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq id='1497ffaf04d73a6b0b3750c211003f45' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_befriend_and_alienate_auto_1286@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:38:08.917 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 out
<iq type='set' id='c9626b8c9bcd3690c5ffd3bdc9aca715'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:38:08.917 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq type='result' id='c9626b8c9bcd3690c5ffd3bdc9aca715'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:38:08.917 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 out
<presence/>
*** User 2022-03-03 10:38:08.918 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_1286@localhost/res1' to='bob_befriend_and_alienate_auto_1286@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:38:08.919 ***
REST request:
Code: 200
Req: {<0.14409.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4e6717d2ff61f061">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,547}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:08.921 ***
REST request:
Code: 200
Req: {<0.14417.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1286@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e5579c899cc547e1">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,377}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1286@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:08.928 ***
REST request:
Code: 204
Req: {<0.14423.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost/bob_befriend_and_alienate_auto_1286@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b08f68fda9301266">>}],
<<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,6445}
Params: #{body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost/bob_befriend_and_alienate_auto_1286@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:08.930 ***
REST request:
Code: 200
Req: {<0.14451.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"08fd782985b25219">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_1286@localhost\",\"ask\":\"none\"}]">>,
216,437}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:08.931 ***
REST request:
Code: 200
Req: {<0.14455.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1286@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"01be73b62ccc37c9">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_1286@localhost\",\"ask\":\"none\"}]">>,
218,421}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1286@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:08.936 ***
REST request:
Code: 204
Req: {<0.14459.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost/bob_befriend_and_alienate_auto_1286@localhost/manage">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8a5f171dec9f070f">>}],
<<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>}],
<<>>,112,3820}
Params: #{body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost/bob_befriend_and_alienate_auto_1286@localhost/manage">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:08.937 ***
REST request:
Code: 200
Req: {<0.14470.1>,
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d81ae4ea201c2081">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,389}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/alice_befriend_and_alienate_auto_1286@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:08.938 ***
REST request:
Code: 200
Req: {<0.14478.1>,
<<"/api/contacts/bob_befriend_and_alienate_auto_1286@localhost">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9eb7c1ad23437112">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,523}
Params: #{body => <<>>,method => <<"GET">>,
path =>
<<"/api/contacts/bob_befriend_and_alienate_auto_1286@localhost">>,
return_headers => true,role => admin,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1286@localhost' to='alice_befriend_and_alienate_auto_1286@localhost/res1' id='push481533f334a0ecb0' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='bob_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1286@localhost' to='alice_befriend_and_alienate_auto_1286@localhost/res1' id='push31d47be10670c4b8' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1286@localhost' to='alice_befriend_and_alienate_auto_1286@localhost/res1' id='push3302f9fcdcd25611' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1286@localhost' to='alice_befriend_and_alienate_auto_1286@localhost/res1' type='subscribe'/>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_1286@localhost/res1' to='alice_befriend_and_alienate_auto_1286@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1286@localhost' to='alice_befriend_and_alienate_auto_1286@localhost/res1' id='push90122a39fc533bab' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='bob_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='bob_befriend_and_alienate_auto_1286@localhost' to='alice_befriend_and_alienate_auto_1286@localhost/res1' type='subscribed'/>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1286@localhost' to='alice_befriend_and_alienate_auto_1286@localhost/res1' id='push31b655fa2d505b4e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='bob_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='alice_befriend_and_alienate_auto_1286@localhost' to='alice_befriend_and_alienate_auto_1286@localhost/res1' id='push164b8f9986e8b020' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='bob_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:08.939 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='bOb_befriend_and_alienate_auto_1286@localhost/res1' to='alice_befriend_and_alienate_auto_1286@localhost/res1' type='unavailable'/>
*** User 2022-03-03 10:38:13.939 ***
APushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push481533f334a0ecb0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push31d47be10670c4b8">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push3302f9fcdcd25611">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push90122a39fc533bab">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push31b655fa2d505b4e">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"alice_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push164b8f9986e8b020">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]}]
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' id='pushe9b49674358c6c15' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' type='subscribe'/>
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' id='push3de94231249d90c9' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' id='push71f798af353278e0' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='from' jid='alice_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_1286@localhost/res1' to='bob_befriend_and_alienate_auto_1286@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' id='push31e0b2f5499e754a' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='both' jid='alice_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' type='subscribed'/>
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='alicE_befriend_and_alienate_auto_1286@localhost/res1' to='bob_befriend_and_alienate_auto_1286@localhost/res1' type='unavailable'/>
*** User 2022-03-03 10:38:13.939 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' id='pushdd3efb4b9eede6a9' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='to' jid='alice_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:13.940 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' type='unsubscribe'/>
*** User 2022-03-03 10:38:13.940 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' id='push25c44e9dead07463' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:13.940 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<presence from='alice_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' type='unsubscribed'/>
*** User 2022-03-03 10:38:13.940 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
<iq from='bob_befriend_and_alienate_auto_1286@localhost' to='bob_befriend_and_alienate_auto_1286@localhost/res1' id='pusha3d89d03c2650478' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_befriend_and_alienate_auto_1286@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:38:18.940 ***
BPushes: [{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"pushe9b49674358c6c15">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push3de94231249d90c9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push71f798af353278e0">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"ask">>,<<"subscribe">>},
{<<"subscription">>,<<"from">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push31e0b2f5499e754a">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"both">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"pushdd3efb4b9eede6a9">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"to">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"push25c44e9dead07463">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"none">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]},
{xmlel,<<"iq">>,
[{<<"from">>,
<<"bob_befriend_and_alienate_auto_1286@localhost">>},
{<<"to">>,
<<"bob_befriend_and_alienate_auto_1286@localhost/res1">>},
{<<"id">>,<<"pusha3d89d03c2650478">>},
{<<"type">>,<<"set">>}],
[{xmlel,<<"query">>,
[{<<"xmlns">>,<<"jabber:iq:roster">>}],
[{xmlel,<<"item">>,
[{<<"subscription">>,<<"remove">>},
{<<"jid">>,
<<"alice_befriend_and_alienate_auto_1286@localhost">>}],
[]}]}]}]
*** User 2022-03-03 10:38:18.940 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:38:18.941 ***
bOb_befriend_and_alienate_auto_1286@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:38:18.941 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:38:18.941 ***
alicE_befriend_and_alienate_auto_1286@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:38:18
=== successfully completed test case
=== === Returned value: ok