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

=== Config value:

    [{watchdog,<0.85379.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {preset,"pgsql_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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.rest_client_SUITE.logs/run.2023-11-16_09.49.09/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.170627.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.rest_client_SUITE.logs/run.2023-11-16_09.49.09/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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@079a843f8d8b.2023-11-16_09.33.39"

=== Started at 2023-11-16 09:49:11


*** CT 2023-11-16 09:49:11.409 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4899.html

*** User 2023-11-16 09:49:11.422 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.423 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b2b8461869bf2d1' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:49:11.423 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.423 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTE1AG1hdHlncnlzYQ==</auth>



*** User 2023-11-16 09:49:11.424 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:49:11.424 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.424 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89bbafa6676c96b8' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost'>

*** User 2023-11-16 09:49:11.424 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.424 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<iq type='set' id='8e9c9a2f4e4c817c18716d29098ae1de'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:49:11.424 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq id='8e9c9a2f4e4c817c18716d29098ae1de' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:49:11.425 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<iq type='set' id='9092a0fc644801d27f505f62c4ba330f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:49:11.425 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' id='9092a0fc644801d27f505f62c4ba330f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:49:11.425 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<presence/>



*** User 2023-11-16 09:49:11.426 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1'/>



*** User 2023-11-16 09:49:11.427 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.427 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ab1c8f2f4b73614' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:49:11.427 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.427 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzExNQBtYWtyb2xpa2E=</auth>



*** User 2023-11-16 09:49:11.428 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:49:11.428 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.429 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bef5da732f8b611a' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost'>

*** User 2023-11-16 09:49:11.430 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.430 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<iq type='set' id='64a111d5b27efc0e83aaba6745190d95'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:49:11.430 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq id='64a111d5b27efc0e83aaba6745190d95' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:49:11.430 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<iq type='set' id='0c00de861c673333f3e59c70d02ff89f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:49:11.431 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' id='0c00de861c673333f3e59c70d02ff89f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:49:11.431 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<presence/>



*** User 2023-11-16 09:49:11.432 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1'/>



*** User 2023-11-16 09:49:11.433 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.433 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6f0e691fb99b5202' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:49:11.433 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.433 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxMTUAbWFrcm93ZTtw</auth>



*** User 2023-11-16 09:49:11.434 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:49:11.434 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.434 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eaf2134d2e46d652' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost'>

*** User 2023-11-16 09:49:11.434 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.435 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<iq type='set' id='9de61b3b5bc2028718ee6e59d7de01f4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:49:11.435 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq id='9de61b3b5bc2028718ee6e59d7de01f4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:49:11.435 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<iq type='set' id='8c94027297deb857401284deb6682e4d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:49:11.435 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' id='8c94027297deb857401284deb6682e4d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:49:11.436 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<presence/>



*** User 2023-11-16 09:49:11.438 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1'/>



*** User 2023-11-16 09:49:11.439 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.439 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c722c81ed56af3a7' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:49:11.439 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.439 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxMTUAbmljbmllbWE=</auth>



*** User 2023-11-16 09:49:11.440 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:49:11.440 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.440 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='21c84094523cede1' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost'>

*** User 2023-11-16 09:49:11.440 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@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-16 09:49:11.440 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<iq type='set' id='3770390fcd3ba6a6905193ba8c737d16'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:49:11.440 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq id='3770390fcd3ba6a6905193ba8c737d16' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:49:11.441 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<iq type='set' id='b1208f8e44651a53c58845b4bf1d7591'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:49:11.441 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' id='b1208f8e44651a53c58845b4bf1d7591' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:49:11.441 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
<presence/>



*** User 2023-11-16 09:49:11.442 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1'/>



*** User 2023-11-16 09:49:11.454 ***🔗
REST request:
Code: 204
Req: {<0.85524.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"eb9ae1ead9c3402a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTE1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:49:10 GMT">>}],
         <<>>,80,4604}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost\"}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2023-11-16 09:49:11.454 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' id='push3c8f2b746dcf7822' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:11.511 ***🔗
REST request:
Code: 204
Req: {<0.85564.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"daa8cb9c1a09dd3d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTE1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:49:10 GMT">>}],
         <<>>,80,51374}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost\"}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2023-11-16 09:49:11.512 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' id='push8409e8fcbd28be6c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:11.521 ***🔗
REST request:
Code: 200
Req: {<0.85599.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7e892db3528e38b9">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTE1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:49:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost\"]}">>,
         209,4692}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"DELETE">>,
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost\"]}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2023-11-16 09:49:11.529 ***🔗
REST request:
Code: 200
Req: {<0.85625.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8d710d1606aad657">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTE1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 16 Nov 2023 09:49:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2007}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2023-11-16 09:49:11.529 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1' id='push74a02efdb7037813' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost'/>
	</query>
</iq>



*** User 2023-11-16 09:49:11.529 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:49:11.529 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:49:11.529 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:49:11.530 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:49:11.530 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:49:11.530 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:49:11.530 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:49:11.531 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3115@localhost/res1 in
</stream:stream>
*** CT 2023-11-16 09:49:11.536 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4899.html



=== Ended at 2023-11-16 09:49:11
=== successfully completed test case
=== === Returned value: ok