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

=== Config value:

    [{watchdog,<0.73651.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mam_backend,rdbms},
     {preset,"odbc_mssql_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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.rest_SUITE.logs/run.2024-02-23_17.45.30/rest_suite.befriend_and_alienate_auto.215810.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.rest_SUITE.logs/run.2024-02-23_17.45.30/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_sic => #{iqdisc => one_queue},
        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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@5f60ef475eab.2024-02-23_17.31.31"

=== Started at 2024-02-23 17:45:31


*** CT 2024-02-23 17:45:31.336 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2645.html

*** User 2024-02-23 17:45:31.351 ***🔗
alicE_befriend_and_alienate_auto_2846@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-02-23 17:45:31.351 ***🔗
alicE_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f18d4138bda20846' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:31.351 ***🔗
alicE_befriend_and_alienate_auto_2846@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-02-23 17:45:31.351 ***🔗
alicE_befriend_and_alienate_auto_2846@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2JlZnJpZW5kX2FuZF9hbGllbmF0ZV9hdXRvXzI4NDYAbWF0eWdyeXNh</auth>



*** User 2024-02-23 17:45:31.353 ***🔗
alicE_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:31.353 ***🔗
alicE_befriend_and_alienate_auto_2846@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-02-23 17:45:31.353 ***🔗
alicE_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc07eee3943bd472' from='domain.example.com' version='1.0' xml:lang='en' to='alice_befriend_and_alienate_auto_2846@domain.example.com'>

*** User 2024-02-23 17:45:31.353 ***🔗
alicE_befriend_and_alienate_auto_2846@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-02-23 17:45:31.353 ***🔗
alicE_befriend_and_alienate_auto_2846@domain.example.com/res1 out
<iq type='set' id='2dc06c41a57b49f1446e302bd5325f23'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:31.354 ***🔗
alicE_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq id='2dc06c41a57b49f1446e302bd5325f23' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_befriend_and_alienate_auto_2846@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:31.354 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 out
<iq type='set' id='600bddb1c2a629e7a488d5bc868999e6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:31.354 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' id='600bddb1c2a629e7a488d5bc868999e6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:31.355 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:31.356 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1'/>



*** User 2024-02-23 17:45:31.357 ***🔗
bOb_befriend_and_alienate_auto_2846@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-02-23 17:45:31.357 ***🔗
bOb_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fcc98410740e6f2f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:31.357 ***🔗
bOb_befriend_and_alienate_auto_2846@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-02-23 17:45:31.357 ***🔗
bOb_befriend_and_alienate_auto_2846@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9iZWZyaWVuZF9hbmRfYWxpZW5hdGVfYXV0b18yODQ2AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-23 17:45:31.359 ***🔗
bOb_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:31.359 ***🔗
bOb_befriend_and_alienate_auto_2846@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-02-23 17:45:31.359 ***🔗
bOb_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fcde25bb921a99c8' from='domain.example.com' version='1.0' xml:lang='en' to='bob_befriend_and_alienate_auto_2846@domain.example.com'>

*** User 2024-02-23 17:45:31.359 ***🔗
bOb_befriend_and_alienate_auto_2846@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-02-23 17:45:31.359 ***🔗
bOb_befriend_and_alienate_auto_2846@domain.example.com/res1 out
<iq type='set' id='1fae20214990055faddaa9fe7cdfe375'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:31.359 ***🔗
bOb_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq id='1fae20214990055faddaa9fe7cdfe375' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_befriend_and_alienate_auto_2846@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:31.360 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 out
<iq type='set' id='cf83f34456d7c4fe27e9cd65b51d6624'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:31.360 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' id='cf83f34456d7c4fe27e9cd65b51d6624' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:31.360 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:31.362 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1'/>



*** User 2024-02-23 17:45:31.364 ***🔗
REST request:
Code: 200
Req: {<0.73755.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"86ac12e2a21fcf1d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1651}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:31.367 ***🔗
REST request:
Code: 200
Req: {<0.73762.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2846@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7258fb0e577f7e7d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1502}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2846@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:31.397 ***🔗
REST request:
Code: 204
Req: {<0.73772.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com/bob_befriend_and_alienate_auto_2846@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7c5af7ed0173a0ec">>}],
      <<"{\"action\":\"connect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:30 GMT">>}],
         <<>>,80,29570}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com/bob_befriend_and_alienate_auto_2846@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          role => admin,method => <<"PUT">>,
          body => <<"{\"action\":\"connect\"}">>,return_headers => true}


