=== Test case: rest_client_SUITE:add_contact_and_invite/1 (click for source code)

=== Config value:

    [{watchdog,<0.72861.0>},
     {muc_light_host,<<"muclight.domain.example.com">>},
     {mam_backend,rdbms},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.rest_client_SUITE.logs/run.2023-12-07_07.57.59/rest_client_suite.add_contact_and_invite.185218.html"},
     {tc_group_properties,[{name,roster},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_client_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.rest_client_SUITE.logs/run.2023-12-07_07.57.59/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_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_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}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41"

=== Started at 2023-12-07 07:58:00


*** CT 2023-12-07 07:58:00.873 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2415.html

*** User 2023-12-07 07:58:00.890 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:58:00.890 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7820aac2d317f975' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:58:00.891 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-12-07 07:58:00.891 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjYwNgBtYXR5Z3J5c2E=</auth>



*** User 2023-12-07 07:58:00.892 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:58:00.892 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:58:00.892 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='202cefe19364f39a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_contact_and_invite_2606@domain.example.com'>

*** User 2023-12-07 07:58:00.892 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-12-07 07:58:00.892 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 out
<iq type='set' id='f6fd93f4766e3b2c02591b0046c2f21c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:58:00.893 ***🔗
alicE_add_contact_and_invite_2606@domain.example.com/res1 in
<iq id='f6fd93f4766e3b2c02591b0046c2f21c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_contact_and_invite_2606@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:58:00.893 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 out
<iq type='set' id='ed5efc54a2af561d9f6ad3ee2726d71a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:58:00.893 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_contact_and_invite_2606@domain.example.com/res1' id='ed5efc54a2af561d9f6ad3ee2726d71a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:58:00.894 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:58:00.896 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 in
<presence from='alice_add_contact_and_invite_2606@domain.example.com/res1' to='alice_add_contact_and_invite_2606@domain.example.com/res1'/>



*** User 2023-12-07 07:58:00.896 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:58:00.897 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a96a21f70057be92' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:58:00.897 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-12-07 07:58:00.897 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF9hbmRfaW52aXRlXzI2MDYAbWFrcm9saWth</auth>



*** User 2023-12-07 07:58:00.898 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:58:00.898 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-07 07:58:00.898 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66e116b9e46def00' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_contact_and_invite_2606@domain.example.com'>

*** User 2023-12-07 07:58:00.898 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-12-07 07:58:00.898 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 out
<iq type='set' id='11db5d2aec3f906da63936cba0ab09ba'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:58:00.898 ***🔗
bOb_add_contact_and_invite_2606@domain.example.com/res1 in
<iq id='11db5d2aec3f906da63936cba0ab09ba' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_contact_and_invite_2606@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:58:00.898 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 out
<iq type='set' id='42915f5b71a97dae70e6690ad4a88792'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:58:00.899 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_contact_and_invite_2606@domain.example.com/res1' id='42915f5b71a97dae70e6690ad4a88792' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:58:00.899 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:58:00.901 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 in
<presence from='bob_add_contact_and_invite_2606@domain.example.com/res1' to='bob_add_contact_and_invite_2606@domain.example.com/res1'/>



*** User 2023-12-07 07:58:00.908 ***🔗
REST request:
Code: 200
Req: {<0.72928.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fb2645263309ad6c">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjYwNkBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:58:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2738}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"GET">>,
          creds =>
              {<<"bob_add_contact_and_invite_2606@domain.example.com">>,
               <<"makrolika">>},
          body => <<>>,return_headers => true}


*** User 2023-12-07 07:58:00.928 ***🔗
REST request:
Code: 204
Req: {<0.72954.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bd49b049c80302b8">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjYwNkBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"alice_add_contact_and_invite_2606@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:58:00 GMT">>}],
         <<>>,80,15048}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_add_contact_and_invite_2606@domain.example.com">>,
               <<"makrolika">>},
          body =>
              <<"{\"jid\":\"alice_add_contact_and_invite_2606@domain.example.com\"}">>,
          return_headers => true}


*** User 2023-12-07 07:58:00.928 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 in
<iq from='bob_add_contact_and_invite_2606@domain.example.com' to='bob_add_contact_and_invite_2606@domain.example.com/res1' id='pushe36f68d2db08a0c8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_contact_and_invite_2606@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:58:00.937 ***🔗
REST request:
Code: 200
Req: {<0.72998.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"321de905aa0e218c">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjYwNkBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:58:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"99">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_invite_2606@domain.example.com\"}]">>,
         223,3862}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"GET">>,
          creds =>
              {<<"bob_add_contact_and_invite_2606@domain.example.com">>,
               <<"makrolika">>},
          body => <<>>,return_headers => true}


*** User 2023-12-07 07:58:00.948 ***🔗
REST request:
Code: 204
Req: {<0.73034.0>,
      <<"/api/contacts/alice_add_contact_and_invite_2606@domain.example.com">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5ffdf9def80f4d81">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjYwNkBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"action\":\"invite\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:58:00 GMT">>}],
         <<>>,80,6579}
