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

=== Config value:

    [{watchdog,<0.75504.0>},
     {muc_light_host,<<"muclight.domain.example.com">>},
     {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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.rest_client_SUITE.logs/run.2024-02-23_17.45.42/rest_client_suite.add_and_remove_some_contacts_properly.153603.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.rest_client_SUITE.logs/run.2024-02-23_17.45.42/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        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_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,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@5f60ef475eab.2024-02-23_17.31.31"

=== Started at 2024-02-23 17:45:44


*** CT 2024-02-23 17:45:44.892 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2667.html

*** User 2024-02-23 17:45:44.925 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:44.926 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='588609ccb4e31217' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:44.926 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/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-23 17:45:44.926 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjg5NwBtYXR5Z3J5c2E=</auth>



*** User 2024-02-23 17:45:44.927 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:44.927 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:44.927 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f5d46e8b2d65433c' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_properly_2897@domain.example.com'>

*** User 2024-02-23 17:45:44.927 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/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-23 17:45:44.927 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<iq type='set' id='5756fc848021577c9ddb72130e5611d9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:44.928 ***🔗
alicE_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq id='5756fc848021577c9ddb72130e5611d9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:44.928 ***🔗
alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<iq type='set' id='ef4726a9916d92a72d4b1b3113956efc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:44.928 ***🔗
alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' id='ef4726a9916d92a72d4b1b3113956efc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:44.928 ***🔗
alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:44.930 ***🔗
alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' to='alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1'/>



*** User 2024-02-23 17:45:44.931 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:44.931 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='07ef59f0dd882090' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:44.931 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/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-23 17:45:44.931 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3Byb3Blcmx5XzI4OTcAbWFrcm9saWth</auth>



*** User 2024-02-23 17:45:44.932 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:44.932 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:44.933 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7428519bf0ce8fac' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_properly_2897@domain.example.com'>

*** User 2024-02-23 17:45:44.933 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/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-23 17:45:44.933 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<iq type='set' id='30cf34217971bedb764b4033e6465164'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:44.933 ***🔗
bOb_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq id='30cf34217971bedb764b4033e6465164' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:44.933 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<iq type='set' id='9f5f2601ed58609fb1eac2ba6f171cef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:44.934 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' id='9f5f2601ed58609fb1eac2ba6f171cef' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:44.934 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:44.936 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' to='bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1'/>



*** User 2024-02-23 17:45:44.937 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:44.937 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='32b090fc8b513d1d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:44.937 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/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-23 17:45:44.937 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8yODk3AG1ha3Jvd2U7cA==</auth>



*** User 2024-02-23 17:45:44.938 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:44.938 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:44.939 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4298d8eedb97e5c' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_properly_2897@domain.example.com'>

*** User 2024-02-23 17:45:44.939 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/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-23 17:45:44.939 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<iq type='set' id='bec8a94213e0bd51f6730e0a63a61271'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:44.939 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq id='bec8a94213e0bd51f6730e0a63a61271' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:44.939 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<iq type='set' id='1d45017f286346fd600ea0085dc19948'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:44.940 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' id='1d45017f286346fd600ea0085dc19948' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:44.940 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:44.974 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' to='kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1'/>



*** User 2024-02-23 17:45:44.974 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:44.974 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbd1fe2ea5bda297' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:44.974 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/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-23 17:45:44.975 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8yODk3AG5pY25pZW1h</auth>



*** User 2024-02-23 17:45:44.976 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:44.976 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:44.976 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='682b08fefc28e7a6' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_properly_2897@domain.example.com'>

*** User 2024-02-23 17:45:44.976 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/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-23 17:45:44.976 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<iq type='set' id='a6b92fa1fca35a3c5c6247df80506763'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:44.976 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq id='a6b92fa1fca35a3c5c6247df80506763' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:44.976 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<iq type='set' id='fa31ef13402224569b018b9e1f16a239'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:44.977 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' id='fa31ef13402224569b018b9e1f16a239' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:44.977 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:44.979 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' to='mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1'/>



*** User 2024-02-23 17:45:44.992 ***🔗
REST request:
Code: 204
Req: {<0.75655.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3420020677ce3f04">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjg5N0Bkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_2897@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>}],
         <<>>,80,8497}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2897@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_2897@domain.example.com\"}">>,
          return_headers => true}


*** User 2024-02-23 17:45:44.992 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_2897@domain.example.com' to='bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' id='push581ee0836ad577dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_properly_2897@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:45.004 ***🔗
REST request:
Code: 204
Req: {<0.75692.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d528892167819fe9">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjg5N0Bkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_2897@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>}],
         <<>>,80,6459}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2897@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_2897@domain.example.com\"}">>,
          return_headers => true}


*** User 2024-02-23 17:45:45.005 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_2897@domain.example.com' to='bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' id='pushb32683255f9a1c6a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_properly_2897@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:45.016 ***🔗
REST request:
Code: 204
Req: {<0.75733.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2233a494c2d5c5e6">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjg5N0Bkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_2897@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>}],
         <<>>,80,6268}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2897@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_2897@domain.example.com\"}">>,
          return_headers => true}


*** User 2024-02-23 17:45:45.016 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_2897@domain.example.com' to='bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' id='push0d159410b973f3a0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='mike_add_and_remove_some_contacts_properly_2897@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:45.093 ***🔗
REST request:
Code: 200
Req: {<0.75748.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5f82cd3510a145fc">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjg5N0Bkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_2897@domain.example.com\",\"kate_add_and_remove_some_contacts_properly_2897@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"18">>}],
         <<"{\"not_deleted\":[]}">>,142,18243}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2897@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"DELETE">>,
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_2897@domain.example.com\",\"kate_add_and_remove_some_contacts_properly_2897@domain.example.com\"]}">>,
          return_headers => true}


*** User 2024-02-23 17:45:45.104 ***🔗
REST request:
Code: 200
Req: {<0.75776.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e6c2adaf146e6073">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjg5N0Bkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"113">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"none\",\"jid\":\"mike_add_and_remove_some_contacts_properly_2897@domain.example.com\"}]">>,
         238,3911}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2897@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:45.104 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_2897@domain.example.com' to='bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1' id='push32a19b970d7fdeca' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_properly_2897@domain.example.com'/>
	</query>
</iq>



*** User 2024-02-23 17:45:45.104 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:45.104 ***🔗
mike_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-23 17:45:45.104 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:45.104 ***🔗
kate_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-23 17:45:45.105 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:45.105 ***🔗
bob_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-23 17:45:45.105 ***🔗
alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:45.105 ***🔗
alice_add_and_remove_some_contacts_properly_2897@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-23 17:45:45.107 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2667.html



=== Ended at 2024-02-23 17:45:45
=== successfully completed test case
=== === Returned value: ok