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

=== Config value:

    [{watchdog,<0.74881.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@02b4ccede1f2.2024-04-10_12.44.04/big_tests.tests.rest_SUITE.logs/run.2024-04-10_12.55.36/rest_suite.befriend_and_alienate_auto.126724.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@02b4ccede1f2.2024-04-10_12.44.04/big_tests.tests.rest_SUITE.logs/run.2024-04-10_12.55.36/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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,buffer_max => 100,ack_freq => 1,
              resume_timeout => 600},
        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@02b4ccede1f2.2024-04-10_12.44.04"

=== Started at 2024-04-10 12:55:37


*** CT 2024-04-10 12:55:37.364 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2345.html

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

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



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



*** User 2024-04-10 12:55:37.383 ***🔗
alicE_befriend_and_alienate_auto_2765@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-10 12:55:37.384 ***🔗
alicE_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6dac61e3ff12dbc' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2765@domain.example.com'>

*** User 2024-04-10 12:55:37.384 ***🔗
alicE_befriend_and_alienate_auto_2765@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-10 12:55:37.384 ***🔗
alicE_befriend_and_alienate_auto_2765@domain.example.com/res1 out
<iq type='set' id='1fb91a683b2e1778787285352043a5d5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:55:37.384 ***🔗
alicE_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq id='1fb91a683b2e1778787285352043a5d5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2765@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:55:37.385 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 out
<iq type='set' id='8e9135c513027fbc2619b666723156d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:55:37.386 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' id='8e9135c513027fbc2619b666723156d9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:55:37.386 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:55:37.388 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1'/>



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

*** User 2024-04-10 12:55:37.388 ***🔗
bOb_befriend_and_alienate_auto_2765@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-10 12:55:37.389 ***🔗
bOb_befriend_and_alienate_auto_2765@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yNzY1AG1ha3JvbGlrYQ==</auth>



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



*** User 2024-04-10 12:55:37.389 ***🔗
bOb_befriend_and_alienate_auto_2765@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-10 12:55:37.390 ***🔗
bOb_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7fa957d33be38a34' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2765@domain.example.com'>

*** User 2024-04-10 12:55:37.390 ***🔗
bOb_befriend_and_alienate_auto_2765@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-10 12:55:37.390 ***🔗
bOb_befriend_and_alienate_auto_2765@domain.example.com/res1 out
<iq type='set' id='3b402a3cbbb583420f280406e5dbcb2e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:55:37.390 ***🔗
bOb_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq id='3b402a3cbbb583420f280406e5dbcb2e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2765@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:55:37.390 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 out
<iq type='set' id='2aff31cb2f0651756fa781a625c8ff34'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:55:37.391 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' id='2aff31cb2f0651756fa781a625c8ff34' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:55:37.391 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:55:37.393 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1'/>



*** User 2024-04-10 12:55:37.396 ***🔗
REST request:
Code: 200
Req: {<0.74987.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"beef1b0e269dc8d1">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:55:36 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1587}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-10 12:55:37.398 ***🔗
REST request:
Code: 200
Req: {<0.74998.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2765@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d71d248acfcaf34a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:55:36 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1464}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2765@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-10 12:55:37.457 ***🔗
REST request:
Code: 204
Req: {<0.75006.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com/bob_befriend_and_alienate_auto_2765@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5ec51a96a3c27a8e">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:55:36 GMT">>}],
         <<>>,80,58176}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com/bob_befriend_and_alienate_auto_2765@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,role => admin,
          body => <<"{\"action\":\"connect\"}">>,return_headers => true}


*** User 2024-04-10 12:55:37.459 ***🔗
REST request:
Code: 200
Req: {<0.75030.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2e610e7f64100bde">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:55:36 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2765@domain.example.com\"}]">>,
         226,1312}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-10 12:55:37.461 ***🔗
REST request:
Code: 200
Req: {<0.75034.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2765@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"efd4c57b7cd2d8b9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:55:36 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2765@domain.example.com\"}]">>,
         228,1210}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2765@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-10 12:55:37.471 ***🔗
REST request:
Code: 204
Req: {<0.75036.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com/bob_befriend_and_alienate_auto_2765@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6e7293b70c614f6f">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:55:36 GMT">>}],
         <<>>,80,9329}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com/bob_befriend_and_alienate_auto_2765@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          method => <<"PUT">>,role => admin,
          body => <<"{\"action\":\"disconnect\"}">>,return_headers => true}


*** User 2024-04-10 12:55:37.473 ***🔗
REST request:
Code: 200
Req: {<0.75044.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1b7dd50cf84219ce">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:55:36 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1407}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2765@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-10 12:55:37.475 ***🔗
REST request:
Code: 200
Req: {<0.75048.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2765@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0aee86b51d4c9a59">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:55:36 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1161}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2765@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,role => admin,body => <<>>,
          return_headers => true}


*** User 2024-04-10 12:55:37.475 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' id='pushcdf52627d340a3da' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2765@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:55:37.475 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push3961ccfdb93a2ba5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2765@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:55:37.476 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push4da2b4b70b7e222e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2765@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:55:37.476 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-10 12:55:37.476 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' id='pushd94cec9deaaee5d2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2765@domain.example.com' subscription='from'/>
	</query>
</iq>



*** User 2024-04-10 12:55:37.476 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1'/>



*** User 2024-04-10 12:55:37.476 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push4297250b3cdfda76' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2765@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-10 12:55:37.476 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-10 12:55:37.476 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push91d722f2b5f3beef' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2765@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-10 12:55:37.476 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-10 12:55:42.476 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"pushcdf52627d340a3da">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push3961ccfdb93a2ba5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push4da2b4b70b7e222e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"pushd94cec9deaaee5d2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push4297250b3cdfda76">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push91d722f2b5f3beef">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push260ef8a0276d1bab' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2765@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push82d3e8398462a172' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_2765@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1'/>



*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' id='pushd5187bab0bd3931a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2765@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push8fca6882ee694f4a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2765@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2765@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-10 12:55:42.476 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push44b8e70976940a45' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2765@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-10 12:55:42.477 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-10 12:55:42.477 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' id='pushfaff3b43eef84fc0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2765@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:55:42.477 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' type='unsubscribed'/>



*** User 2024-04-10 12:55:42.477 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2765@domain.example.com' to='bob_befriend_and_alienate_auto_2765@domain.example.com/res1' id='push55435bdb6c276a30' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2765@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-10 12:55:47.477 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push260ef8a0276d1bab">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push82d3e8398462a172">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"pushd5187bab0bd3931a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push8fca6882ee694f4a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push44b8e70976940a45">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"pushfaff3b43eef84fc0">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2765@domain.example.com/res1">>},
                  {<<"id">>,<<"push55435bdb6c276a30">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2765@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-10 12:55:47.477 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:55:47.478 ***🔗
bob_befriend_and_alienate_auto_2765@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-10 12:55:47.478 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:55:47.478 ***🔗
alice_befriend_and_alienate_auto_2765@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-10 12:55:47.481 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2364.html



=== Ended at 2024-04-10 12:55:47
=== successfully completed test case
=== === Returned value: ok