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

=== Config value:

    [{watchdog,<0.75533.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@ea7194d6e7a9.2024-04-15_20.13.03/big_tests.tests.rest_SUITE.logs/run.2024-04-15_20.26.32/rest_suite.befriend_and_alienate_auto.125444.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@ea7194d6e7a9.2024-04-15_20.13.03/big_tests.tests.rest_SUITE.logs/run.2024-04-15_20.26.32/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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_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@ea7194d6e7a9.2024-04-15_20.13.03"

=== Started at 2024-04-15 20:26:33


*** CT 2024-04-15 20:26:33.517 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2623.html

*** User 2024-04-15 20:26:33.533 ***🔗
alicE_befriend_and_alienate_auto_2951@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-15 20:26:33.533 ***🔗
alicE_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6306a8f2a5d377ac' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 20:26:33.533 ***🔗
alicE_befriend_and_alienate_auto_2951@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-15 20:26:33.533 ***🔗
alicE_befriend_and_alienate_auto_2951@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI5NTEAbWF0eWdyeXNh</auth>



*** User 2024-04-15 20:26:33.534 ***🔗
alicE_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 20:26:33.534 ***🔗
alicE_befriend_and_alienate_auto_2951@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-15 20:26:33.535 ***🔗
alicE_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a60c946970375e1' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2951@domain.example.com'>

*** User 2024-04-15 20:26:33.535 ***🔗
alicE_befriend_and_alienate_auto_2951@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-15 20:26:33.535 ***🔗
alicE_befriend_and_alienate_auto_2951@domain.example.com/res1 out
<iq type='set' id='b61702c34e3df73899b1b10312704207'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 20:26:33.535 ***🔗
alicE_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq id='b61702c34e3df73899b1b10312704207' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2951@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 20:26:33.535 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 out
<iq type='set' id='90654c4264c7dcf4a5fa72aebed54e31'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 20:26:33.535 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' id='90654c4264c7dcf4a5fa72aebed54e31' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 20:26:33.536 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 out
<presence/>



*** User 2024-04-15 20:26:33.537 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1'/>



*** User 2024-04-15 20:26:33.538 ***🔗
bOb_befriend_and_alienate_auto_2951@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-15 20:26:33.538 ***🔗
bOb_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='85bc51e1995b8734' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 20:26:33.538 ***🔗
bOb_befriend_and_alienate_auto_2951@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-15 20:26:33.538 ***🔗
bOb_befriend_and_alienate_auto_2951@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yOTUxAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-15 20:26:33.539 ***🔗
bOb_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 20:26:33.539 ***🔗
bOb_befriend_and_alienate_auto_2951@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-15 20:26:33.539 ***🔗
bOb_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b0f3d2c3e8ede3bf' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2951@domain.example.com'>

*** User 2024-04-15 20:26:33.539 ***🔗
bOb_befriend_and_alienate_auto_2951@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-15 20:26:33.539 ***🔗
bOb_befriend_and_alienate_auto_2951@domain.example.com/res1 out
<iq type='set' id='f6e50b5bb910e4317dacd830a4b0e703'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 20:26:33.540 ***🔗
bOb_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq id='f6e50b5bb910e4317dacd830a4b0e703' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2951@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 20:26:33.540 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 out
<iq type='set' id='78b5dd4a1d72e087c8717d6b8006c082'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 20:26:33.541 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' id='78b5dd4a1d72e087c8717d6b8006c082' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 20:26:33.541 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 out
<presence/>



*** User 2024-04-15 20:26:33.542 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1'/>



*** User 2024-04-15 20:26:33.544 ***🔗
REST request:
Code: 200
Req: {<0.75648.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3e02ea01ff0213a2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 20:26:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1207}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-04-15 20:26:33.547 ***🔗
REST request:
Code: 200
Req: {<0.75654.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2951@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"209a20834001034d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 20:26:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1309}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2951@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-04-15 20:26:33.622 ***🔗
REST request:
Code: 204
Req: {<0.75662.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com/bob_befriend_and_alienate_auto_2951@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bf17916789142252">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 20:26:32 GMT">>}],
         <<>>,80,74376}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com/bob_befriend_and_alienate_auto_2951@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<"{\"action\":\"connect\"}">>,
          method => <<"PUT">>,return_headers => true}


