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

=== Config value:

    [{watchdog,<0.89337.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {preset,"mysql_redis"},
     {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@70badadd0f1a.2024-04-10_12.44.57/big_tests.tests.rest_client_SUITE.logs/run.2024-04-10_12.59.47/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.243970.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@70badadd0f1a.2024-04-10_12.44.57/big_tests.tests.rest_client_SUITE.logs/run.2024-04-10_12.59.47/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_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,buffer_max => 100,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@70badadd0f1a.2024-04-10_12.44.57"

=== Started at 2024-04-10 12:59:49


*** CT 2024-04-10 12:59:49.295 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4719.html

*** User 2024-04-10 12:59:49.309 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:59:49.309 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='086d48b8166aacf9' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:59:49.309 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@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 2024-04-10 12:59:49.309 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA1AG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 12:59:49.310 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:59:49.310 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:59:49.310 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c555a399b3294cb' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost'>

*** User 2024-04-10 12:59:49.311 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@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 2024-04-10 12:59:49.311 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<iq type='set' id='6e288d13a0909ee889c20c80c079545a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:59:49.311 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq id='6e288d13a0909ee889c20c80c079545a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:59:49.311 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<iq type='set' id='68c086a738e3222da04144b0edc4bd67'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:59:49.312 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' id='68c086a738e3222da04144b0edc4bd67' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:59:49.312 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<presence/>



*** User 2024-04-10 12:59:49.314 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1'/>



*** User 2024-04-10 12:59:49.314 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:59:49.315 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c95204d5ea9924b2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:59:49.315 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@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 2024-04-10 12:59:49.315 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzIwNQBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 12:59:49.316 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:59:49.316 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:59:49.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='121672993b8b98bf' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost'>

*** User 2024-04-10 12:59:49.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@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 2024-04-10 12:59:49.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<iq type='set' id='a47e0ff49a130e85c00d15ddae3f43aa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:59:49.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq id='a47e0ff49a130e85c00d15ddae3f43aa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:59:49.318 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<iq type='set' id='2ac34abcd2e30e709bf093a649f6ca0d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:59:49.319 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' id='2ac34abcd2e30e709bf093a649f6ca0d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:59:49.319 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<presence/>



*** User 2024-04-10 12:59:49.321 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1'/>



*** User 2024-04-10 12:59:49.321 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:59:49.321 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28a9375df8c8c240' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:59:49.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@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 2024-04-10 12:59:49.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyMDUAbWFrcm93ZTtw</auth>



*** User 2024-04-10 12:59:49.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:59:49.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:59:49.323 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53ad1da278c635ec' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost'>

*** User 2024-04-10 12:59:49.323 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@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 2024-04-10 12:59:49.323 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<iq type='set' id='4c657a510cd175e3a5b65767da53e54e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:59:49.323 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq id='4c657a510cd175e3a5b65767da53e54e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:59:49.323 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<iq type='set' id='25080766aaea6a9c19ea4cd3d16c5ade'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:59:49.325 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' id='25080766aaea6a9c19ea4cd3d16c5ade' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:59:49.325 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<presence/>



*** User 2024-04-10 12:59:49.327 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1'/>



*** User 2024-04-10 12:59:49.327 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:59:49.327 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='714bd930f3e6ed61' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:59:49.327 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@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 2024-04-10 12:59:49.328 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyMDUAbmljbmllbWE=</auth>



*** User 2024-04-10 12:59:49.328 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:59:49.328 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:59:49.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8453b7a1fc03297' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost'>

*** User 2024-04-10 12:59:49.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@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 2024-04-10 12:59:49.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<iq type='set' id='d62822e604eeec61d2f698a22d5821c7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:59:49.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq id='d62822e604eeec61d2f698a22d5821c7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:59:49.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<iq type='set' id='d0378e2505e65fec1e0472779d4ba689'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:59:49.330 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' id='d0378e2505e65fec1e0472779d4ba689' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:59:49.330 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
<presence/>



*** User 2024-04-10 12:59:49.356 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1'/>



*** User 2024-04-10 12:59:49.369 ***🔗
REST request:
Code: 204
Req: {<0.89486.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"aea7fdd0d2e29e88">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:59:48 GMT">>}],
         <<>>,80,7876}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost\"}">>,
          method => <<"POST">>,return_headers => true}


*** User 2024-04-10 12:59:49.369 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' id='push6da53b1441003c4d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:59:49.379 ***🔗
REST request:
Code: 204
Req: {<0.89510.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3ad7794ff93a250b">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:59:48 GMT">>}],
         <<>>,80,4816}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost\"}">>,
          method => <<"POST">>,return_headers => true}


*** User 2024-04-10 12:59:49.379 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' id='push790be00d73f483b7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:59:49.393 ***🔗
REST request:
Code: 200
Req: {<0.89552.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"606d3496258f9b52">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:59:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost\"]}">>,
         209,8179}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost\"]}">>,
          method => <<"DELETE">>,return_headers => true}


*** User 2024-04-10 12:59:49.401 ***🔗
REST request:
Code: 200
Req: {<0.89579.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"93ea36924aec2617">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:59:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2854}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost">>,
               <<"makrolika">>},
          role => client,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-04-10 12:59:49.402 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1' id='pusheb2bcadf5586613b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-10 12:59:49.402 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:59:49.402 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:59:49.402 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:59:49.402 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:59:49.403 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:59:49.403 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:59:49.403 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:59:49.403 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3205@localhost/res1 in
</stream:stream>
*** CT 2024-04-10 12:59:49.405 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4719.html



=== Ended at 2024-04-10 12:59:49
=== successfully completed test case
=== === Returned value: ok