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

=== Config value:

    [{watchdog,<0.26469.1>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,disabled},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.rest_client_SUITE.logs/run.2022-06-22_09.29.09/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.77059.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.rest_client_SUITE.logs/run.2022-06-22_09.29.09/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_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        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 => mnesia,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 => mnesia,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:29:11


*** CT 2022-06-22 09:29:11.024 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4953.html
*** CT 2022-06-22 09:29:11.024 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_2022.html

*** User 2022-06-22 09:29:11.031 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:29:11.031 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d330b49cbbc0dc0d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:29:11.031 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:29:11.031 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjk5AG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 09:29:11.032 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:29:11.032 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:29:11.032 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='21de271fa85a63d0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:29:11.032 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:29:11.032 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<iq type='set' id='e9a1cda67b4ed2508721024152a972db'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:29:11.033 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq id='e9a1cda67b4ed2508721024152a972db' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:29:11.033 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<iq type='set' id='66e2b0cedd6f5abf9b48799f477c7c90'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:29:11.033 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq type='result' id='66e2b0cedd6f5abf9b48799f477c7c90'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:29:11.033 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<presence/>



*** User 2022-06-22 09:29:11.034 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:29:11.034 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:29:11.035 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='706f98a91e27f392' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:29:11.035 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:29:11.035 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTY5OQBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 09:29:11.035 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:29:11.036 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:29:11.036 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f44b1e409c8a3c1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:29:11.036 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:29:11.036 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<iq type='set' id='f91fb42a7a2521995b465a493d8802ac'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:29:11.037 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq id='f91fb42a7a2521995b465a493d8802ac' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:29:11.037 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<iq type='set' id='afe1755a1c50b4cd18af0e880f06a72e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:29:11.037 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq type='result' id='afe1755a1c50b4cd18af0e880f06a72e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:29:11.037 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<presence/>



*** User 2022-06-22 09:29:11.038 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:29:11.038 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:29:11.044 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='499a5800737de6bb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:29:11.044 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:29:11.044 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE2OTkAbWFrcm93ZTtw</auth>



*** User 2022-06-22 09:29:11.044 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:29:11.044 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:29:11.045 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8be39f5215ab76d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:29:11.045 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:29:11.045 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<iq type='set' id='b8182523a5a348d5e78a96c979f32bfa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:29:11.045 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq id='b8182523a5a348d5e78a96c979f32bfa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:29:11.046 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<iq type='set' id='552b4b9ee9b02fc0576c6d96b8c11bae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:29:11.046 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq type='result' id='552b4b9ee9b02fc0576c6d96b8c11bae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:29:11.046 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<presence/>



*** User 2022-06-22 09:29:11.047 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:29:11.048 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:29:11.048 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b294fb0bf547f76' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:29:11.048 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:29:11.048 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE2OTkAbmljbmllbWE=</auth>



*** User 2022-06-22 09:29:11.048 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:29:11.048 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:29:11.049 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='237e044635898ca7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:29:11.049 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:29:11.049 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<iq type='set' id='5626d5a2619539ed89d0bd27b18feec6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:29:11.051 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq id='5626d5a2619539ed89d0bd27b18feec6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:29:11.051 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<iq type='set' id='cce8f215380c3926c45eb161784885c9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:29:11.051 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq type='result' id='cce8f215380c3926c45eb161784885c9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:29:11.051 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
<presence/>



*** User 2022-06-22 09:29:11.052 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:29:11.062 ***🔗
REST request:
Code: 204
Req: {<0.26598.1>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0118ba6f2c7c647b">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjk5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:29:10 GMT">>}],
         <<>>,80,1742}
Params: #{body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:29:11.062 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' id='pushebd67808605dc726' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:11.071 ***🔗
REST request:
Code: 204
Req: {<0.26623.1>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e24ca12d727f77a8">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjk5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:29:10 GMT">>}],
         <<>>,80,1111}
Params: #{body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:29:11.071 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' id='pushb173679335d79c8b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:11.081 ***🔗
REST request:
Code: 200
Req: {<0.26653.1>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"176cb5c2707c4bdd">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjk5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:29:11 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost\"]}">>,
         209,1244}
Params: #{body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost\"]}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:29:11.092 ***🔗
REST request:
Code: 200
Req: {<0.26680.1>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ab58e97ec7af11c0">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjk5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:29:11 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,626}
Params: #{body => <<>>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-06-22 09:29:11.092 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1' id='push173c75d7574e505f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost'/>
	</query>
</iq>



*** User 2022-06-22 09:29:11.092 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:29:11.092 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:29:11.092 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:29:11.092 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:29:11.093 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:29:11.093 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:29:11.093 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:29:11.093 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1699@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:29:11.096 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_2022.html
*** CT 2022-06-22 09:29:11.096 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4953.html



=== Ended at 2022-06-22 09:29:11
=== successfully completed test case
=== === Returned value: ok