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

=== Config value:

    [{watchdog,<0.75504.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.rest_client_SUITE.logs/run.2024-02-23_17.45.42/rest_client_suite.add_contact_and_invite.153219.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.rest_client_SUITE.logs/run.2024-02-23_17.45.42/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}}}]

=== 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:44


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

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

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



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



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

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



*** User 2024-02-23 17:45:44.912 ***🔗
alicE_add_contact_and_invite_2894@domain.example.com/res1 in
<iq id='cd2f9c7147b08eb1ba6b7efd42d39e3c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_contact_and_invite_2894@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



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



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



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

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



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



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

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



*** User 2024-02-23 17:45:44.926 ***🔗
bOb_add_contact_and_invite_2894@domain.example.com/res1 in
<iq id='8825241ea5ad08f1919d1ec8b63e4eb5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_contact_and_invite_2894@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



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



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



*** User 2024-02-23 17:45:44.937 ***🔗
REST request:
Code: 200
Req: {<0.75583.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5cb7d8fa6e91a029">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjg5NEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,3067}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_contact_and_invite_2894@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:44.977 ***🔗
REST request:
Code: 204
Req: {<0.75611.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1b3b4ae56c006d49">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjg5NEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"alice_add_contact_and_invite_2894@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>}],
         <<>>,80,5774}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_contact_and_invite_2894@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"jid\":\"alice_add_contact_and_invite_2894@domain.example.com\"}">>,
          return_headers => true}


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



*** User 2024-02-23 17:45:44.986 ***🔗
REST request:
Code: 200
Req: {<0.75646.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e5d737e78fd6404a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjg5NEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"99">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_invite_2894@domain.example.com\"}]">>,
         223,3744}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_contact_and_invite_2894@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:45.001 ***🔗
REST request:
Code: 204
Req: {<0.75677.0>,
      <<"/api/contacts/alice_add_contact_and_invite_2894@domain.example.com">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"18f98aafaeff182c">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjg5NEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"action\":\"invite\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>}],
         <<>>,80,9517}
Params: #{path =>
              <<"/api/contacts/alice_add_contact_and_invite_2894@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_contact_and_invite_2894@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"PUT">>,
          body => <<"{\"action\":\"invite\"}">>,return_headers => true}


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



*** User 2024-02-23 17:45:45.001 ***🔗
Push2: {xmlel,<<"iq">>,
              [{<<"from">>,
                <<"bob_add_contact_and_invite_2894@domain.example.com">>},
               {<<"to">>,
                <<"bob_add_contact_and_invite_2894@domain.example.com/res1">>},
               {<<"id">>,<<"pushacd17250695f3772">>},
               {<<"type">>,<<"set">>}],
              [{xmlel,<<"query">>,
                      [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                      [{xmlel,<<"item">>,
                              [{<<"ask">>,<<"subscribe">>},
                               {<<"subscription">>,<<"none">>},
                               {<<"jid">>,
                                <<"alice_add_contact_and_invite_2894@domain.example.com">>}],
                              []}]}]}

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



*** User 2024-02-23 17:45:45.009 ***🔗
REST request:
Code: 200
Req: {<0.75712.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8e7d2bf4947b266a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjg5NEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"98">>}],
         <<"[{\"ask\":\"out\",\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_invite_2894@domain.example.com\"}]">>,
         222,3142}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_contact_and_invite_2894@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:45.010 ***🔗
alice_add_contact_and_invite_2894@domain.example.com/res1 out
<iq type='set' id='130a7033ac80e67fac686c7528e7a4d2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_add_contact_and_invite_2894@domain.example.com' name='Bob'/>
	</query>
</iq>



*** User 2024-02-23 17:45:45.012 ***🔗
alice_add_contact_and_invite_2894@domain.example.com/res1 in
<iq from='alice_add_contact_and_invite_2894@domain.example.com' to='alice_add_contact_and_invite_2894@domain.example.com/res1' id='push7c746a744ec9161a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bob' jid='bob_add_contact_and_invite_2894@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:45.012 ***🔗
alice_add_contact_and_invite_2894@domain.example.com/res1 out
<iq to='alice_add_contact_and_invite_2894@domain.example.com' id='push7c746a744ec9161a' type='result'/>



*** User 2024-02-23 17:45:45.013 ***🔗
alice_add_contact_and_invite_2894@domain.example.com/res1 in
<iq from='alice_add_contact_and_invite_2894@domain.example.com' to='alice_add_contact_and_invite_2894@domain.example.com/res1' id='130a7033ac80e67fac686c7528e7a4d2' type='result'/>



*** User 2024-02-23 17:45:45.013 ***🔗
alice_add_contact_and_invite_2894@domain.example.com/res1 out
<presence type='subscribed' to='bob_add_contact_and_invite_2894@domain.example.com'/>



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



*** User 2024-02-23 17:45:45.077 ***🔗
Push3 {xmlel,<<"iq">>,
             [{<<"from">>,
               <<"bob_add_contact_and_invite_2894@domain.example.com">>},
              {<<"to">>,
               <<"bob_add_contact_and_invite_2894@domain.example.com/res1">>},
              {<<"id">>,<<"push19f31bf7f200ad92">>},
              {<<"type">>,<<"set">>}],
             [{xmlel,<<"query">>,
                     [{<<"xmlns">>,<<"jabber:iq:roster">>}],
                     [{xmlel,<<"item">>,
                             [{<<"subscription">>,<<"to">>},
                              {<<"jid">>,
                               <<"alice_add_contact_and_invite_2894@domain.example.com">>}],
                             []}]}]}

*** User 2024-02-23 17:45:45.087 ***🔗
REST request:
Code: 200
Req: {<0.75761.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"65a6d22bd0d786ca">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9pbnZpdGVfMjg5NEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"97">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"to\",\"jid\":\"alice_add_contact_and_invite_2894@domain.example.com\"}]">>,
         221,3236}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_contact_and_invite_2894@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"GET">>,body => <<>>,
          return_headers => true}


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

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

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

*** User 2024-02-23 17:45:45.087 ***🔗
alice_add_contact_and_invite_2894@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-23 17:45:45.090 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2667.html



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