*** User 2024-02-23 17:45:31.400 ***🔗
REST request:
Code: 200
Req: {<0.73798.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"940283ffe285ea87">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"bob_befriend_and_alienate_auto_2846@domain.example.com\"}]">>,
         226,2043}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:31.402 ***🔗
REST request:
Code: 200
Req: {<0.73802.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2846@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1f83bd405a5df0f2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"both\",\"jid\":\"alice_befriend_and_alienate_auto_2846@domain.example.com\"}]">>,
         228,1697}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2846@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:31.416 ***🔗
REST request:
Code: 204
Req: {<0.73806.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com/bob_befriend_and_alienate_auto_2846@domain.example.com/manage">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6980558dd70e0378">>}],
      <<"{\"action\":\"disconnect\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:30 GMT">>}],
         <<>>,80,12947}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com/bob_befriend_and_alienate_auto_2846@domain.example.com/manage">>,
          server => #{node => mongooseim@localhost},
          role => admin,method => <<"PUT">>,
          body => <<"{\"action\":\"disconnect\"}">>,return_headers => true}


*** User 2024-02-23 17:45:31.419 ***🔗
REST request:
Code: 200
Req: {<0.73814.0>,
      <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"713d319b6e43a0c6">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1614}
Params: #{path =>
              <<"/api/contacts/alice_befriend_and_alienate_auto_2846@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:31.421 ***🔗
REST request:
Code: 200
Req: {<0.73816.0>,
      <<"/api/contacts/bob_befriend_and_alienate_auto_2846@domain.example.com">>,
      <<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b0531216bd2e920a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1478}
Params: #{path =>
              <<"/api/contacts/bob_befriend_and_alienate_auto_2846@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => admin,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:31.421 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push56eea43620274623' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='bob_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:31.421 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push5cf43c5b3405f2e7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:31.421 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push7ef4c360c792ce11' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='bob_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:31.421 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-23 17:45:31.421 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' id='pushc0d89accc19d418e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='from' jid='bob_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:31.421 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1'/>



*** User 2024-02-23 17:45:31.421 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push9e481d8dbbf9f024' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='bob_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:31.422 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-23 17:45:31.422 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' id='pushc3add6ffc982825a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='bob_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:31.422 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' to='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' type='unavailable'/>



*** User 2024-02-23 17:45:36.422 ***🔗
APushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push56eea43620274623">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push5cf43c5b3405f2e7">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push7ef4c360c792ce11">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"pushc0d89accc19d418e">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"from">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push9e481d8dbbf9f024">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"pushc3add6ffc982825a">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]}]

*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push47826e2855519fa5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' id='pushde85d177f5aa080b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1'/>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push4b86158f08676dc9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push835c757631413d7f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='both' jid='alice_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2846@domain.example.com/res1' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' type='unavailable'/>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push5d16a7b6bc489197' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' id='pusha0c3045401aa14ec' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<presence from='alice_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' type='unsubscribed'/>



*** User 2024-02-23 17:45:36.423 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
<iq from='bob_befriend_and_alienate_auto_2846@domain.example.com' to='bob_befriend_and_alienate_auto_2846@domain.example.com/res1' id='push61f42eb3fabf3fd3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_befriend_and_alienate_auto_2846@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:41.423 ***🔗
BPushes: [{xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push47826e2855519fa5">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"pushde85d177f5aa080b">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"ask">>,<<"subscribe">>},
                                  {<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push4b86158f08676dc9">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push835c757631413d7f">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"both">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push5d16a7b6bc489197">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"to">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"pusha0c3045401aa14ec">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"none">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]},
          {xmlel,<<"iq">>,
                 [{<<"from">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com">>},
                  {<<"to">>,
                   <<"bob_befriend_and_alienate_auto_2846@domain.example.com/res1">>},
                  {<<"id">>,<<"push61f42eb3fabf3fd3">>},
                  {<<"type">>,<<"set">>}],
                 [{xmlel,<<"query">>,
                         [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                         [{xmlel,<<"item">>,
                                 [{<<"subscription">>,<<"remove">>},
                                  {<<"jid">>,
                                   <<"alice_befriend_and_alienate_auto_2846@domain.example.com">>}],
                                 []}]}]}]

*** User 2024-02-23 17:45:41.424 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:41.424 ***🔗
bob_befriend_and_alienate_auto_2846@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-23 17:45:41.424 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:41.425 ***🔗
alice_befriend_and_alienate_auto_2846@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-23 17:45:41.427 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2664.html



=== Ended at 2024-02-23 17:45:41
=== successfully completed test case
=== === Returned value: ok