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

=== Config value:

    [{watchdog,<0.76451.0>},
     {muc_light_host,<<"muclight.domain.example.com">>},
     {mam_backend,rdbms},
     {preset,"odbc_mssql_mnesia"},
     {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@ca2b1cd7241c.2024-03-11_11.25.11/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.40.24/rest_client_suite.add_contact_and_invite.99460.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@ca2b1cd7241c.2024-03-11_11.25.11/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.40.24/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_disco =>
            #{iqdisc => one_queue,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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ca2b1cd7241c.2024-03-11_11.25.11"

=== Started at 2024-03-11 11:40:26


*** CT 2024-03-11 11:40:26.640 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2681.html

*** User 2024-03-11 11:40:26.655 ***🔗
alicE_add_contact_and_invite_2918@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-03-11 11:40:26.655 ***🔗
alicE_add_contact_and_invite_2918@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c7cfdc3fdf6a415' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:40:26.656 ***🔗
alicE_add_contact_and_invite_2918@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-03-11 11:40:26.656 ***🔗
alicE_add_contact_and_invite_2918@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjkxOABtYXR5Z3J5c2E=</auth>



*** User 2024-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_invite_2918@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_invite_2918@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-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_invite_2918@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='723d0dd6b62ca284' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_contact_and_invite_2918@domain.example.com'>

*** User 2024-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_invite_2918@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-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_invite_2918@domain.example.com/res1 out
<iq type='set' id='593ce63fed7eb0c7286a47a21180214d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:40:26.658 ***🔗
alicE_add_contact_and_invite_2918@domain.example.com/res1 in
<iq id='593ce63fed7eb0c7286a47a21180214d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_contact_and_invite_2918@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:40:26.658 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 out
<iq type='set' id='ea6b7458b7a8bf5be6953eca542e23fc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:40:26.658 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_contact_and_invite_2918@domain.example.com/res1' id='ea6b7458b7a8bf5be6953eca542e23fc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:40:26.659 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 out
<presence/>



*** User 2024-03-11 11:40:26.660 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 in
<presence from='alice_add_contact_and_invite_2918@domain.example.com/res1' to='alice_add_contact_and_invite_2918@domain.example.com/res1'/>



*** User 2024-03-11 11:40:26.661 ***🔗
bOb_add_contact_and_invite_2918@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-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_invite_2918@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ed27f893c0da71a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_invite_2918@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-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_invite_2918@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF9hbmRfaW52aXRlXzI5MTgAbWFrcm9saWth</auth>



*** User 2024-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_invite_2918@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:40:26.663 ***🔗
bOb_add_contact_and_invite_2918@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-03-11 11:40:26.663 ***🔗
bOb_add_contact_and_invite_2918@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d0b90a3feaafbc8' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_contact_and_invite_2918@domain.example.com'>

*** User 2024-03-11 11:40:26.663 ***🔗
bOb_add_contact_and_invite_2918@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-03-11 11:40:26.663 ***🔗
bOb_add_contact_and_invite_2918@domain.example.com/res1 out
<iq type='set' id='919f361aacd25e69eb81b38f0f770ca3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:40:26.663 ***🔗
bOb_add_contact_and_invite_2918@domain.example.com/res1 in
<iq id='919f361aacd25e69eb81b38f0f770ca3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_contact_and_invite_2918@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:40:26.663 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 out
<iq type='set' id='8f69cd5cb3844eeaf0da4f1c0c2b945a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:40:26.664 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_contact_and_invite_2918@domain.example.com/res1' id='8f69cd5cb3844eeaf0da4f1c0c2b945a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:40:26.664 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 out
<presence/>



*** User 2024-03-11 11:40:26.665 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 in
<presence from='bob_add_contact_and_invite_2918@domain.example.com/res1' to='bob_add_contact_and_invite_2918@domain.example.com/res1'/>



*** User 2024-03-11 11:40:26.675 ***🔗
REST request:
Code: 200
Req: {<0.76519.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"af0c05cb7e748084">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjkxOEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,3772}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,
          creds =>
              {<<"bob_add_contact_and_invite_2918@domain.example.com">>,
               <<"makrolika">>},
          method => <<"GET">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.735 ***🔗
REST request:
Code: 204
Req: {<0.76553.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6e158cba5865a77a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjkxOEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"alice_add_contact_and_invite_2918@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:25 GMT">>}],
         <<>>,80,55219}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"alice_add_contact_and_invite_2918@domain.example.com\"}">>,
          creds =>
              {<<"bob_add_contact_and_invite_2918@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.735 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 in
<iq from='bob_add_contact_and_invite_2918@domain.example.com' to='bob_add_contact_and_invite_2918@domain.example.com/res1' id='push7fdc7a8e274d821e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_contact_and_invite_2918@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.747 ***🔗
REST request:
Code: 200
Req: {<0.76596.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c947c63e554d984e">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjkxOEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"99">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_invite_2918@domain.example.com\"}]">>,
         223,4712}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,
          creds =>
              {<<"bob_add_contact_and_invite_2918@domain.example.com">>,
               <<"makrolika">>},
          method => <<"GET">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.764 ***🔗
REST request:
Code: 204
Req: {<0.76624.0>,
      <<"/api/contacts/alice_add_contact_and_invite_2918@domain.example.com">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7f64ac300674d44f">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjkxOEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"action\":\"invite\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:26 GMT">>}],
         <<>>,80,10570}
