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

=== Config value:

    [{watchdog,<0.76095.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@8ac7ebc93e6b.2024-03-20_18.07.02/big_tests.tests.rest_SUITE.logs/run.2024-03-20_18.20.37/rest_suite.befriend_and_alienate_auto.155779.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@8ac7ebc93e6b.2024-03-20_18.07.02/big_tests.tests.rest_SUITE.logs/run.2024-03-20_18.20.37/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        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@8ac7ebc93e6b.2024-03-20_18.07.02"

=== Started at 2024-03-20 18:20:38


*** CT 2024-03-20 18:20:38.558 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3631.html

*** User 2024-03-20 18:20:38.574 ***🔗
alicE_befriend_and_alienate_auto_2916@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 2024-03-20 18:20:38.574 ***🔗
alicE_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66956a80682a3b84' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:20:38.574 ***🔗
alicE_befriend_and_alienate_auto_2916@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 2024-03-20 18:20:38.575 ***🔗
alicE_befriend_and_alienate_auto_2916@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI5MTYAbWF0eWdyeXNh</auth>



*** User 2024-03-20 18:20:38.576 ***🔗
alicE_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:20:38.576 ***🔗
alicE_befriend_and_alienate_auto_2916@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 2024-03-20 18:20:38.576 ***🔗
alicE_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='372baf39688e21c8' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2916@domain.example.com'>

*** User 2024-03-20 18:20:38.576 ***🔗
alicE_befriend_and_alienate_auto_2916@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 2024-03-20 18:20:38.576 ***🔗
alicE_befriend_and_alienate_auto_2916@domain.example.com/res1 out
<iq type='set' id='4d332b20fd531fcc977c760115c87f7a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:20:38.576 ***🔗
alicE_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq id='4d332b20fd531fcc977c760115c87f7a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2916@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:20:38.577 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 out
<iq type='set' id='6e127d1a2016fe0135574a9142deb8e8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:20:38.577 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' id='6e127d1a2016fe0135574a9142deb8e8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:20:38.577 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 out
<presence/>



*** User 2024-03-20 18:20:38.579 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1'/>



*** User 2024-03-20 18:20:38.580 ***🔗
bOb_befriend_and_alienate_auto_2916@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 2024-03-20 18:20:38.580 ***🔗
bOb_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b0516c67f697c7b0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:20:38.580 ***🔗
bOb_befriend_and_alienate_auto_2916@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 2024-03-20 18:20:38.580 ***🔗
bOb_befriend_and_alienate_auto_2916@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yOTE2AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-20 18:20:38.581 ***🔗
bOb_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:20:38.581 ***🔗
bOb_befriend_and_alienate_auto_2916@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 2024-03-20 18:20:38.583 ***🔗
bOb_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd89c305e6e3cd24' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2916@domain.example.com'>

*** User 2024-03-20 18:20:38.583 ***🔗
bOb_befriend_and_alienate_auto_2916@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 2024-03-20 18:20:38.584 ***🔗
bOb_befriend_and_alienate_auto_2916@domain.example.com/res1 out
<iq type='set' id='5367e05ee648e66a41a47b2b8847c5b1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:20:38.584 ***🔗
bOb_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq id='5367e05ee648e66a41a47b2b8847c5b1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2916@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:20:38.584 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 out
<iq type='set' id='977d1947fb0ce554d013808208caf521'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:20:38.585 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' id='977d1947fb0ce554d013808208caf521' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:20:38.586 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 out
<presence/>



*** User 2024-03-20 18:20:38.589 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1'/>



*** User 2024-03-20 18:20:38.592 ***🔗
REST request:
Code: 200
Req: {<0.76206.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bc3e15963929ab86">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:20:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1623}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:20:38.595 ***🔗
REST request:
Code: 200
Req: {<0.76214.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2916@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0bf69cc93327e717">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:20:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1439}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2916@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:20:38.623 ***🔗
REST request:
Code: 204
Req: {<0.76218.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com/bob_befriend_and_alienate_auto_2916@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a1e156795fa8cf04">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:20:38 GMT">>}],
         <<>>,80,25916}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com/bob_befriend_and_alienate_auto_2916@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"connect\"}">>,
          role => admin,return_headers => true}


*** User 2024-03-20 18:20:38.626 ***🔗
REST request:
Code: 200
Req: {<0.76242.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d6c637478638f392">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:20:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2916@domain.example.com\"}]">>,
         226,1732}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:20:38.629 ***🔗
REST request:
Code: 200
Req: {<0.76246.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2916@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b09e7f82c7f23b48">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:20:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2916@domain.example.com\"}]">>,
         228,2080}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2916@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:20:38.641 ***🔗
REST request:
Code: 204
Req: {<0.76250.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com/bob_befriend_and_alienate_auto_2916@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"544c62028c807ef9">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:20:38 GMT">>}],
         <<>>,80,10451}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com/bob_befriend_and_alienate_auto_2916@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,body => <<"{\"action\":\"disconnect\"}">>,
          role => admin,return_headers => true}


