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

=== Config value:

    [{watchdog,<0.85199.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {preset,"pgsql_cets"},
     {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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.rest_client_SUITE.logs/run.2023-11-17_15.24.28/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.113156.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.rest_client_SUITE.logs/run.2023-11-17_15.24.28/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => cets,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@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:24:30


*** CT 2023-11-17 15:24:30.247 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4720.html

*** User 2023-11-17 15:24:30.259 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:30.259 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc2d15b6c57d8196' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:24:30.259 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:24:30.259 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTc3AG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:24:30.260 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:24:30.260 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:30.260 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='408a58fdeb778850' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost'>

*** User 2023-11-17 15:24:30.260 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:24:30.260 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<iq type='set' id='fd37b9b0053426f582ef2c51b726c08c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:24:30.260 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq id='fd37b9b0053426f582ef2c51b726c08c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:24:30.261 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<iq type='set' id='bcc06f83f4654cf06d64ae9805d1d09b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:30.261 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' id='bcc06f83f4654cf06d64ae9805d1d09b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:30.261 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<presence/>



*** User 2023-11-17 15:24:30.262 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1'/>



*** User 2023-11-17 15:24:30.263 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:30.263 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e15770bf391d91c' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:24:30.264 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:24:30.264 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjk3NwBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:24:30.265 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:24:30.265 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:30.266 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='900d628ac74180ef' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost'>

*** User 2023-11-17 15:24:30.266 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:24:30.266 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<iq type='set' id='a418e31b8af4e0ed60ae725d87b0a2b9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:24:30.266 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq id='a418e31b8af4e0ed60ae725d87b0a2b9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:24:30.266 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<iq type='set' id='3af9f000385ea3f8e1d5cad950660ca1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:30.267 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' id='3af9f000385ea3f8e1d5cad950660ca1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:30.267 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<presence/>



*** User 2023-11-17 15:24:30.268 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1'/>



*** User 2023-11-17 15:24:30.269 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:30.270 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02ba6dac926da628' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:24:30.270 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:24:30.270 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5NzcAbWFrcm93ZTtw</auth>



*** User 2023-11-17 15:24:30.271 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:24:30.271 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:30.271 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8a4ac2f5145b878' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost'>

*** User 2023-11-17 15:24:30.272 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:24:30.272 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<iq type='set' id='bc3a3aaf7d860c5fa717f8930f17d4c8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:24:30.272 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq id='bc3a3aaf7d860c5fa717f8930f17d4c8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:24:30.272 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<iq type='set' id='ac44dd8b35a6eccd77bfd4313f4e6a9c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:30.274 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' id='ac44dd8b35a6eccd77bfd4313f4e6a9c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:30.274 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<presence/>



*** User 2023-11-17 15:24:30.275 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1'/>



*** User 2023-11-17 15:24:30.276 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:30.276 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61f62ac0fbd06294' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:24:30.276 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:24:30.276 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5NzcAbmljbmllbWE=</auth>



*** User 2023-11-17 15:24:30.277 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:24:30.277 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:24:30.277 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6f906c9dff2b70a2' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost'>

*** User 2023-11-17 15:24:30.277 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:24:30.277 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<iq type='set' id='d106b51bb4a68ab70691d596456a29cb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:24:30.277 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq id='d106b51bb4a68ab70691d596456a29cb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:24:30.278 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<iq type='set' id='575d5f731836ebba322d2a7339620115'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:30.278 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' id='575d5f731836ebba322d2a7339620115' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:24:30.278 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
<presence/>



*** User 2023-11-17 15:24:30.282 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1'/>



*** User 2023-11-17 15:24:30.302 ***🔗
REST request:
Code: 204
Req: {<0.85348.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"54822503ce77f76d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTc3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:30 GMT">>}],
         <<>>,80,2802}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost\"}">>,
          role => client,return_headers => true}


*** User 2023-11-17 15:24:30.303 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' id='push0123cf6ef2bfe5dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:30.313 ***🔗
REST request:
Code: 204
Req: {<0.85384.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cda30d356d0b502d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTc3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:30 GMT">>}],
         <<>>,80,4754}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost\"}">>,
          role => client,return_headers => true}


*** User 2023-11-17 15:24:30.313 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' id='push809a33a54942bb7f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:30.323 ***🔗
REST request:
Code: 200
Req: {<0.85419.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c11a56f6315b080b">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTc3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost\"]}">>,
         209,5407}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost\"]}">>,
          role => client,return_headers => true}


*** User 2023-11-17 15:24:30.331 ***🔗
REST request:
Code: 200
Req: {<0.85447.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1baff3d3164ab830">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTc3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 17 Nov 2023 15:24:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,3122}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,body => <<>>,role => client,
          return_headers => true}


*** User 2023-11-17 15:24:30.331 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1' id='push47dbbcb24009b6df' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost'/>
	</query>
</iq>



*** User 2023-11-17 15:24:30.331 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:24:30.332 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:24:30.332 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:24:30.332 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:24:30.332 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:24:30.332 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:24:30.332 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:24:30.333 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2977@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:24:30.335 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4720.html



=== Ended at 2023-11-17 15:24:30
=== successfully completed test case
=== === Returned value: ok