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

=== Config value:

    [{watchdog,<0.14172.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.33.55/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.74242.html"},
     {tc_group_properties,[{name,roster},{repeat_until_all_ok,3},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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.33.55/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@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:33:57


*** CT 2022-01-27 15:33:57.467 *** View log from node mongooseim@localhost when started mongooseim@localhost_5013.html
*** CT 2022-01-27 15:33:57.468 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2322.html

*** User 2022-01-27 15:33:57.480 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.481 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6bff72e9287f4e6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.481 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.481 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTQxAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:33:57.482 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:57.482 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.482 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c61710ab0e472ac' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.482 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.483 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<iq type='set' id='a1f5829b3dea81e45876104862a75af1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.483 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq id='a1f5829b3dea81e45876104862a75af1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.483 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<iq type='set' id='55243dec52ccced1ad8f56fca6f3a498'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.483 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq type='result' id='55243dec52ccced1ad8f56fca6f3a498'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.483 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:57.484 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:57.484 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.485 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='796ddc9392a29c0c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.485 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.485 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTE0MQBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:33:57.487 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:57.487 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.488 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='deb3fd4d9f01330e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.488 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.488 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<iq type='set' id='622dc38950dc8dc22685ff6bfc966284'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.488 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq id='622dc38950dc8dc22685ff6bfc966284' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.488 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<iq type='set' id='e814bf980b4388bc08de9c3eb1985d93'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.488 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq type='result' id='e814bf980b4388bc08de9c3eb1985d93'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.488 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:57.489 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:57.489 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.490 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eab4d0bd44358fb1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.490 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.490 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzExNDEAbWFrcm93ZTtw</auth>



*** User 2022-01-27 15:33:57.491 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:57.491 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.492 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29f8b00f6bcc2574' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.492 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.492 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<iq type='set' id='36284e4dcc7e273fdfe74296643313c1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.492 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq id='36284e4dcc7e273fdfe74296643313c1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.492 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<iq type='set' id='89d37010e2b23c2e7cd45e497ce42c5c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.492 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq type='result' id='89d37010e2b23c2e7cd45e497ce42c5c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.492 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:57.493 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:57.493 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.494 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='91bc83dfe555679c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.494 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.494 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzExNDEAbmljbmllbWE=</auth>



*** User 2022-01-27 15:33:57.495 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:57.495 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.496 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='701d9f3a8d7f0a36' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:57.496 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@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-01-27 15:33:57.496 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<iq type='set' id='f79005ba1a5c94317041b91fcb0e072a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.496 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq id='f79005ba1a5c94317041b91fcb0e072a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:57.496 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<iq type='set' id='c3d29e1069b3d0bd275b149ab45caacf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.497 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq type='result' id='c3d29e1069b3d0bd275b149ab45caacf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:57.497 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:57.497 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:57.507 ***
REST request:
Code: 204
Req: {<0.14295.1>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a5be22d904f16b20">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTQxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1141@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:33:56 GMT">>}],
         <<>>,80,1737}
Params: #{body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1141@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:33:57.507 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' id='push60bf7f6f201cd9ae' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1141@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:33:57.516 ***
REST request:
Code: 204
Req: {<0.14331.1>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"122c08ae0d0f34d1">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTQxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:33:56 GMT">>}],
         <<>>,80,2174}
Params: #{body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:33:57.516 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' id='push85f4345603755d83' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:33:57.577 ***
REST request:
Code: 200
Req: {<0.14367.1>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"af2ecf0edd2d208a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTQxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1141@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:33:56 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost\"]}">>,
         209,2222}
Params: #{body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1141@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost\"]}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:33:57.586 ***
REST request:
Code: 200
Req: {<0.14411.1>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"aa2a52e398a68a30">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTQxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:33:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1423}
Params: #{body => <<>>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:33:57.586 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1' id='push07eaeeb1acc89618' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1141@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:33:57.586 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:57.586 ***
mike_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:33:57.586 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:57.587 ***
kate_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:33:57.587 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:57.588 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:33:57.588 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:57.588 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1141@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:33:57.590 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2322.html
*** CT 2022-01-27 15:33:57.590 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5013.html



=== Ended at 2022-01-27 15:33:57
=== successfully completed test case
=== === Returned value: ok