*** User 2024-03-20 18:20:38.643 ***🔗
REST request:
Code: 200
Req: {<0.76256.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3d456e63349640df">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:20:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1482}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2916@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:20:38.680 ***🔗
REST request:
Code: 200
Req: {<0.76260.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2916@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2007d8db462d5fd2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 20 Mar 2024 18:20:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,35085}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2916@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,
          return_headers => true}


*** User 2024-03-20 18:20:38.680 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' id='push1795d6970e21d948' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2916@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:20:38.680 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' id='push0c8f4648ec3d8a6f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2916@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:20:38.680 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' id='push66e61230e125d7a8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2916@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:20:38.680 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-20 18:20:38.680 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' id='push7b798f98831cf255' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2916@domain.example.com' subscription='from'/>
	</query>
</iq>



*** User 2024-03-20 18:20:38.680 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1'/>



*** User 2024-03-20 18:20:38.681 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' id='pushb71103459c05b7db' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2916@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-03-20 18:20:38.681 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' type='subscribed'/>



*** User 2024-03-20 18:20:38.681 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' id='pushfee3ef21d43f11b1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2916@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-20 18:20:38.681 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' type='unavailable'/>



*** User 2024-03-20 18:20:43.681 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"push1795d6970e21d948">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"push0c8f4648ec3d8a6f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"push66e61230e125d7a8">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"push7b798f98831cf255">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"pushb71103459c05b7db">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"pushfee3ef21d43f11b1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-20 18:20:43.681 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' id='pusha94ab197948611ec' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2916@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:20:43.681 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-20 18:20:43.681 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' id='push546b3c2a4eff2326' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_2916@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:20:43.681 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1'/>



*** User 2024-03-20 18:20:43.681 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' id='push2664a43aa95b106f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2916@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-03-20 18:20:43.681 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' type='subscribed'/>



*** User 2024-03-20 18:20:43.681 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' id='pushc7b3c319ea43ea63' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2916@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-03-20 18:20:43.681 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2916@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' type='unavailable'/>



*** User 2024-03-20 18:20:43.682 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' id='pushe9777fcbecf30f36' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2916@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-03-20 18:20:43.682 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-03-20 18:20:43.682 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' id='push9c087bf8d2c93a6b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2916@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-20 18:20:43.682 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' type='unsubscribed'/>



*** User 2024-03-20 18:20:43.682 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2916@domain.example.com' to='bob_befriend_and_alienate_auto_2916@domain.example.com/res1' id='push8f84accbbe8c4adc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2916@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-03-20 18:20:48.682 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"pusha94ab197948611ec">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"push546b3c2a4eff2326">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"push2664a43aa95b106f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"pushc7b3c319ea43ea63">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"pushe9777fcbecf30f36">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"push9c087bf8d2c93a6b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2916@domain.example.com/res1">>},
                  {<<"id">>,<<"push8f84accbbe8c4adc">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2916@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-03-20 18:20:48.682 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-20 18:20:48.683 ***🔗
bob_befriend_and_alienate_auto_2916@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-20 18:20:48.683 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-20 18:20:48.683 ***🔗
alice_befriend_and_alienate_auto_2916@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-20 18:20:48.686 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3650.html



=== Ended at 2024-03-20 18:20:48
=== successfully completed test case
=== === Returned value: ok