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

=== Config value:

    [{watchdog,<0.89262.0>},
     {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@97931f009ece.2024-04-23_10.53.14/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_11.09.46/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.239362.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@97931f009ece.2024-04-23_10.53.14/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_11.09.46/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_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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_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@97931f009ece.2024-04-23_10.53.14"

=== Started at 2024-04-23 11:09:48


*** CT 2024-04-23 11:09:48.373 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4897.html

*** User 2024-04-23 11:09:48.410 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.410 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='328d902878e65371' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:48.411 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.411 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzY0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 11:09:48.412 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:48.412 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.412 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17b4fd0d3f650a95' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost'>

*** User 2024-04-23 11:09:48.412 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.413 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<iq type='set' id='4287b06b075f0c5b4c772de9a5528aad'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:48.413 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq id='4287b06b075f0c5b4c772de9a5528aad' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:48.413 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<iq type='set' id='4696fe30e19938fdb5e7e9feb18a1bf9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:48.414 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' id='4696fe30e19938fdb5e7e9feb18a1bf9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:48.414 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:48.415 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1'/>



*** User 2024-04-23 11:09:48.416 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.417 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ec0a922687f89b7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:48.417 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.417 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzM2NABtYWtyb2xpa2E=</auth>



*** User 2024-04-23 11:09:48.425 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:48.425 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.426 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a531113ed4c56d95' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost'>

*** User 2024-04-23 11:09:48.426 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.426 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<iq type='set' id='9d5022ae3873460630514c241fdb7a7b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:48.427 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq id='9d5022ae3873460630514c241fdb7a7b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:48.427 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<iq type='set' id='aa4406ca460f0449f0873c40b0f36839'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:48.427 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' id='aa4406ca460f0449f0873c40b0f36839' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:48.427 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:48.431 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1'/>



*** User 2024-04-23 11:09:48.431 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.432 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc044653ae954b35' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:48.432 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.432 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNjQAbWFrcm93ZTtw</auth>



*** User 2024-04-23 11:09:48.438 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:48.438 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.439 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4455f7311933c13d' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost'>

*** User 2024-04-23 11:09:48.439 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.439 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<iq type='set' id='eca58c50b4de9d658e0a4b87421151ac'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:48.439 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq id='eca58c50b4de9d658e0a4b87421151ac' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:48.439 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<iq type='set' id='c1952255a67fb9ad60d739aede968ae7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:48.440 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' id='c1952255a67fb9ad60d739aede968ae7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:48.440 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:48.442 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1'/>



*** User 2024-04-23 11:09:48.442 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.443 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d963e969661b77c7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:48.443 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.444 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNjQAbmljbmllbWE=</auth>



*** User 2024-04-23 11:09:48.445 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:48.445 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.445 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51b73b34cc815f11' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost'>

*** User 2024-04-23 11:09:48.445 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@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-23 11:09:48.445 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<iq type='set' id='46e226a145ebf6f8b23ad49880360672'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:48.446 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq id='46e226a145ebf6f8b23ad49880360672' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:48.446 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<iq type='set' id='2e99135dee83499f70dbcc9ca83e25cd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:48.446 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' id='2e99135dee83499f70dbcc9ca83e25cd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:48.446 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:48.449 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1'/>



*** User 2024-04-23 11:09:48.468 ***🔗
REST request:
Code: 204
Req: {<0.89453.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"edc7dccfd13dfd0d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzY0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:48 GMT">>}],
         <<>>,80,12767}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,role => client,
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost\"}">>,
          return_headers => true}


*** User 2024-04-23 11:09:48.469 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' id='pushd65e2fdf476416bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:09:48.479 ***🔗
REST request:
Code: 204
Req: {<0.89485.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c54211edbcc09589">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzY0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:48 GMT">>}],
         <<>>,80,4138}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,role => client,
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost\"}">>,
          return_headers => true}


*** User 2024-04-23 11:09:48.479 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' id='push7f359bca2c72d9f6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:09:48.539 ***🔗
REST request:
Code: 200
Req: {<0.89513.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"91ac47fcb8bbe3d5">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzY0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost\"]}">>,
         209,54320}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,role => client,
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost\"]}">>,
          return_headers => true}


*** User 2024-04-23 11:09:48.547 ***🔗
REST request:
Code: 200
Req: {<0.89528.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5209fe0b74016cab">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzY0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 11:09:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2744}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,role => client,body => <<>>,
          return_headers => true}


*** User 2024-04-23 11:09:48.547 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1' id='pushb4cabbb17ec632c2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-23 11:09:48.547 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:48.547 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:09:48.548 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:48.548 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:09:48.548 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:48.548 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:09:48.548 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:48.548 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3364@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:09:48.556 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4897.html



=== Ended at 2024-04-23 11:09:48
=== successfully completed test case
=== === Returned value: ok