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

=== Config value:

    [{watchdog,<0.53821.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,disabled},
     {preset,"ldap_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@5bbc5a46dfe3.2024-01-15_11.59.33/big_tests.tests.rest_client_SUITE.logs/run.2024-01-15_12.11.27/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.107394.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@5bbc5a46dfe3.2024-01-15_11.59.33/big_tests.tests.rest_client_SUITE.logs/run.2024-01-15_12.11.27/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,
              ldap =>
                  #{filter => <<"(objectClass=inetOrgPerson)">>,
                    base => <<"ou=Users,dc=esl,dc=com">>,deref => never,
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
                    pool_tag => default,
                    uids => [{<<"uid">>,<<"%u">>}],
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    search_operator => 'and',binary_search_fields => []},
              iqdisc => parallel,backend => ldap},
        mod_roster =>
            #{iqdisc => one_queue,backend => mnesia,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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_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@5bbc5a46dfe3.2024-01-15_11.59.33"

=== Started at 2024-01-15 12:11:28


*** CT 2024-01-15 12:11:28.999 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4532.html

*** User 2024-01-15 12:11:29.022 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.023 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e44f931f5cedd7f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:11:29.023 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-01-15 12:11:29.023 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzMxAG1hdHlncnlzYQ==</auth>



*** User 2024-01-15 12:11:29.024 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-15 12:11:29.024 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.024 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0fd954314c9cea0b' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost'>

*** User 2024-01-15 12:11:29.025 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.025 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<iq type='set' id='c66096cf4497c071c84e36dac4009b21'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-15 12:11:29.025 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq id='c66096cf4497c071c84e36dac4009b21' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:11:29.025 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<iq type='set' id='be191f849e9a7273eb3e397a022e7a84'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:11:29.026 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' id='be191f849e9a7273eb3e397a022e7a84' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:11:29.026 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<presence/>



*** User 2024-01-15 12:11:29.027 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1'/>



*** User 2024-01-15 12:11:29.027 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.027 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fbcb3e5563b29f5a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:11:29.028 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-01-15 12:11:29.028 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTczMQBtYWtyb2xpa2E=</auth>



*** User 2024-01-15 12:11:29.029 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-15 12:11:29.029 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.029 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ee58aa02ad8566b' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost'>

*** User 2024-01-15 12:11:29.030 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.030 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<iq type='set' id='aa223bea4d79fb54405f3c6d62c3a9dd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-15 12:11:29.030 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq id='aa223bea4d79fb54405f3c6d62c3a9dd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:11:29.030 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<iq type='set' id='7fde25f7dcb4ce7d2b539b6db3b4978d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:11:29.030 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' id='7fde25f7dcb4ce7d2b539b6db3b4978d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:11:29.031 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<presence/>



*** User 2024-01-15 12:11:29.031 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1'/>



*** User 2024-01-15 12:11:29.032 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.032 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='be7dd423b3d5ac87' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:11:29.032 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-01-15 12:11:29.032 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE3MzEAbWFrcm93ZTtw</auth>



*** User 2024-01-15 12:11:29.034 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-15 12:11:29.034 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.034 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f18260ff7fc98f1' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost'>

*** User 2024-01-15 12:11:29.034 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.034 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<iq type='set' id='4f7268fb169bcae994e8e95c15da36a2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-15 12:11:29.035 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq id='4f7268fb169bcae994e8e95c15da36a2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:11:29.035 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<iq type='set' id='7f9b0a160cecd37383b9d83dec2daa10'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:11:29.036 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' id='7f9b0a160cecd37383b9d83dec2daa10' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:11:29.036 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<presence/>



*** User 2024-01-15 12:11:29.036 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1'/>



*** User 2024-01-15 12:11:29.057 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.058 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c7fe17b2f13832bf' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:11:29.058 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-01-15 12:11:29.058 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE3MzEAbmljbmllbWE=</auth>



*** User 2024-01-15 12:11:29.059 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-15 12:11:29.059 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.060 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3a3d4a4bef8b89a' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost'>

*** User 2024-01-15 12:11:29.060 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@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-01-15 12:11:29.060 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<iq type='set' id='9a0c1e2de2a2924a9c4762991da0e96a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-15 12:11:29.061 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq id='9a0c1e2de2a2924a9c4762991da0e96a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:11:29.061 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<iq type='set' id='8f1f8f79fb33b56f0acf2e5b989575ab'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:11:29.061 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' id='8f1f8f79fb33b56f0acf2e5b989575ab' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:11:29.061 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
<presence/>



*** User 2024-01-15 12:11:29.062 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1'/>



*** User 2024-01-15 12:11:29.072 ***🔗
REST request:
Code: 204
Req: {<0.53984.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9f53cddd1f979737">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzMxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:11:28 GMT">>}],
         <<>>,80,3580}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost\"}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-01-15 12:11:29.072 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' id='push3d5afe8a401eb61f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost'/>
	</query>
</iq>



*** User 2024-01-15 12:11:29.080 ***🔗
REST request:
Code: 204
Req: {<0.54010.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c68da818c80af0a9">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzMxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:11:28 GMT">>}],
         <<>>,80,3129}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost\"}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-01-15 12:11:29.080 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' id='push31f189a5dfc747b1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost'/>
	</query>
</iq>



*** User 2024-01-15 12:11:29.088 ***🔗
REST request:
Code: 200
Req: {<0.54035.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"28f939f633d13fd8">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzMxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:11:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost\"]}">>,
         209,3067}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"DELETE">>,
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost\"]}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-01-15 12:11:29.096 ***🔗
REST request:
Code: 200
Req: {<0.54063.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c2e6d506db1bd658">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzMxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:11:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2023}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-01-15 12:11:29.097 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1' id='push27a464f8c92a271e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost'/>
	</query>
</iq>



*** User 2024-01-15 12:11:29.097 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:11:29.098 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
</stream:stream>

*** User 2024-01-15 12:11:29.098 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:11:29.098 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
</stream:stream>

*** User 2024-01-15 12:11:29.098 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:11:29.098 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
</stream:stream>

*** User 2024-01-15 12:11:29.098 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:11:29.099 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1731@localhost/res1 in
</stream:stream>
*** CT 2024-01-15 12:11:29.101 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4532.html



=== Ended at 2024-01-15 12:11:29
=== successfully completed test case
=== === Returned value: ok