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

=== Config value:

    [{watchdog,<0.23748.2>},
     {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@08f2d0642cae.2024-04-26_12.38.35/big_tests.tests.rest_client_SUITE.logs/run.2024-04-26_12.54.10/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.275714.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@08f2d0642cae.2024-04-26_12.38.35/big_tests.tests.rest_client_SUITE.logs/run.2024-04-26_12.54.10/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@08f2d0642cae.2024-04-26_12.38.35"

=== Started at 2024-04-26 12:54:12


*** CT 2024-04-26 12:54:12.299 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4931.html

*** User 2024-04-26 12:54:12.310 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.311 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4361d41ff62bb07d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:12.311 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.311 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU2AG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:54:12.312 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:12.312 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.312 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ead67da07752200b' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost'>

*** User 2024-04-26 12:54:12.312 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.312 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<iq type='set' id='dc13e974301bf9f0d1c0da03893d7534'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:12.313 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq id='dc13e974301bf9f0d1c0da03893d7534' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:12.313 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<iq type='set' id='730a50c3351baed4749c1bfd08afb90e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:12.313 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' id='730a50c3351baed4749c1bfd08afb90e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:12.313 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:12.314 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1'/>



*** User 2024-04-26 12:54:12.315 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.316 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ede039cc4df5749b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:12.316 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.316 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzM1NgBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:54:12.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:12.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06ef85f6adaeb287' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost'>

*** User 2024-04-26 12:54:12.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<iq type='set' id='cda1df74c76ebb89b41a60107b292f2a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:12.317 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq id='cda1df74c76ebb89b41a60107b292f2a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:12.318 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<iq type='set' id='49ea0bab55d5b45a2ecaa8b4a8f588e3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:12.318 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' id='49ea0bab55d5b45a2ecaa8b4a8f588e3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:12.318 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:12.320 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1'/>



*** User 2024-04-26 12:54:12.320 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.321 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='57b6a3579863d4a9' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:12.321 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.321 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNTYAbWFrcm93ZTtw</auth>



*** User 2024-04-26 12:54:12.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:12.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb6c0e2bc3f11e75' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost'>

*** User 2024-04-26 12:54:12.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<iq type='set' id='164e8ae1cfee6dcfba5698c32538230d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:12.322 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq id='164e8ae1cfee6dcfba5698c32538230d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:12.323 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<iq type='set' id='00ff38ea8cf5b1ee3e199d2208e11725'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:12.323 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' id='00ff38ea8cf5b1ee3e199d2208e11725' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:12.323 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:12.326 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1'/>



*** User 2024-04-26 12:54:12.327 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.327 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6efbe9e4ed246c34' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:12.328 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.328 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNTYAbmljbmllbWE=</auth>



*** User 2024-04-26 12:54:12.328 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:12.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e9f5200a8ee7bd50' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost'>

*** User 2024-04-26 12:54:12.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@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-26 12:54:12.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<iq type='set' id='81232feab994a4fae3d636a3998238a9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:12.329 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq id='81232feab994a4fae3d636a3998238a9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:12.330 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<iq type='set' id='0c4284f13a1820ddf7cfb09e6c5ce64b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:12.330 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' id='0c4284f13a1820ddf7cfb09e6c5ce64b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:12.330 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:12.331 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1'/>



*** User 2024-04-26 12:54:12.366 ***🔗
REST request:
Code: 204
Req: {<0.23879.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f0192b3c71bfc1f2">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:54:11 GMT">>}],
         <<>>,80,28893}
Params: #{body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:54:12.366 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' id='push239b9fd2a6239e7c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 12:54:12.376 ***🔗
REST request:
Code: 204
Req: {<0.23921.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3ff808ccb9870856">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:54:11 GMT">>}],
         <<>>,80,3630}
Params: #{body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:54:12.376 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' id='pushe624442cc20c8adb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-26 12:54:12.385 ***🔗
REST request:
Code: 200
Req: {<0.23953.2>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"328a8003851cafc8">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:54:11 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost\"]}">>,
         209,3890}
Params: #{body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost\"]}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:54:12.394 ***🔗
REST request:
Code: 200
Req: {<0.23993.2>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"977ed67698d62ba3">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 26 Apr 2024 12:54:11 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,4678}
Params: #{body => <<>>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-26 12:54:12.395 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1' id='pushd0eb400362d78160' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-26 12:54:12.395 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:12.395 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:54:12.395 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:12.395 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:54:12.395 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:12.396 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:54:12.396 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:12.396 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3356@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:54:12.399 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4931.html



=== Ended at 2024-04-26 12:54:12
=== successfully completed test case
=== === Returned value: ok