Params: #{path =>
              <<"/api/contacts/alice_add_contact_and_invite_2918@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"invite\"}">>,
          creds =>
              {<<"bob_add_contact_and_invite_2918@domain.example.com">>,
               <<"makrolika">>},
          method => <<"PUT">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.764 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 in
<iq from='bob_add_contact_and_invite_2918@domain.example.com' to='bob_add_contact_and_invite_2918@domain.example.com/res1' id='pushc10f11794aebabc9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_add_contact_and_invite_2918@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.764 ***🔗
Push2: {xmlel,<<"iq">>,
              [{<<"from">>,
                <<"bob_add_contact_and_invite_2918@domain.example.com">>},
               {<<"to">>,
                <<"bob_add_contact_and_invite_2918@domain.example.com/res1">>},
               {<<"id">>,<<"pushc10f11794aebabc9">>},
               {<<"type">>,<<"set">>}],
              [{xmlel,<<"query">>,
                      [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                      [{xmlel,<<"item">>,
                              [{<<"ask">>,<<"subscribe">>},
                               {<<"jid">>,
                                <<"alice_add_contact_and_invite_2918@domain.example.com">>},
                               {<<"subscription">>,<<"none">>}],
                              []}]}]}

*** User 2024-03-11 11:40:26.764 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 in
<presence from='bob_add_contact_and_invite_2918@domain.example.com' to='alice_add_contact_and_invite_2918@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-11 11:40:26.776 ***🔗
REST request:
Code: 200
Req: {<0.76675.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"989667e6a4f20a2b">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjkxOEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"98">>}],
         <<"[{\"ask\":\"out\",\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_invite_2918@domain.example.com\"}]">>,
         222,7228}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,
          creds =>
              {<<"bob_add_contact_and_invite_2918@domain.example.com">>,
               <<"makrolika">>},
          method => <<"GET">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.777 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 out
<iq type='set' id='ecfaccc208b1f06d77c90dee46f4545a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_add_contact_and_invite_2918@domain.example.com' name='Bob'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.781 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 in
<iq from='alice_add_contact_and_invite_2918@domain.example.com' to='alice_add_contact_and_invite_2918@domain.example.com/res1' id='pusha6ae4c35860cf1aa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bob' jid='bob_add_contact_and_invite_2918@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.781 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 out
<iq to='alice_add_contact_and_invite_2918@domain.example.com' id='pusha6ae4c35860cf1aa' type='result'/>



*** User 2024-03-11 11:40:26.781 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 in
<iq from='alice_add_contact_and_invite_2918@domain.example.com' to='alice_add_contact_and_invite_2918@domain.example.com/res1' id='ecfaccc208b1f06d77c90dee46f4545a' type='result'/>



*** User 2024-03-11 11:40:26.781 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 out
<presence type='subscribed' to='bob_add_contact_and_invite_2918@domain.example.com'/>



*** User 2024-03-11 11:40:26.840 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 in
<iq from='bob_add_contact_and_invite_2918@domain.example.com' to='bob_add_contact_and_invite_2918@domain.example.com/res1' id='pushfbd12f6e6d065ccc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_contact_and_invite_2918@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.840 ***🔗
Push3 {xmlel,<<"iq">>,
             [{<<"from">>,
               <<"bob_add_contact_and_invite_2918@domain.example.com">>},
              {<<"to">>,
               <<"bob_add_contact_and_invite_2918@domain.example.com/res1">>},
              {<<"id">>,<<"pushfbd12f6e6d065ccc">>},
              {<<"type">>,<<"set">>}],
             [{xmlel,<<"query">>,
                     [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                     [{xmlel,<<"item">>,
                             [{<<"jid">>,
                               <<"alice_add_contact_and_invite_2918@domain.example.com">>},
                              {<<"subscription">>,<<"to">>}],
                             []}]}]}

*** User 2024-03-11 11:40:26.849 ***🔗
REST request:
Code: 200
Req: {<0.76714.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c35c865e8164eea6">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjkxOEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"97">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"to\",\"jid\":\"alice_add_contact_and_invite_2918@domain.example.com\"}]">>,
         221,3224}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,
          creds =>
              {<<"bob_add_contact_and_invite_2918@domain.example.com">>,
               <<"makrolika">>},
          method => <<"GET">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.849 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-11 11:40:26.849 ***🔗
bob_add_contact_and_invite_2918@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-11 11:40:26.849 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-11 11:40:26.849 ***🔗
alice_add_contact_and_invite_2918@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-11 11:40:26.851 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2681.html



=== Ended at 2024-03-11 11:40:26
=== successfully completed test case
=== === Returned value: ok