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

=== Config value:

    [{watchdog,<0.71713.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.rest_SUITE.logs/run.2023-11-23_14.27.16/rest_suite.befriend_and_alienate_auto.190466.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@7465fd1d5a64.2023-11-23_14.13.58/big_tests.tests.rest_SUITE.logs/run.2023-11-23_14.27.16/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_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        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_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@7465fd1d5a64.2023-11-23_14.13.58"

=== Started at 2023-11-23 14:27:17


*** CT 2023-11-23 14:27:17.329 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2684.html

*** User 2023-11-23 14:27:17.342 ***🔗
alicE_befriend_and_alienate_auto_2699@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-23 14:27:17.342 ***🔗
alicE_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='501429cf15659063' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:27:17.342 ***🔗
alicE_befriend_and_alienate_auto_2699@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-23 14:27:17.342 ***🔗
alicE_befriend_and_alienate_auto_2699@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI2OTkAbWF0eWdyeXNh</auth>



*** User 2023-11-23 14:27:17.343 ***🔗
alicE_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:27:17.343 ***🔗
alicE_befriend_and_alienate_auto_2699@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-23 14:27:17.344 ***🔗
alicE_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f0326cb8fc8e04f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2699@domain.example.com'>

*** User 2023-11-23 14:27:17.344 ***🔗
alicE_befriend_and_alienate_auto_2699@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-23 14:27:17.344 ***🔗
alicE_befriend_and_alienate_auto_2699@domain.example.com/res1 out
<iq type='set' id='8149c233bf1636d0e3f858694a58046f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:27:17.344 ***🔗
alicE_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq id='8149c233bf1636d0e3f858694a58046f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2699@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:27:17.345 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 out
<iq type='set' id='1dc72f15ce7b3cb0d800cd60ce6c3bb9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:27:17.345 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' id='1dc72f15ce7b3cb0d800cd60ce6c3bb9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:27:17.345 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 out
<presence/>



*** User 2023-11-23 14:27:17.347 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1'/>



*** User 2023-11-23 14:27:17.347 ***🔗
bOb_befriend_and_alienate_auto_2699@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-23 14:27:17.347 ***🔗
bOb_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a8ff5ec4b987433' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-23 14:27:17.348 ***🔗
bOb_befriend_and_alienate_auto_2699@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-23 14:27:17.348 ***🔗
bOb_befriend_and_alienate_auto_2699@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yNjk5AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-23 14:27:17.348 ***🔗
bOb_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-23 14:27:17.348 ***🔗
bOb_befriend_and_alienate_auto_2699@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-23 14:27:17.349 ***🔗
bOb_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a581fdf17d5ed198' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2699@domain.example.com'>

*** User 2023-11-23 14:27:17.349 ***🔗
bOb_befriend_and_alienate_auto_2699@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-23 14:27:17.349 ***🔗
bOb_befriend_and_alienate_auto_2699@domain.example.com/res1 out
<iq type='set' id='83bf662afaea17930fd834c4d89d71e8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-23 14:27:17.349 ***🔗
bOb_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq id='83bf662afaea17930fd834c4d89d71e8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2699@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-23 14:27:17.349 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 out
<iq type='set' id='8752b32d0f02b6243f2664130b1991ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:27:17.350 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' id='8752b32d0f02b6243f2664130b1991ac' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-23 14:27:17.350 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 out
<presence/>



*** User 2023-11-23 14:27:17.351 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1'/>



*** User 2023-11-23 14:27:17.354 ***🔗
REST request:
Code: 200
Req: {<0.71813.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0fe333313219a881">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 23 Nov 2023 14:27:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1470}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2023-11-23 14:27:17.357 ***🔗
REST request:
Code: 200
Req: {<0.71819.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2699@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d75c1ede7c42a050">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 23 Nov 2023 14:27:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1436}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2699@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2023-11-23 14:27:17.405 ***🔗
REST request:
Code: 204
Req: {<0.71830.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com/bob_befriend_and_alienate_auto_2699@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"724c21cc034c9442">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 23 Nov 2023 14:27:17 GMT">>}],
         <<>>,80,46921}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com/bob_befriend_and_alienate_auto_2699@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<"{\"action\":\"connect\"}">>,
          method => <<"PUT">>,return_headers => true}


*** User 2023-11-23 14:27:17.408 ***🔗
REST request:
Code: 200
Req: {<0.71856.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9b09627c5bd16535">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 23 Nov 2023 14:27:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2699@domain.example.com\"}]">>,
         226,1557}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2023-11-23 14:27:17.411 ***🔗
REST request:
Code: 200
Req: {<0.71860.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2699@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7813eabaaf241ab2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 23 Nov 2023 14:27:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2699@domain.example.com\"}]">>,
         228,2176}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2699@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2023-11-23 14:27:17.420 ***🔗
REST request:
Code: 204
Req: {<0.71864.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com/bob_befriend_and_alienate_auto_2699@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ea09bed5f9bc3d75">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 23 Nov 2023 14:27:17 GMT">>}],
         <<>>,80,8224}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com/bob_befriend_and_alienate_auto_2699@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<"{\"action\":\"disconnect\"}">>,
          method => <<"PUT">>,return_headers => true}


*** User 2023-11-23 14:27:17.422 ***🔗
REST request:
Code: 200
Req: {<0.71872.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b6859da48808e629">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 23 Nov 2023 14:27:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1250}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2699@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2023-11-23 14:27:17.426 ***🔗
REST request:
Code: 200
Req: {<0.71876.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2699@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6e242dce2433d8e7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 23 Nov 2023 14:27:17 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2162}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2699@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push0462e4a19b071551' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' id='pushc966c8616e24fa6a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push076257ce4e324427' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push7d60d533c0b1993e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1'/>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push7fa9966426a0a91d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push68c62343912140df' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:17.426 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-23 14:27:22.426 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push0462e4a19b071551">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"pushc966c8616e24fa6a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push076257ce4e324427">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push7d60d533c0b1993e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push7fa9966426a0a91d">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push68c62343912140df">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]}]

*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push23df2e2185869f37' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push3a0cf12d0beae4b1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1'/>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' id='pushe43e44c35271c60c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push750b743592eaa410' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2699@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' id='pushcfdd6dcadb5cb1d8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push7b00272c58701830' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' type='unsubscribed'/>



*** User 2023-11-23 14:27:22.427 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2699@domain.example.com' to='bob_befriend_and_alienate_auto_2699@domain.example.com/res1' id='push0ce4b6e03ef1bfc9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_2699@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-23 14:27:27.428 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push23df2e2185869f37">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push3a0cf12d0beae4b1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"pushe43e44c35271c60c">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push750b743592eaa410">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"pushcfdd6dcadb5cb1d8">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push7b00272c58701830">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2699@domain.example.com/res1">>},
                  {<<"id">>,<<"push0ce4b6e03ef1bfc9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2699@domain.example.com">>}],
                                 []}]}]}]

*** User 2023-11-23 14:27:27.429 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-23 14:27:27.429 ***🔗
bob_befriend_and_alienate_auto_2699@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-23 14:27:27.430 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-23 14:27:27.430 ***🔗
alice_befriend_and_alienate_auto_2699@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-23 14:27:27.433 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2703.html



=== Ended at 2023-11-23 14:27:27
=== successfully completed test case
=== === Returned value: ok