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

=== Config value:

    [{watchdog,<0.88641.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@f9de24452ab3.2024-04-10_11.46.55/big_tests.tests.rest_client_SUITE.logs/run.2024-04-10_12.02.28/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.169987.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@f9de24452ab3.2024-04-10_11.46.55/big_tests.tests.rest_client_SUITE.logs/run.2024-04-10_12.02.28/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_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => 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@f9de24452ab3.2024-04-10_11.46.55"

=== Started at 2024-04-10 12:02:29


*** CT 2024-04-10 12:02:30.000 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4766.html

*** User 2024-04-10 12:02:30.014 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.014 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ab425f3ddaecfa0' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-10 12:02:30.015 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.015 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='953869b857b75bc5' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost'>

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



*** User 2024-04-10 12:02:30.016 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq id='51f60822fc6bdea1c12677457106b61d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:02:30.016 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<iq type='set' id='49efee16e79a39197a932599e6b3cd89'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:02:30.016 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' id='49efee16e79a39197a932599e6b3cd89' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:02:30.016 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<presence/>



*** User 2024-04-10 12:02:30.018 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1'/>



*** User 2024-04-10 12:02:30.018 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.018 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cd0562891b9bf1e5' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-10 12:02:30.020 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.020 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='792ad9c276c5afba' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost'>

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



*** User 2024-04-10 12:02:30.021 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq id='e57cac448382731541fa4880c3f20a34' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:02:30.021 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<iq type='set' id='603650c6aba49d3dc8052b344c83dd83'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:02:30.021 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' id='603650c6aba49d3dc8052b344c83dd83' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:02:30.021 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<presence/>



*** User 2024-04-10 12:02:30.023 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1'/>



*** User 2024-04-10 12:02:30.023 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.023 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dac4c9a3dc8bafa4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:02:30.023 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.024 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNzMAbWFrcm93ZTtw</auth>



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



*** User 2024-04-10 12:02:30.024 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.025 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02605eaca5aae06d' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost'>

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



*** User 2024-04-10 12:02:30.025 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq id='95000a774f51e8a7de59df23cd10bdcd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:02:30.025 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<iq type='set' id='b956586462f0f1445d74c73b344f6a44'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



*** User 2024-04-10 12:02:30.026 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<presence/>



*** User 2024-04-10 12:02:30.027 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1'/>



*** User 2024-04-10 12:02:30.028 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.028 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='719159be7c188a40' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:02:30.028 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.029 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNzMAbmljbmllbWE=</auth>



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



*** User 2024-04-10 12:02:30.029 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@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:02:30.030 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c53b3b5c52cc7859' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost'>

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



*** User 2024-04-10 12:02:30.030 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq id='faa55c4878ff0d07126d2ba607db880b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:02:30.030 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<iq type='set' id='607afff4c0c04c57c2daa3a933fc0eef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:02:30.030 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' id='607afff4c0c04c57c2daa3a933fc0eef' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:02:30.031 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
<presence/>



*** User 2024-04-10 12:02:30.032 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1'/>



*** User 2024-04-10 12:02:30.061 ***🔗
REST request:
Code: 204
Req: {<0.88778.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"36b5ef4863381449">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzczQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:02:29 GMT">>}],
         <<>>,80,5028}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost\"}">>,
          method => <<"POST">>,role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-10 12:02:30.061 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' id='push7d0ce7540db868ca' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:02:30.071 ***🔗
REST request:
Code: 204
Req: {<0.88826.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c9cd3d8f9d216364">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzczQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:02:29 GMT">>}],
         <<>>,80,4963}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost\"}">>,
          method => <<"POST">>,role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-10 12:02:30.071 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' id='pushe0eff71eb1e1a307' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-10 12:02:30.080 ***🔗
REST request:
Code: 200
Req: {<0.88859.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b77331aeb95ce6da">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzczQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:02:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost\"]}">>,
         209,5658}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost\"]}">>,
          method => <<"DELETE">>,role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-10 12:02:30.086 ***🔗
REST request:
Code: 200
Req: {<0.88889.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d677aa37e341388a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzczQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 10 Apr 2024 12:02:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2311}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,method => <<"GET">>,role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-10 12:02:30.087 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1' id='push2b91a16b047d5102' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-10 12:02:30.087 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:02:30.087 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:02:30.087 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:02:30.087 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:02:30.087 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:02:30.087 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:02:30.088 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:02:30.088 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3373@localhost/res1 in
</stream:stream>
*** CT 2024-04-10 12:02:30.090 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4766.html



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