=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.77330.0>},
{muc_light_host,<<"muclight.domain.example.com">>},
{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@983bb6b138f0.2024-04-26_13.09.46/big_tests.tests.rest_client_SUITE.logs/run.2024-04-26_13.22.42/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.151299.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@983bb6b138f0.2024-04-26_13.09.46/big_tests.tests.rest_client_SUITE.logs/run.2024-04-26_13.22.42/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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],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@983bb6b138f0.2024-04-26_13.09.46"
=== Started at 2024-04-26 13:22:44
*** User 2024-04-26 13:22:44.430 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.430 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='631ed49294cd897b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:22:44.431 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.431 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTYzAG1hdHlncnlzYQ==</auth>
*** User 2024-04-26 13:22:44.432 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:22:44.432 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.433 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f82c7bd1a6e8bd7e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com'>
*** User 2024-04-26 13:22:44.433 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.433 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<iq type='set' id='0bca6bd4453825ebce6627b0308174a3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 13:22:44.433 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq id='0bca6bd4453825ebce6627b0308174a3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-26 13:22:44.433 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<iq type='set' id='2a1720de7d0c0a5a430a15edac008233'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:22:44.434 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' id='2a1720de7d0c0a5a430a15edac008233' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:22:44.434 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<presence/>
*** User 2024-04-26 13:22:44.435 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1'/>
*** User 2024-04-26 13:22:44.436 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.436 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b3d24f75e05946a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:22:44.436 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.436 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjk2MwBtYWtyb2xpa2E=</auth>
*** User 2024-04-26 13:22:44.437 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:22:44.437 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.437 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee2b1d1a19160f61' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com'>
*** User 2024-04-26 13:22:44.438 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.438 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<iq type='set' id='ba8ae46d6af52c67424fe67db94f34ca'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 13:22:44.438 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq id='ba8ae46d6af52c67424fe67db94f34ca' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-26 13:22:44.438 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<iq type='set' id='c2e3498ccea462b627680e9487cbb197'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:22:44.439 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' id='c2e3498ccea462b627680e9487cbb197' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:22:44.439 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<presence/>
*** User 2024-04-26 13:22:44.440 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1'/>
*** User 2024-04-26 13:22:44.441 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.441 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9bb4bd7ad3051a5f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:22:44.442 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.442 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5NjMAbWFrcm93ZTtw</auth>
*** User 2024-04-26 13:22:44.443 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:22:44.443 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.443 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1810b2fbd193766' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com'>
*** User 2024-04-26 13:22:44.443 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.443 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<iq type='set' id='f07e8332028ffd96ec812a3fc43837a5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 13:22:44.443 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq id='f07e8332028ffd96ec812a3fc43837a5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-26 13:22:44.443 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<iq type='set' id='003d2be0f25e7c2b65b896f75451c52a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:22:44.444 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' id='003d2be0f25e7c2b65b896f75451c52a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:22:44.444 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<presence/>
*** User 2024-04-26 13:22:44.445 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1'/>
*** User 2024-04-26 13:22:44.446 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.446 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='097a915db5711eff' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-26 13:22:44.446 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.447 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5NjMAbmljbmllbWE=</auth>
*** User 2024-04-26 13:22:44.447 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 13:22:44.447 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.448 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82f31b5e1567cd8b' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com'>
*** User 2024-04-26 13:22:44.448 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@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-26 13:22:44.448 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<iq type='set' id='eb53bd44aa128b77f17c0f944ae04c0b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 13:22:44.448 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq id='eb53bd44aa128b77f17c0f944ae04c0b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-26 13:22:44.448 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<iq type='set' id='e100f65597b3a10fe0adbc4a9d451fdb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:22:44.449 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' id='e100f65597b3a10fe0adbc4a9d451fdb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 13:22:44.449 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
<presence/>
*** User 2024-04-26 13:22:44.452 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1'/>
*** User 2024-04-26 13:22:44.482 ***🔗
REST request:
Code: 204
Req: {<0.77449.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"46f6337a29d55fbf">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTYzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 26 Apr 2024 13:22:44 GMT">>}],
<<>>,80,5536}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\"}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-26 13:22:44.482 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' id='pushb4390e7c9d92e470' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-26 13:22:44.493 ***🔗
REST request:
Code: 204
Req: {<0.77485.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"01971beaa7f1572b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTYzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 26 Apr 2024 13:22:44 GMT">>}],
<<>>,80,3215}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\"}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-26 13:22:44.493 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' id='pushe40afe96654a8331' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-26 13:22:44.503 ***🔗
REST request:
Code: 200
Req: {<0.77517.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2c23495fb04badcd">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTYzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 26 Apr 2024 13:22:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\"]}">>,
218,5066}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com\"]}">>,
method => <<"DELETE">>,return_headers => true}
*** User 2024-04-26 13:22:44.511 ***🔗
REST request:
Code: 200
Req: {<0.77554.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"41f37ad35456fd81">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTYzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 26 Apr 2024 13:22:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2270}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com">>,
<<"makrolika">>},
role => client,body => <<>>,method => <<"GET">>,
return_headers => true}
*** User 2024-04-26 13:22:44.512 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1' id='push240a1721be54dd3f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-26 13:22:44.512 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-26 13:22:44.512 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-26 13:22:44.512 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-26 13:22:44.513 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-26 13:22:44.513 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-26 13:22:44.513 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-26 13:22:44.513 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-26 13:22:44.513 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2963@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-26 13:22:44
=== successfully completed test case
=== === Returned value: ok