=== Test case: rest_SUITE:befriend_and_alienate_auto/1 (click for source code)

=== Config value:

    [{watchdog,<0.71340.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.rest_SUITE.logs/run.2023-11-16_09.19.24/rest_suite.befriend_and_alienate_auto.99588.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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.rest_SUITE.logs/run.2023-11-16_09.19.24/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,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,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,<<"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@cdb4b709e1db.2023-11-16_09.06.27"

=== Started at 2023-11-16 09:19:25


*** CT 2023-11-16 09:19:25.717 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2567.html

*** User 2023-11-16 09:19:25.732 ***🔗
alicE_befriend_and_alienate_auto_2774@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 2023-11-16 09:19:25.733 ***🔗
alicE_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f000308fd0fa1b9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:19:25.733 ***🔗
alicE_befriend_and_alienate_auto_2774@domain.example.com/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 2023-11-16 09:19:25.733 ***🔗
alicE_befriend_and_alienate_auto_2774@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI3NzQAbWF0eWdyeXNh</auth>



*** User 2023-11-16 09:19:25.734 ***🔗
alicE_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:19:25.734 ***🔗
alicE_befriend_and_alienate_auto_2774@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 2023-11-16 09:19:25.735 ***🔗
alicE_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9db7144001e68fc6' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2774@domain.example.com'>

*** User 2023-11-16 09:19:25.735 ***🔗
alicE_befriend_and_alienate_auto_2774@domain.example.com/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 2023-11-16 09:19:25.735 ***🔗
alicE_befriend_and_alienate_auto_2774@domain.example.com/res1 out
<iq type='set' id='87ef7f363d3adb8f659aff092e26281b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:19:25.736 ***🔗
alicE_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq id='87ef7f363d3adb8f659aff092e26281b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2774@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:19:25.736 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 out
<iq type='set' id='b0a309eabddb12b20e9a3ed3a009c79c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:19:25.737 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' id='b0a309eabddb12b20e9a3ed3a009c79c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:19:25.737 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 out
<presence/>



*** User 2023-11-16 09:19:25.738 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1'/>



*** User 2023-11-16 09:19:25.739 ***🔗
bOb_befriend_and_alienate_auto_2774@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 2023-11-16 09:19:25.739 ***🔗
bOb_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4a9b045cceb1349' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:19:25.739 ***🔗
bOb_befriend_and_alienate_auto_2774@domain.example.com/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 2023-11-16 09:19:25.739 ***🔗
bOb_befriend_and_alienate_auto_2774@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yNzc0AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-16 09:19:25.740 ***🔗
bOb_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:19:25.740 ***🔗
bOb_befriend_and_alienate_auto_2774@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 2023-11-16 09:19:25.740 ***🔗
bOb_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22dabaf44cf63c03' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2774@domain.example.com'>

*** User 2023-11-16 09:19:25.740 ***🔗
bOb_befriend_and_alienate_auto_2774@domain.example.com/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 2023-11-16 09:19:25.740 ***🔗
bOb_befriend_and_alienate_auto_2774@domain.example.com/res1 out
<iq type='set' id='cfbf32b0b457d81d46778be2878c5aa9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:19:25.741 ***🔗
bOb_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq id='cfbf32b0b457d81d46778be2878c5aa9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2774@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:19:25.741 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 out
<iq type='set' id='515f1b4cfad6614e84a22896bf757f2e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:19:25.741 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' id='515f1b4cfad6614e84a22896bf757f2e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:19:25.741 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 out
<presence/>



*** User 2023-11-16 09:19:25.743 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1'/>



*** User 2023-11-16 09:19:25.747 ***🔗
REST request:
Code: 200
Req: {<0.71440.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5980988e12739d4b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:19:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2852}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:19:25.749 ***🔗
REST request:
Code: 200
Req: {<0.71459.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2774@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cbe19aae25984684">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:19:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1018}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2774@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:19:25.766 ***🔗
REST request:
Code: 204
Req: {<0.71465.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com/bob_befriend_and_alienate_auto_2774@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1f509591f3378d09">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:19:25 GMT">>}],
         <<>>,80,16373}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com/bob_befriend_and_alienate_auto_2774@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
          role => admin,return_headers => true}


*** User 2023-11-16 09:19:25.768 ***🔗
REST request:
Code: 200
Req: {<0.71487.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7e138f1853fc89d8">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:19:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2774@domain.example.com\"}]">>,
         226,930}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:19:25.771 ***🔗
REST request:
Code: 200
Req: {<0.71491.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2774@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"17e161403249844c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:19:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2774@domain.example.com\"}]">>,
         228,2080}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2774@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:19:25.823 ***🔗
REST request:
Code: 204
Req: {<0.71495.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com/bob_befriend_and_alienate_auto_2774@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"46fc7652712e68cc">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:19:25 GMT">>}],
         <<>>,80,50730}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com/bob_befriend_and_alienate_auto_2774@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
          role => admin,return_headers => true}


*** User 2023-11-16 09:19:25.826 ***🔗
REST request:
Code: 200
Req: {<0.71501.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ea784276de382d86">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:19:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1615}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2774@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:19:25.828 ***🔗
REST request:
Code: 200
Req: {<0.71505.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2774@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a132a60290c8a4e4">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:19:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1373}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2774@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' id='pushaf59a20dee55fd94' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' id='pushe940c5a4ff5c400b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' id='pushd9a7fa4bd9af1f36' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' id='push755527581f55b9c7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1'/>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' id='pusha938fe59565d1527' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' id='pushf9e606b76d46ab09' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:25.828 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-16 09:19:30.829 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"pushaf59a20dee55fd94">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"pushe940c5a4ff5c400b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"pushd9a7fa4bd9af1f36">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"push755527581f55b9c7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"pusha938fe59565d1527">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"pushf9e606b76d46ab09">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]}]

*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' id='push947da58bafa797d7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' id='push201c711ea02faebd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1'/>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' id='push330499eeb06cff90' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' id='push6a6cff91f3471931' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2774@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' id='pushef18924cee134766' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' id='pusha6dcfc0a352a969a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' type='unsubscribed'/>



*** User 2023-11-16 09:19:30.830 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2774@domain.example.com' to='bob_befriend_and_alienate_auto_2774@domain.example.com/res1' id='push812c39275db70f24' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_2774@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-16 09:19:35.830 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"push947da58bafa797d7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"push201c711ea02faebd">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"push330499eeb06cff90">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"push6a6cff91f3471931">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"pushef18924cee134766">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"pusha6dcfc0a352a969a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2774@domain.example.com/res1">>},
                  {<<"id">>,<<"push812c39275db70f24">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2774@domain.example.com">>}],
                                 []}]}]}]

*** User 2023-11-16 09:19:35.831 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-16 09:19:35.831 ***🔗
bob_befriend_and_alienate_auto_2774@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-16 09:19:35.831 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-16 09:19:35.832 ***🔗
alice_befriend_and_alienate_auto_2774@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-16 09:19:35.835 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2586.html



=== Ended at 2023-11-16 09:19:35
=== successfully completed test case
=== === Returned value: ok