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

=== Config value:

    [{watchdog,<0.88714.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {preset,"odbc_mssql_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@96ddc50d3205.2024-04-23_10.53.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_11.12.43/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.161155.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@96ddc50d3205.2024-04-23_10.53.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_11.12.43/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,
              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 => 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@96ddc50d3205.2024-04-23_10.53.40"

=== Started at 2024-04-23 11:12:45


*** CT 2024-04-23 11:12:45.172 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4744.html

*** User 2024-04-23 11:12:45.193 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.193 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a678ac151af3d7e6' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:12:45.194 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.194 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDMwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 11:12:45.195 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:12:45.195 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.196 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b7600b6b1cbf189' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost'>

*** User 2024-04-23 11:12:45.196 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.196 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<iq type='set' id='3293a24f0d426d8ea7da3fedba37fecc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:12:45.196 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq id='3293a24f0d426d8ea7da3fedba37fecc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:12:45.196 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<iq type='set' id='c8e6fefeac160d588c2225a1656f0914'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:12:45.197 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' id='c8e6fefeac160d588c2225a1656f0914' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:12:45.197 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<presence/>



*** User 2024-04-23 11:12:45.199 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1'/>



*** User 2024-04-23 11:12:45.199 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.199 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f03abf1f2b341b88' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:12:45.200 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.200 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzQzMABtYWtyb2xpa2E=</auth>



*** User 2024-04-23 11:12:45.203 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:12:45.203 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.203 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f3dafc9a91092b7' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost'>

*** User 2024-04-23 11:12:45.203 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.203 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<iq type='set' id='5e480c9e80e3177785e13106da20340b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:12:45.204 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq id='5e480c9e80e3177785e13106da20340b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:12:45.204 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<iq type='set' id='0bf845d03669b310341c2ec5236ac13a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:12:45.204 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' id='0bf845d03669b310341c2ec5236ac13a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:12:45.205 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<presence/>



*** User 2024-04-23 11:12:45.206 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1'/>



*** User 2024-04-23 11:12:45.207 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.207 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='667ccbec1438902a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:12:45.207 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.207 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0MzAAbWFrcm93ZTtw</auth>



*** User 2024-04-23 11:12:45.208 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:12:45.208 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.209 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6bf0b016ee0a1fa3' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost'>

*** User 2024-04-23 11:12:45.209 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.209 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<iq type='set' id='3d47195a1a1ad4805a6018d782fdf7c1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:12:45.209 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq id='3d47195a1a1ad4805a6018d782fdf7c1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:12:45.210 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<iq type='set' id='24422b333114c37611cd8a730971e02f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:12:45.210 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' id='24422b333114c37611cd8a730971e02f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:12:45.210 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<presence/>



*** User 2024-04-23 11:12:45.212 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1'/>



*** User 2024-04-23 11:12:45.213 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.213 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4724aac38893f0e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:12:45.214 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.214 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0MzAAbmljbmllbWE=</auth>



*** User 2024-04-23 11:12:45.215 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:12:45.215 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.215 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd3f5e929328177f' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost'>

*** User 2024-04-23 11:12:45.215 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@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-23 11:12:45.215 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<iq type='set' id='c31a282c1cfa404c343abd84050b5b43'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:12:45.216 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq id='c31a282c1cfa404c343abd84050b5b43' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:12:45.216 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<iq type='set' id='1a01719f64fd4e07412a97e19dfa7ec4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:12:45.216 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' id='1a01719f64fd4e07412a97e19dfa7ec4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:12:45.216 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
<presence/>



*** User 2024-04-23 11:12:45.219 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1'/>



*** User 2024-04-23 11:12:45.231 ***🔗
REST request:
Code: 204
Req: {<0.88845.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"715a7aba86acfefd">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDMwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:12:44 GMT">>}],
         <<>>,80,6781}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost\"}">>,
          method => <<"POST">>,return_headers => true}


*** User 2024-04-23 11:12:45.232 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' id='push7ebee3e32a7f77b5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:12:45.295 ***🔗
REST request:
Code: 204
Req: {<0.88885.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"94f10d52a4c079b3">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDMwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:12:44 GMT">>}],
         <<>>,80,57081}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost\"}">>,
          method => <<"POST">>,return_headers => true}


*** User 2024-04-23 11:12:45.295 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' id='push1c6ca35fd70a7032' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:12:45.312 ***🔗
REST request:
Code: 200
Req: {<0.88919.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1fabb0e0c4fd08ce">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDMwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:12:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost\"]}">>,
         209,10711}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost\"]}">>,
          method => <<"DELETE">>,return_headers => true}


*** User 2024-04-23 11:12:45.325 ***🔗
REST request:
Code: 200
Req: {<0.88962.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"97a277dbe32224de">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDMwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:12:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,5995}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost">>,
               <<"makrolika">>},
          role => client,body => <<>>,method => <<"GET">>,
          return_headers => true}


*** User 2024-04-23 11:12:45.325 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1' id='pusha608da1501002667' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 11:12:45.325 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:12:45.325 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:12:45.325 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:12:45.325 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:12:45.325 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:12:45.326 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:12:45.326 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:12:45.326 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3430@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:12:45.329 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4744.html



=== Ended at 2024-04-23 11:12:45
=== successfully completed test case
=== === Returned value: ok