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

=== Config value:

    [{watchdog,<0.87325.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@c4570d256f6e.2024-02-22_11.16.10/big_tests.tests.rest_client_SUITE.logs/run.2024-02-22_11.34.02/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.161795.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@c4570d256f6e.2024-02-22_11.16.10/big_tests.tests.rest_client_SUITE.logs/run.2024-02-22_11.34.02/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_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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_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@c4570d256f6e.2024-02-22_11.16.10"

=== Started at 2024-02-22 11:34:04


*** CT 2024-02-22 11:34:04.548 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4739.html

*** User 2024-02-22 11:34:04.563 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.564 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2250e70597fd693f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:34:04.564 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.564 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjY2AG1hdHlncnlzYQ==</auth>



*** User 2024-02-22 11:34:04.565 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:34:04.565 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.565 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ffbb0c2e5da01aa1' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost'>

*** User 2024-02-22 11:34:04.565 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.565 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<iq type='set' id='54969035ffcd23d1ed4733b4c0a0cc9d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 11:34:04.565 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq id='54969035ffcd23d1ed4733b4c0a0cc9d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 11:34:04.565 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<iq type='set' id='c11f5bfa727b2bdfd8f69f94476edc1b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:34:04.566 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' id='c11f5bfa727b2bdfd8f69f94476edc1b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:34:04.566 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<presence/>



*** User 2024-02-22 11:34:04.567 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1'/>



*** User 2024-02-22 11:34:04.568 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.568 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='829f85906deb780a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:34:04.568 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.568 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzI2NgBtYWtyb2xpa2E=</auth>



*** User 2024-02-22 11:34:04.569 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:34:04.569 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.569 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d17111475ca9e71a' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost'>

*** User 2024-02-22 11:34:04.570 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.570 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<iq type='set' id='d90d316a32c5d67f0e00332e3468e454'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 11:34:04.570 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq id='d90d316a32c5d67f0e00332e3468e454' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 11:34:04.570 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<iq type='set' id='d54dff4af59a5a54fc763933e98fca38'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:34:04.570 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' id='d54dff4af59a5a54fc763933e98fca38' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:34:04.570 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<presence/>



*** User 2024-02-22 11:34:04.572 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1'/>



*** User 2024-02-22 11:34:04.573 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.573 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd975d99480316ac' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:34:04.573 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.573 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyNjYAbWFrcm93ZTtw</auth>



*** User 2024-02-22 11:34:04.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:34:04.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92be2b4eb2fbb9d8' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost'>

*** User 2024-02-22 11:34:04.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<iq type='set' id='2b1d5bd0f9b473a9ae56a106b0c9c94f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 11:34:04.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq id='2b1d5bd0f9b473a9ae56a106b0c9c94f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 11:34:04.575 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<iq type='set' id='11a0506498b1a6c45bb91becfcddbdfa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:34:04.575 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' id='11a0506498b1a6c45bb91becfcddbdfa' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:34:04.575 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<presence/>



*** User 2024-02-22 11:34:04.577 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1'/>



*** User 2024-02-22 11:34:04.577 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.578 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b8e21889d6e34e4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:34:04.578 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.578 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyNjYAbmljbmllbWE=</auth>



*** User 2024-02-22 11:34:04.579 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:34:04.579 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.579 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f93324dbe115b73d' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost'>

*** User 2024-02-22 11:34:04.579 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@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-02-22 11:34:04.579 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<iq type='set' id='d1a63662afcd0bc87ca583ece17eb600'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 11:34:04.581 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq id='d1a63662afcd0bc87ca583ece17eb600' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 11:34:04.581 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<iq type='set' id='cedc62598536e21e8127cd5c6440f299'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:34:04.581 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' id='cedc62598536e21e8127cd5c6440f299' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:34:04.581 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
<presence/>



*** User 2024-02-22 11:34:04.583 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1'/>



*** User 2024-02-22 11:34:04.592 ***🔗
REST request:
Code: 204
Req: {<0.87431.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ae7b10b47b258c2e">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjY2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 11:34:04 GMT">>}],
         <<>>,80,4251}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost">>,
               <<"makrolika">>},
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost\"}">>,
          role => client,return_headers => true}


*** User 2024-02-22 11:34:04.592 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' id='pushc51b5ff17e403509' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost'/>
	</query>
</iq>



*** User 2024-02-22 11:34:04.645 ***🔗
REST request:
Code: 204
Req: {<0.87467.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"271b576993ce7e9e">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjY2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 11:34:04 GMT">>}],
         <<>>,80,4392}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost">>,
               <<"makrolika">>},
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost\"}">>,
          role => client,return_headers => true}


*** User 2024-02-22 11:34:04.645 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' id='pushf8e06a2233a4b1e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost'/>
	</query>
</iq>



*** User 2024-02-22 11:34:04.657 ***🔗
REST request:
Code: 200
Req: {<0.87492.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e5730c4c00fa4683">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjY2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 11:34:04 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost\"]}">>,
         209,7052}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"DELETE">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost">>,
               <<"makrolika">>},
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost\"]}">>,
          role => client,return_headers => true}


*** User 2024-02-22 11:34:04.664 ***🔗
REST request:
Code: 200
Req: {<0.87537.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"89c6bd57384279b7">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjY2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 11:34:04 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,3069}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost">>,
               <<"makrolika">>},
          body => <<>>,role => client,return_headers => true}


*** User 2024-02-22 11:34:04.664 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1' id='push22d5f4c90f06a71b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost'/>
	</query>
</iq>



*** User 2024-02-22 11:34:04.664 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
</stream:stream>

*** User 2024-02-22 11:34:04.665 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
</stream:stream>

*** User 2024-02-22 11:34:04.665 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
</stream:stream>

*** User 2024-02-22 11:34:04.665 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
</stream:stream>

*** User 2024-02-22 11:34:04.665 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
</stream:stream>

*** User 2024-02-22 11:34:04.665 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
</stream:stream>

*** User 2024-02-22 11:34:04.665 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 out
</stream:stream>

*** User 2024-02-22 11:34:04.666 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3266@localhost/res1 in
</stream:stream>
*** CT 2024-02-22 11:34:04.668 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4739.html



=== Ended at 2024-02-22 11:34:04
=== successfully completed test case
=== === Returned value: ok