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

=== Config value:

    [{watchdog,<0.90326.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@3137d4b2a3a4.2024-04-22_17.28.36/big_tests.tests.rest_client_SUITE.logs/run.2024-04-22_17.45.56/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.124548.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@3137d4b2a3a4.2024-04-22_17.28.36/big_tests.tests.rest_client_SUITE.logs/run.2024-04-22_17.45.56/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,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 =>
            #{server_info => [],iqdisc => one_queue,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_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@3137d4b2a3a4.2024-04-22_17.28.36"

=== Started at 2024-04-22 17:45:58


*** CT 2024-04-22 17:45:58.225 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5507.html

*** User 2024-04-22 17:45:58.239 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.239 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b34b7c61baa74f4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:45:58.239 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.239 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDQwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-22 17:45:58.240 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:45:58.240 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.241 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af55a12191404a26' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost'>

*** User 2024-04-22 17:45:58.241 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.241 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<iq type='set' id='30bbd7a7cd369a2499f4fce45afda82d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:45:58.241 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq id='30bbd7a7cd369a2499f4fce45afda82d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:45:58.241 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<iq type='set' id='d5a00357d764bee62b6a031c58b5dbb8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:45:58.242 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' id='d5a00357d764bee62b6a031c58b5dbb8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:45:58.242 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<presence/>



*** User 2024-04-22 17:45:58.243 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1'/>



*** User 2024-04-22 17:45:58.244 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.244 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='179cccd9636efeee' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:45:58.244 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.244 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzQ0MABtYWtyb2xpa2E=</auth>



*** User 2024-04-22 17:45:58.246 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:45:58.246 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.247 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3916e2cb2850f81c' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost'>

*** User 2024-04-22 17:45:58.247 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.247 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<iq type='set' id='900d305a249b8ddc662513007538e85e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:45:58.247 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq id='900d305a249b8ddc662513007538e85e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:45:58.248 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<iq type='set' id='e5c6627535a4c1ef17ae06f64edeb06b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:45:58.248 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' id='e5c6627535a4c1ef17ae06f64edeb06b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:45:58.249 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<presence/>



*** User 2024-04-22 17:45:58.250 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1'/>



*** User 2024-04-22 17:45:58.250 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.251 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cd075d8d528760da' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:45:58.251 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.251 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0NDAAbWFrcm93ZTtw</auth>



*** User 2024-04-22 17:45:58.252 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:45:58.252 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.252 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1d3a80dc1c51344' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost'>

*** User 2024-04-22 17:45:58.252 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.252 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<iq type='set' id='c73b0d30a20117567642ba8e13d959c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:45:58.253 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq id='c73b0d30a20117567642ba8e13d959c9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:45:58.253 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<iq type='set' id='a1ef083ab3273248c5f88b862ad92b47'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:45:58.253 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' id='a1ef083ab3273248c5f88b862ad92b47' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:45:58.253 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<presence/>



*** User 2024-04-22 17:45:58.256 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1'/>



*** User 2024-04-22 17:45:58.257 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.257 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95e63983dd640a27' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:45:58.257 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.258 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0NDAAbmljbmllbWE=</auth>



*** User 2024-04-22 17:45:58.258 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:45:58.258 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.259 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='626b692028688575' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost'>

*** User 2024-04-22 17:45:58.259 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@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-22 17:45:58.259 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<iq type='set' id='b3af2ee4441e52dfd0ab9c7a6a548f24'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:45:58.259 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq id='b3af2ee4441e52dfd0ab9c7a6a548f24' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:45:58.259 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<iq type='set' id='9b1dc984f1a523c8e7e6ec6fabb4301c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:45:58.260 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' id='9b1dc984f1a523c8e7e6ec6fabb4301c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:45:58.260 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
<presence/>



*** User 2024-04-22 17:45:58.262 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1'/>



*** User 2024-04-22 17:45:58.275 ***🔗
REST request:
Code: 204
Req: {<0.90461.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6b1dc06b466cf128">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDQwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 17:45:57 GMT">>}],
         <<>>,80,6190}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost\"}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-22 17:45:58.275 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' id='push83bfa47fcacb683c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-22 17:45:58.285 ***🔗
REST request:
Code: 204
Req: {<0.90507.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"96b417ffe5e8e7c5">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDQwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 17:45:57 GMT">>}],
         <<>>,80,3661}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost\"}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-22 17:45:58.285 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' id='push4cbaf5b999f846f4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-22 17:45:58.345 ***🔗
REST request:
Code: 200
Req: {<0.90544.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"eba1f4e74427d623">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDQwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 17:45:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost\"]}">>,
         209,54820}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"DELETE">>,
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost\"]}">>,
          role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-22 17:45:58.355 ***🔗
REST request:
Code: 200
Req: {<0.90568.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"499d539f9ee4aa17">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDQwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 17:45:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,3683}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => client,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-22 17:45:58.355 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1' id='push0a4848b97986ec96' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-22 17:45:58.356 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:45:58.356 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:45:58.356 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:45:58.356 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:45:58.357 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:45:58.357 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:45:58.358 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:45:58.358 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3440@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 17:45:58.366 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5507.html



=== Ended at 2024-04-22 17:45:58
=== successfully completed test case
=== === Returned value: ok