Params: #{path =>
              <<"/api/contacts/alice_add_contact_and_invite_2606@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"PUT">>,
          creds =>
              {<<"bob_add_contact_and_invite_2606@domain.example.com">>,
               <<"makrolika">>},
          body => <<"{\"action\":\"invite\"}">>,return_headers => true}


*** User 2023-12-07 07:58:00.949 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 in
<iq from='bob_add_contact_and_invite_2606@domain.example.com' to='bob_add_contact_and_invite_2606@domain.example.com/res1' id='push3a760dac94d1e1dc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_add_contact_and_invite_2606@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:58:00.949 ***🔗
Push2: {xmlel,<<"iq">>,
              [{<<"from">>,
                <<"bob_add_contact_and_invite_2606@domain.example.com">>},
               {<<"to">>,
                <<"bob_add_contact_and_invite_2606@domain.example.com/res1">>},
               {<<"id">>,<<"push3a760dac94d1e1dc">>},
               {<<"type">>,<<"set">>}],
              [{xmlel,<<"query">>,
                      [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                      [{xmlel,<<"item">>,
                              [{<<"ask">>,<<"subscribe">>},
                               {<<"subscription">>,<<"none">>},
                               {<<"jid">>,
                                <<"alice_add_contact_and_invite_2606@domain.example.com">>}],
                              []}]}]}

*** User 2023-12-07 07:58:00.949 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 in
<presence from='bob_add_contact_and_invite_2606@domain.example.com' to='alice_add_contact_and_invite_2606@domain.example.com/res1' type='subscribe'/>



*** User 2023-12-07 07:58:00.957 ***🔗
REST request:
Code: 200
Req: {<0.73073.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fab78ead764b122f">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjYwNkBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:58:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"98">>}],
         <<"[{\"ask\":\"out\",\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_invite_2606@domain.example.com\"}]">>,
         222,2430}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"GET">>,
          creds =>
              {<<"bob_add_contact_and_invite_2606@domain.example.com">>,
               <<"makrolika">>},
          body => <<>>,return_headers => true}


*** User 2023-12-07 07:58:00.957 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 out
<iq type='set' id='219354e675d9bde7815846f8c64ca19f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_add_contact_and_invite_2606@domain.example.com' name='Bob'/>
	</query>
</iq>



*** User 2023-12-07 07:58:00.960 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 in
<iq from='alice_add_contact_and_invite_2606@domain.example.com' to='alice_add_contact_and_invite_2606@domain.example.com/res1' id='pushccd5ba159857f5a5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bob' jid='bob_add_contact_and_invite_2606@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:58:00.960 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 out
<iq to='alice_add_contact_and_invite_2606@domain.example.com' id='pushccd5ba159857f5a5' type='result'/>



*** User 2023-12-07 07:58:00.960 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 in
<iq from='alice_add_contact_and_invite_2606@domain.example.com' to='alice_add_contact_and_invite_2606@domain.example.com/res1' id='219354e675d9bde7815846f8c64ca19f' type='result'/>



*** User 2023-12-07 07:58:00.960 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 out
<presence type='subscribed' to='bob_add_contact_and_invite_2606@domain.example.com'/>



*** User 2023-12-07 07:58:00.965 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 in
<iq from='bob_add_contact_and_invite_2606@domain.example.com' to='bob_add_contact_and_invite_2606@domain.example.com/res1' id='push8768c68521f60306' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' jid='alice_add_contact_and_invite_2606@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:58:00.965 ***🔗
Push3 {xmlel,<<"iq">>,
             [{<<"from">>,
               <<"bob_add_contact_and_invite_2606@domain.example.com">>},
              {<<"to">>,
               <<"bob_add_contact_and_invite_2606@domain.example.com/res1">>},
              {<<"id">>,<<"push8768c68521f60306">>},
              {<<"type">>,<<"set">>}],
             [{xmlel,<<"query">>,
                     [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                     [{xmlel,<<"item">>,
                             [{<<"subscription">>,<<"to">>},
                              {<<"jid">>,
                               <<"alice_add_contact_and_invite_2606@domain.example.com">>}],
                             []}]}]}

*** User 2023-12-07 07:58:00.972 ***🔗
REST request:
Code: 200
Req: {<0.73117.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b653a3562044fbe0">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjYwNkBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:58:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"97">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"to\",\"jid\":\"alice_add_contact_and_invite_2606@domain.example.com\"}]">>,
         221,2161}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"GET">>,
          creds =>
              {<<"bob_add_contact_and_invite_2606@domain.example.com">>,
               <<"makrolika">>},
          body => <<>>,return_headers => true}


*** User 2023-12-07 07:58:00.972 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:58:00.972 ***🔗
bob_add_contact_and_invite_2606@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:58:00.972 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:58:00.972 ***🔗
alice_add_contact_and_invite_2606@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-07 07:58:00.994 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2415.html



=== Ended at 2023-12-07 07:58:01
=== successfully completed test case
=== === Returned value: ok