*** User 2024-04-15 20:26:33.624 ***🔗
REST request:
Code: 200
Req: {<0.75684.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"96476a965640d8f0">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 20:26:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2951@domain.example.com\"}]">>,
         226,1346}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-04-15 20:26:33.626 ***🔗
REST request:
Code: 200
Req: {<0.75688.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2951@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cf2ccd34bc207349">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 20:26:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2951@domain.example.com\"}]">>,
         228,1002}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2951@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-04-15 20:26:33.652 ***🔗
REST request:
Code: 204
Req: {<0.75692.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com/bob_befriend_and_alienate_auto_2951@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b5c2b1359423eef2">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 20:26:32 GMT">>}],
         <<>>,80,24417}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com/bob_befriend_and_alienate_auto_2951@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<"{\"action\":\"disconnect\"}">>,
          method => <<"PUT">>,return_headers => true}


*** User 2024-04-15 20:26:33.654 ***🔗
REST request:
Code: 200
Req: {<0.75700.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"53381357a5801607">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 20:26:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1222}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2951@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-04-15 20:26:33.656 ***🔗
REST request:
Code: 200
Req: {<0.75704.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2951@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"44f322460aac536d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Apr 2024 20:26:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,979}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2951@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' id='pushc84e1f541d444dd2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2951@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' id='push5d2c104a289e1636' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2951@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' id='push5969799db83dc1e1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2951@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' id='push86ad89be5ce110bd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='bob_befriend_and_alienate_auto_2951@domain.example.com' subscription='from'/>
	</query>
</iq>



*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1'/>



*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' id='pushe50d1fc2b3ad40da' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2951@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-15 20:26:33.656 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' id='push72852660739ead49' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_befriend_and_alienate_auto_2951@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-15 20:26:33.657 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-15 20:26:38.658 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"pushc84e1f541d444dd2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"push5d2c104a289e1636">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"push5969799db83dc1e1">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"push86ad89be5ce110bd">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"from">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"pushe50d1fc2b3ad40da">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"push72852660739ead49">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' id='push4077960ca3c10566' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2951@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' id='pushbddc87db841933f2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_befriend_and_alienate_auto_2951@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1'/>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' id='push99bf3fda5b2410ea' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2951@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' id='pusheab2c48fd0f9f674' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2951@domain.example.com' subscription='both'/>
	</query>
</iq>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2951@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' id='pushffed6b4fad240eda' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2951@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' id='push9a0335855bebe217' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2951@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' type='unsubscribed'/>



*** User 2024-04-15 20:26:38.658 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2951@domain.example.com' to='bob_befriend_and_alienate_auto_2951@domain.example.com/res1' id='push373895e1d811f532' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_befriend_and_alienate_auto_2951@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-15 20:26:43.659 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"push4077960ca3c10566">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"pushbddc87db841933f2">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"push99bf3fda5b2410ea">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"pusheab2c48fd0f9f674">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"both">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"pushffed6b4fad240eda">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"to">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"push9a0335855bebe217">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"none">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2951@domain.example.com/res1">>},
                  {<<"id">>,<<"push373895e1d811f532">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2951@domain.example.com">>},
                                  {<<"subscription">>,<<"remove">>}],
                                 []}]}]}]

*** User 2024-04-15 20:26:43.659 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-15 20:26:43.659 ***🔗
bob_befriend_and_alienate_auto_2951@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-15 20:26:43.659 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-15 20:26:43.660 ***🔗
alice_befriend_and_alienate_auto_2951@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-15 20:26:43.663 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2642.html



=== Ended at 2024-04-15 20:26:43
=== successfully completed test case
=== === Returned value: ok