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

=== Config value:

    [{watchdog,<0.15634.1>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,disabled},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.38.20/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.71554.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.38.20/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [],mod_sic => [],mod_stream_management => [],
        mod_vcard =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:38:22


*** CT 2022-03-03 10:38:22.480 *** View log from node mongooseim@localhost when started mongooseim@localhost_5025.html
*** CT 2022-03-03 10:38:22.480 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

*** User 2022-03-03 10:38:22.491 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:38:22.491 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='930b7f1d616d0abd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:22.491 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:38:22.491 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMzIwAG1hdHlncnlzYQ==</auth>



*** User 2022-03-03 10:38:22.493 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:38:22.493 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:38:22.493 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0bb4dfe727c2947b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:22.493 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:38:22.493 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<iq type='set' id='bd13af11ea537af5393159c819a2673f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:38:22.493 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq id='bd13af11ea537af5393159c819a2673f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:38:22.493 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<iq type='set' id='caddf8beccf9bdc3eda2c03153ced65c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:22.494 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq type='result' id='caddf8beccf9bdc3eda2c03153ced65c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:22.494 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<presence/>



*** User 2022-03-03 10:38:22.494 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:38:22.495 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:38:22.495 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='260dd868cdde6e85' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:22.495 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:38:22.496 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTMyMABtYWtyb2xpa2E=</auth>



*** User 2022-03-03 10:38:22.498 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:38:22.498 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:38:22.499 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e4b7f41102e41533' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:22.499 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:38:22.499 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<iq type='set' id='99da567fcc9605c87cc26bb5fa2510f8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:38:22.500 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq id='99da567fcc9605c87cc26bb5fa2510f8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:38:22.500 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<iq type='set' id='2a064bcf07c92c3e411c0d5d65c08cb2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:22.500 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq type='result' id='2a064bcf07c92c3e411c0d5d65c08cb2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:22.500 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<presence/>



*** User 2022-03-03 10:38:22.501 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:38:22.502 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:38:22.502 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a1cdd42d8601914' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:22.502 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:38:22.502 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzEzMjAAbWFrcm93ZTtw</auth>



*** User 2022-03-03 10:38:22.504 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:38:22.504 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:38:22.504 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='890afc569d9e7e2d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:22.504 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:38:22.504 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<iq type='set' id='e8341d53974ba58ea506b4fb7e7102b7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:38:22.505 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq id='e8341d53974ba58ea506b4fb7e7102b7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:38:22.505 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<iq type='set' id='77b56720e3ec086a3185c010e183a7ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:22.505 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq type='result' id='77b56720e3ec086a3185c010e183a7ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:22.505 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<presence/>



*** User 2022-03-03 10:38:22.508 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:38:22.509 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:38:22.510 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b41701bfe7d06f1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:22.510 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:38:22.510 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzEzMjAAbmljbmllbWE=</auth>



*** User 2022-03-03 10:38:22.513 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:38:22.513 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:38:22.514 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='40de4922707e991b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:38:22.514 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-03 10:38:22.514 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<iq type='set' id='c271a3bd7c4d78a89c1dd160d33ba740'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:38:22.514 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq id='c271a3bd7c4d78a89c1dd160d33ba740' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:38:22.514 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<iq type='set' id='3857046a0935fcd00cee36abcd91a606'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:22.515 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq type='result' id='3857046a0935fcd00cee36abcd91a606'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:38:22.515 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
<presence/>



*** User 2022-03-03 10:38:22.515 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:38:22.526 ***
REST request:
Code: 204
Req: {<0.15773.1>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"74c119cef3410d3f">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMzIwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1320@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:38:22 GMT">>}],
         <<>>,80,2286}
Params: #{body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1320@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-03 10:38:22.526 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' id='push7c1a9f4832b3bd65' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1320@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:38:22.565 ***
REST request:
Code: 204
Req: {<0.15801.1>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1ef62fa68167ca0f">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMzIwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:38:22 GMT">>}],
         <<>>,80,2347}
Params: #{body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-03 10:38:22.565 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' id='pushfc431a463828e711' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:38:22.574 ***
REST request:
Code: 200
Req: {<0.15823.1>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e69b2728e1a3dac7">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMzIwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1320@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:38:22 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost\"]}">>,
         209,1924}
Params: #{body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1320@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost\"]}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-03 10:38:22.584 ***
REST request:
Code: 200
Req: {<0.15847.1>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2d073d155d274ec9">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMzIwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:38:22 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1359}
Params: #{body => <<>>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-03 10:38:22.584 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1' id='pushef6d24d100e24904' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1320@localhost'/>
	</query>
</iq>



*** User 2022-03-03 10:38:22.584 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:38:22.584 ***
mike_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:38:22.585 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:38:22.585 ***
kate_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:38:22.585 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:38:22.585 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:38:22.585 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:38:22.585 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1320@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:38:22.587 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:38:22.588 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5025.html



=== Ended at 2022-03-03 10:38:22
=== successfully completed test case
=== === Returned value: ok