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

=== Config value:

    [{watchdog,<0.76985.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@9653e50c5872.2024-04-25_14.32.38/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_14.48.06/rest_client_suite.add_and_remove_some_contacts_properly.215682.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@9653e50c5872.2024-04-25_14.32.38/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_14.48.06/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@9653e50c5872.2024-04-25_14.32.38"

=== Started at 2024-04-25 14:48:08


*** CT 2024-04-25 14:48:08.127 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2656.html

*** User 2024-04-25 14:48:08.143 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.143 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e869631d0c9becc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:48:08.143 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.144 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMzEwMABtYXR5Z3J5c2E=</auth>



*** User 2024-04-25 14:48:08.144 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:48:08.144 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.145 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d012592ed61998ca' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_properly_3100@domain.example.com'>

*** User 2024-04-25 14:48:08.145 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.145 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<iq type='set' id='19db98a18237bc3621435a3aa5b9868d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:48:08.145 ***🔗
alicE_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq id='19db98a18237bc3621435a3aa5b9868d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:48:08.145 ***🔗
alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<iq type='set' id='8d876afee908b8f5ba769f876194ea76'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:08.146 ***🔗
alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' id='8d876afee908b8f5ba769f876194ea76' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:08.146 ***🔗
alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 14:48:08.147 ***🔗
alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' to='alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1'/>



*** User 2024-04-25 14:48:08.148 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.148 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2fc08eb9abf51ee' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:48:08.148 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.148 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3Byb3Blcmx5XzMxMDAAbWFrcm9saWth</auth>



*** User 2024-04-25 14:48:08.150 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:48:08.150 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.150 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5afd2af129d0ecd3' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_properly_3100@domain.example.com'>

*** User 2024-04-25 14:48:08.150 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.150 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<iq type='set' id='580bf755b4c375549c8c755fac6e0239'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:48:08.151 ***🔗
bOb_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq id='580bf755b4c375549c8c755fac6e0239' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:48:08.151 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<iq type='set' id='25db193b36e0b081c820df646b5ba750'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:08.152 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' id='25db193b36e0b081c820df646b5ba750' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:08.152 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 14:48:08.154 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' to='bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1'/>



*** User 2024-04-25 14:48:08.154 ***🔗
kate_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.155 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97bab88e31195932' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:48:08.155 ***🔗
kate_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.155 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8zMTAwAG1ha3Jvd2U7cA==</auth>



*** User 2024-04-25 14:48:08.164 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:48:08.164 ***🔗
kate_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.165 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29906e6f89bfebe4' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_properly_3100@domain.example.com'>

*** User 2024-04-25 14:48:08.165 ***🔗
kate_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.165 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<iq type='set' id='935b4948d49f4e91aa25a8277fb89120'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:48:08.165 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq id='935b4948d49f4e91aa25a8277fb89120' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:48:08.165 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<iq type='set' id='61fe395431e134369bec0a67521b4f39'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:08.166 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' id='61fe395431e134369bec0a67521b4f39' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:08.166 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 14:48:08.168 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' to='kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1'/>



*** User 2024-04-25 14:48:08.169 ***🔗
mike_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.169 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0bc9f2b73b64ef4e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:48:08.169 ***🔗
mike_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.169 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8zMTAwAG5pY25pZW1h</auth>



*** User 2024-04-25 14:48:08.170 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:48:08.170 ***🔗
mike_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.171 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6f665b5dfaea875d' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_properly_3100@domain.example.com'>

*** User 2024-04-25 14:48:08.171 ***🔗
mike_add_and_remove_some_contacts_properly_3100@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-04-25 14:48:08.171 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<iq type='set' id='e04bd5708b1be2b8c54996248339136a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:48:08.171 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq id='e04bd5708b1be2b8c54996248339136a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:48:08.171 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<iq type='set' id='c64535b15cd007cce5c79e5b6071a523'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:08.171 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' id='c64535b15cd007cce5c79e5b6071a523' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:48:08.172 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 14:48:08.174 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' to='mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1'/>



*** User 2024-04-25 14:48:08.184 ***🔗
REST request:
Code: 204
Req: {<0.77112.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1348694d8a491fce">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMzEwMEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_3100@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>}],
         <<>>,80,5755}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_3100@domain.example.com\"}">>,
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_3100@domain.example.com">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-25 14:48:08.184 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_3100@domain.example.com' to='bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' id='push80bcc6c5c259e693' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_properly_3100@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-25 14:48:08.194 ***🔗
REST request:
Code: 204
Req: {<0.77158.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c8d42407db3c8570">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMzEwMEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_3100@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>}],
         <<>>,80,4756}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_3100@domain.example.com\"}">>,
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_3100@domain.example.com">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-25 14:48:08.195 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_3100@domain.example.com' to='bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' id='pushee228dcec6330f0d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='kate_add_and_remove_some_contacts_properly_3100@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-25 14:48:08.204 ***🔗
REST request:
Code: 204
Req: {<0.77182.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"97549a7e2703d8f3">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMzEwMEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_3100@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>}],
         <<>>,80,5101}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_3100@domain.example.com\"}">>,
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_3100@domain.example.com">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-25 14:48:08.205 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_3100@domain.example.com' to='bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' id='push8e43bf72ba3c9f38' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='mike_add_and_remove_some_contacts_properly_3100@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-04-25 14:48:08.271 ***🔗
REST request:
Code: 200
Req: {<0.77217.0>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0b22854e69ffc6be">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMzEwMEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_3100@domain.example.com\",\"kate_add_and_remove_some_contacts_properly_3100@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"18">>}],
         <<"{\"not_deleted\":[]}">>,142,60005}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_3100@domain.example.com\",\"kate_add_and_remove_some_contacts_properly_3100@domain.example.com\"]}">>,
          role => client,method => <<"DELETE">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_3100@domain.example.com">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-25 14:48:08.279 ***🔗
REST request:
Code: 200
Req: {<0.77242.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9b891f941e13e9d2">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMzEwMEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"113">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"none\",\"jid\":\"mike_add_and_remove_some_contacts_properly_3100@domain.example.com\"}]">>,
         238,3578}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,role => client,method => <<"GET">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_3100@domain.example.com">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-25 14:48:08.279 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_3100@domain.example.com' to='bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1' id='push62c8eee7c3299a09' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_and_remove_some_contacts_properly_3100@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-25 14:48:08.280 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 14:48:08.280 ***🔗
mike_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-25 14:48:08.280 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 14:48:08.280 ***🔗
kate_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-25 14:48:08.280 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 14:48:08.280 ***🔗
bob_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-25 14:48:08.280 ***🔗
alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 14:48:08.281 ***🔗
alice_add_and_remove_some_contacts_properly_3100@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-25 14:48:08.283 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2656.html



=== Ended at 2024-04-25 14:48:08
=== successfully completed test case
=== === Returned value: ok