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

=== Config value:

    [{watchdog,<0.89304.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@f53478984827.2024-04-24_13.07.56/big_tests.tests.rest_client_SUITE.logs/run.2024-04-24_13.23.22/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.165891.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@f53478984827.2024-04-24_13.07.56/big_tests.tests.rest_client_SUITE.logs/run.2024-04-24_13.23.22/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_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_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f53478984827.2024-04-24_13.07.56"

=== Started at 2024-04-24 13:23:24


*** CT 2024-04-24 13:23:24.552 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4746.html

*** User 2024-04-24 13:23:24.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa63fac6bd6d550e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:23:24.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjIyAG1hdHlncnlzYQ==</auth>



*** User 2024-04-24 13:23:24.608 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:23:24.608 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.608 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6eaef463647ff0bb' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost'>

*** User 2024-04-24 13:23:24.608 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.608 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<iq type='set' id='184d081c8513a3c7579f121c2486f846'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:23:24.609 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq id='184d081c8513a3c7579f121c2486f846' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:23:24.609 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<iq type='set' id='df58ce7c8caa77abf4974caea89a3a45'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:24.609 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' id='df58ce7c8caa77abf4974caea89a3a45' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:24.609 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<presence/>



*** User 2024-04-24 13:23:24.612 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1'/>



*** User 2024-04-24 13:23:24.612 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.613 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f33f790cad52129' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:23:24.613 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.613 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzIyMgBtYWtyb2xpa2E=</auth>



*** User 2024-04-24 13:23:24.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:23:24.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0c5f79ffb23d5c4' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost'>

*** User 2024-04-24 13:23:24.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<iq type='set' id='5e724b7d7ffe911595a00bbaf7542e90'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:23:24.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq id='5e724b7d7ffe911595a00bbaf7542e90' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:23:24.615 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<iq type='set' id='8974793d35aacf5b392a6d60e3cd3c93'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:24.616 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' id='8974793d35aacf5b392a6d60e3cd3c93' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:24.616 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<presence/>



*** User 2024-04-24 13:23:24.618 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1'/>



*** User 2024-04-24 13:23:24.619 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.619 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='079be6cf5157d005' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:23:24.619 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.619 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyMjIAbWFrcm93ZTtw</auth>



*** User 2024-04-24 13:23:24.620 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:23:24.620 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.621 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c52c66382588f8c' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost'>

*** User 2024-04-24 13:23:24.621 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.621 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<iq type='set' id='5fbbb0e541c7ffc9ee96db2233861248'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:23:24.621 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq id='5fbbb0e541c7ffc9ee96db2233861248' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:23:24.621 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<iq type='set' id='95d18c68d2250b7b59ea466e153dc98f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:24.622 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' id='95d18c68d2250b7b59ea466e153dc98f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:24.622 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<presence/>



*** User 2024-04-24 13:23:24.624 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1'/>



*** User 2024-04-24 13:23:24.624 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bbda3500e46078b2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:23:24.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyMjIAbmljbmllbWE=</auth>



*** User 2024-04-24 13:23:24.626 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:23:24.626 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.626 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='800c047576569bb1' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost'>

*** User 2024-04-24 13:23:24.626 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@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-24 13:23:24.626 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<iq type='set' id='be1445cc0e4b40afab1ad71c42dd9bed'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:23:24.627 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq id='be1445cc0e4b40afab1ad71c42dd9bed' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:23:24.627 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<iq type='set' id='e6fee3b739f47e46fc071f1aaac176b1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:24.627 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' id='e6fee3b739f47e46fc071f1aaac176b1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:23:24.627 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
<presence/>



*** User 2024-04-24 13:23:24.629 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1'/>



*** User 2024-04-24 13:23:24.673 ***🔗
REST request:
Code: 204
Req: {<0.89447.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"efed35ee73268817">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjIyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:24 GMT">>}],
         <<>>,80,39312}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost\"}">>,
          method => <<"POST">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost">>,
               <<"makrolika">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:23:24.674 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' id='push04128ff688d6c20d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-24 13:23:24.705 ***🔗
REST request:
Code: 204
Req: {<0.89495.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c51733bc88afa62a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjIyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:24 GMT">>}],
         <<>>,80,26381}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost\"}">>,
          method => <<"POST">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost">>,
               <<"makrolika">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:23:24.705 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' id='pushfd03afa3cb8be8e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-24 13:23:24.774 ***🔗
REST request:
Code: 200
Req: {<0.89516.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"04f382ce4b7d0bc8">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjIyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:24 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost\"]}">>,
         209,64549}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost\"]}">>,
          method => <<"DELETE">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost">>,
               <<"makrolika">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:23:24.781 ***🔗
REST request:
Code: 200
Req: {<0.89551.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"732fa537e6e30bc0">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjIyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:23:24 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2107}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost">>,
               <<"makrolika">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:23:24.781 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1' id='pusha540e8b037bcbf82' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-24 13:23:24.781 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:23:24.781 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:23:24.781 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:23:24.781 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:23:24.781 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:23:24.782 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:23:24.782 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:23:24.782 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3222@localhost/res1 in
</stream:stream>
*** CT 2024-04-24 13:23:24.785 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4746.html



=== Ended at 2024-04-24 13:23:24
=== successfully completed test case
=== === Returned value: ok