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

=== Config value:

    [{watchdog,<0.75564.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@71655937ce6e.2024-04-16_11.59.01/big_tests.tests.rest_SUITE.logs/run.2024-04-16_12.12.40/rest_suite.befriend_and_alienate_auto.213378.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@71655937ce6e.2024-04-16_11.59.01/big_tests.tests.rest_SUITE.logs/run.2024-04-16_12.12.40/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_amp => #{},
        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_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 =>
            #{inactivity => 30,max_pause => 120,max_wait => infinity,
              server_acks => false,backend => mnesia},
        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@71655937ce6e.2024-04-16_11.59.01"

=== Started at 2024-04-16 12:12:40


*** CT 2024-04-16 12:12:40.782 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2620.html

*** User 2024-04-16 12:12:40.799 ***🔗
alicE_befriend_and_alienate_auto_2996@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-04-16 12:12:40.799 ***🔗
alicE_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='faf97d62ef2c4f6e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:12:40.799 ***🔗
alicE_befriend_and_alienate_auto_2996@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-04-16 12:12:40.800 ***🔗
alicE_befriend_and_alienate_auto_2996@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI5OTYAbWF0eWdyeXNh</auth>



*** User 2024-04-16 12:12:40.801 ***🔗
alicE_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:12:40.801 ***🔗
alicE_befriend_and_alienate_auto_2996@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-04-16 12:12:40.801 ***🔗
alicE_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b980d5f2569cb83f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2996@domain.example.com'>

*** User 2024-04-16 12:12:40.801 ***🔗
alicE_befriend_and_alienate_auto_2996@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-04-16 12:12:40.801 ***🔗
alicE_befriend_and_alienate_auto_2996@domain.example.com/res1 out
<iq type='set' id='4b10243ea3728a28a424f84a90b4171b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:12:40.802 ***🔗
alicE_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq id='4b10243ea3728a28a424f84a90b4171b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2996@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:12:40.802 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 out
<iq type='set' id='d4504f60318b04bd2c14180ebf53822f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:12:40.802 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' id='d4504f60318b04bd2c14180ebf53822f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:12:40.803 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:12:40.804 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1'/>



*** User 2024-04-16 12:12:40.805 ***🔗
bOb_befriend_and_alienate_auto_2996@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-04-16 12:12:40.806 ***🔗
bOb_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d788267ae086b10' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:12:40.806 ***🔗
bOb_befriend_and_alienate_auto_2996@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-04-16 12:12:40.806 ***🔗
bOb_befriend_and_alienate_auto_2996@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yOTk2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-16 12:12:40.807 ***🔗
bOb_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:12:40.807 ***🔗
bOb_befriend_and_alienate_auto_2996@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-04-16 12:12:40.807 ***🔗
bOb_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b9b64fd715f0df9b' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2996@domain.example.com'>

*** User 2024-04-16 12:12:40.807 ***🔗
bOb_befriend_and_alienate_auto_2996@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-04-16 12:12:40.808 ***🔗
bOb_befriend_and_alienate_auto_2996@domain.example.com/res1 out
<iq type='set' id='6092181af5a792ec04654a8141823871'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:12:40.808 ***🔗
bOb_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq id='6092181af5a792ec04654a8141823871' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2996@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:12:40.809 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 out
<iq type='set' id='cd57d9fc22a1656f26d5eee090fe4352'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:12:40.809 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' id='cd57d9fc22a1656f26d5eee090fe4352' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:12:40.809 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:12:40.811 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1'/>



*** User 2024-04-16 12:12:40.814 ***🔗
REST request:
Code: 200
Req: {<0.75666.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fe8bce00ee4c34a8">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:12:40 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1925}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-16 12:12:40.816 ***🔗
REST request:
Code: 200
Req: {<0.75677.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2996@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6501c059fcc5959b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:12:40 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,954}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2996@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-16 12:12:40.842 ***🔗
REST request:
Code: 204
Req: {<0.75681.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com/bob_befriend_and_alienate_auto_2996@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7b21239602278d17">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:12:40 GMT">>}],
         <<>>,80,25225}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com/bob_befriend_and_alienate_auto_2996@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"connect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-16 12:12:40.882 ***🔗
REST request:
Code: 200
Req: {<0.75711.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ae88ee0d18262aca">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:12:40 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2996@domain.example.com\"}]">>,
         226,1307}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-16 12:12:40.884 ***🔗
REST request:
Code: 200
Req: {<0.75715.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2996@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3817370ca9ef12b9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:12:40 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2996@domain.example.com\"}]">>,
         228,1076}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2996@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-16 12:12:40.893 ***🔗
REST request:
Code: 204
Req: {<0.75718.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com/bob_befriend_and_alienate_auto_2996@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9fa8107861d9c198">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:12:40 GMT">>}],
         <<>>,80,7488}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com/bob_befriend_and_alienate_auto_2996@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"disconnect\"}">>,method => <<"PUT">>,
          role => admin,return_headers => true}


*** User 2024-04-16 12:12:40.895 ***🔗
REST request:
Code: 200
Req: {<0.75725.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0b2e58990315ca36">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:12:40 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1073}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2996@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-16 12:12:40.897 ***🔗
REST request:
Code: 200
Req: {<0.75729.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2996@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5c00b4063c31bec7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 16 Apr 2024 12:12:40 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1131}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2996@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => admin,
          return_headers => true}


*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push6825a7efe5746324' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2996@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push83dc65e2bcc6a9da' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2996@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push043cc46f59f6d659' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2996@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push1444e52957a1b16b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2996@domain.example.com' subscription='from'/>
	</query>
</iq>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1'/>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' id='pushab9c99fb11f6289e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2996@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' id='pushed73e606d835e9a6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2996@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-16 12:12:40.897 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-16 12:12:45.899 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push6825a7efe5746324">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push83dc65e2bcc6a9da">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push043cc46f59f6d659">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push1444e52957a1b16b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"pushab9c99fb11f6289e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"pushed73e606d835e9a6">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' id='pushc8ffc79fb4dcfe9e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2996@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push8cc0a69a53f5d527' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_2996@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1'/>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push74845d0e3309c542' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2996@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push81256bb89708b7a3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2996@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2996@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push11c5c9d0dde287e7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2996@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push1e90adaff2786fd7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2996@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' type='unsubscribed'/>



*** User 2024-04-16 12:12:45.899 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2996@domain.example.com' to='bob_befriend_and_alienate_auto_2996@domain.example.com/res1' id='push259dc10043e84e3a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2996@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-16 12:12:50.899 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"pushc8ffc79fb4dcfe9e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push8cc0a69a53f5d527">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push74845d0e3309c542">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push81256bb89708b7a3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push11c5c9d0dde287e7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push1e90adaff2786fd7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2996@domain.example.com/res1">>},
                  {<<"id">>,<<"push259dc10043e84e3a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2996@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-16 12:12:50.900 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:12:50.900 ***🔗
bob_befriend_and_alienate_auto_2996@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 12:12:50.900 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:12:50.900 ***🔗
alice_befriend_and_alienate_auto_2996@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 12:12:50.903 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2639.html



=== Ended at 2024-04-16 12:12:50
=== successfully completed test case
=== === Returned value: ok