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

=== Config value:

    [{watchdog,<0.23781.2>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ce8571dc8546.2024-04-26_13.09.10/big_tests.tests.rest_client_SUITE.logs/run.2024-04-26_13.24.58/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.177923.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@ce8571dc8546.2024-04-26_13.09.10/big_tests.tests.rest_client_SUITE.logs/run.2024-04-26_13.24.58/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ce8571dc8546.2024-04-26_13.09.10"

=== Started at 2024-04-26 13:25:00


*** CT 2024-04-26 13:25:00.670 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4922.html

*** User 2024-04-26 13:25:00.710 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.710 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2aab81cfb7d673f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:25:00.710 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.711 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzQ1AG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 13:25:00.711 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:25:00.711 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.712 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c196b4d8aca2e0c' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost'>

*** User 2024-04-26 13:25:00.712 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.712 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<iq type='set' id='fd81b413c5d9cdb5796a46b8d2536c97'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:25:00.712 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq id='fd81b413c5d9cdb5796a46b8d2536c97' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:25:00.712 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<iq type='set' id='12018c2f546019bbe3a6f9a8e26b2768'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:25:00.712 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' id='12018c2f546019bbe3a6f9a8e26b2768' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:25:00.713 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<presence/>



*** User 2024-04-26 13:25:00.714 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1'/>



*** User 2024-04-26 13:25:00.714 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.714 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8982c65f314febb' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:25:00.715 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.715 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzM0NQBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 13:25:00.715 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:25:00.715 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.716 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a732fd75e902533' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost'>

*** User 2024-04-26 13:25:00.716 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.716 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<iq type='set' id='7b7986a9d8297186f3f55d8d3085b3f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:25:00.716 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq id='7b7986a9d8297186f3f55d8d3085b3f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:25:00.716 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<iq type='set' id='345d11c264289c0395db28711ec025a0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:25:00.717 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' id='345d11c264289c0395db28711ec025a0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:25:00.717 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<presence/>



*** User 2024-04-26 13:25:00.718 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1'/>



*** User 2024-04-26 13:25:00.719 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.719 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3dc1820688edf7ca' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:25:00.719 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.719 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNDUAbWFrcm93ZTtw</auth>



*** User 2024-04-26 13:25:00.720 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:25:00.720 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.720 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6bf149b35c3bc59' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost'>

*** User 2024-04-26 13:25:00.720 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.720 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<iq type='set' id='27a645eeea358e77bcfe91a2240da133'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:25:00.721 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq id='27a645eeea358e77bcfe91a2240da133' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:25:00.721 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<iq type='set' id='2ebe69f56ec4bc123416b468c6d61b9d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:25:00.721 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' id='2ebe69f56ec4bc123416b468c6d61b9d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:25:00.721 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<presence/>



*** User 2024-04-26 13:25:00.722 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1'/>



*** User 2024-04-26 13:25:00.723 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.723 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47ac261b724b601b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:25:00.723 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.723 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNDUAbmljbmllbWE=</auth>



*** User 2024-04-26 13:25:00.724 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:25:00.724 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.724 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e5fb8500f88d68b' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost'>

*** User 2024-04-26 13:25:00.724 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@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-26 13:25:00.724 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<iq type='set' id='6bafdfcb98cde7fdd30aa73cb2215159'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:25:00.724 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq id='6bafdfcb98cde7fdd30aa73cb2215159' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:25:00.724 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<iq type='set' id='faa325a250322f436513833206547965'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:25:00.725 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' id='faa325a250322f436513833206547965' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:25:00.725 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
<presence/>



*** User 2024-04-26 13:25:00.726 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1'/>



*** User 2024-04-26 13:25:00.738 ***🔗
REST request:
Code: 204
Req: {<0.23895.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2c613e48ab230d1d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzQ1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 13:25:00 GMT">>}],
         <<>>,80,6396}
Params: #{body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 13:25:00.738 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' id='pusheb3b8aa5df8e3396' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 13:25:00.750 ***🔗
REST request:
Code: 204
Req: {<0.23942.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8ee743b9f6c5eed2">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzQ1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 13:25:00 GMT">>}],
         <<>>,80,6553}
Params: #{body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 13:25:00.750 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' id='pushf997ffa9d92eec46' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 13:25:00.798 ***🔗
REST request:
Code: 200
Req: {<0.23972.2>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f3bcef3369854b27">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzQ1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 13:25:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost\"]}">>,
         209,10952}
Params: #{body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost\"]}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 13:25:00.806 ***🔗
REST request:
Code: 200
Req: {<0.24019.2>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8c2e83da9123c4fc">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzQ1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 13:25:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2117}
Params: #{body => <<>>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 13:25:00.807 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1' id='push5e6855b7cfc14b35' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-26 13:25:00.807 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
</stream:stream>

*** User 2024-04-26 13:25:00.807 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
</stream:stream>

*** User 2024-04-26 13:25:00.807 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
</stream:stream>

*** User 2024-04-26 13:25:00.808 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
</stream:stream>

*** User 2024-04-26 13:25:00.808 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
</stream:stream>

*** User 2024-04-26 13:25:00.808 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
</stream:stream>

*** User 2024-04-26 13:25:00.808 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 out
</stream:stream>

*** User 2024-04-26 13:25:00.808 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3345@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 13:25:00.814 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4922.html



=== Ended at 2024-04-26 13:25:00
=== successfully completed test case
=== === Returned value: ok