=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/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_with_nonexisting.173571.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
*** User 2024-04-25 14:48:08.145 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@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_with_nonexisting_3101@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aad55e3ce7a951a7' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:48:08.145 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@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.145 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAxAG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 14:48:08.146 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:48:08.146 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@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.147 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='24650b43e84ffd68' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com'>
*** User 2024-04-25 14:48:08.147 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@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.147 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<iq type='set' id='94ab0e5f72e77a0923a71494837dc068'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:48:08.147 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq id='94ab0e5f72e77a0923a71494837dc068' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:48:08.147 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<iq type='set' id='cb48acc7ef1f234eeeae433c3a76df74'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:08.147 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' id='cb48acc7ef1f234eeeae433c3a76df74' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:08.148 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 14:48:08.149 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1'/>
*** User 2024-04-25 14:48:08.150 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@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.151 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3af1d092f134fbc8' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:48:08.151 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@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.151 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzEwMQBtYWtyb2xpa2E=</auth>
*** User 2024-04-25 14:48:08.153 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:48:08.153 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@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.153 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='457415374f2f3561' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com'>
*** User 2024-04-25 14:48:08.153 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@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.153 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<iq type='set' id='345c543fda1ba7d4ee9f99030d5ff593'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:48:08.153 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq id='345c543fda1ba7d4ee9f99030d5ff593' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:48:08.153 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<iq type='set' id='bf5a27557596ea3fff12baaf6582fe00'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:08.154 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' id='bf5a27557596ea3fff12baaf6582fe00' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:08.154 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 14:48:08.155 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1'/>
*** User 2024-04-25 14:48:08.156 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@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.156 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5becd316dd019ba3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:48:08.164 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@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.164 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxMDEAbWFrcm93ZTtw</auth>
*** User 2024-04-25 14:48:08.166 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:48:08.166 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@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.166 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='981d6b260cc6dc54' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com'>
*** User 2024-04-25 14:48:08.166 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@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.166 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<iq type='set' id='08a0ecf8b6d1b9d46204602e7e823711'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:48:08.167 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq id='08a0ecf8b6d1b9d46204602e7e823711' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:48:08.167 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<iq type='set' id='4e7c79a381094814bb7225612f18986e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:08.168 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' id='4e7c79a381094814bb7225612f18986e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:08.168 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 14:48:08.169 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1'/>
*** User 2024-04-25 14:48:08.170 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@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.170 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='299c456c6f244f02' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:48:08.170 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@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.170 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxMDEAbmljbmllbWE=</auth>
*** User 2024-04-25 14:48:08.171 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:48:08.171 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@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.172 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c0b7c6b3a173e46' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com'>
*** User 2024-04-25 14:48:08.172 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@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.172 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<iq type='set' id='fd677ae81ee6074cd3fdc6251c5cbd0e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:48:08.172 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq id='fd677ae81ee6074cd3fdc6251c5cbd0e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:48:08.172 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<iq type='set' id='a42c82dd42708486ed6fb6d21308ccd4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:08.173 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' id='a42c82dd42708486ed6fb6d21308ccd4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:48:08.173 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 14:48:08.174 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1'/>
*** User 2024-04-25 14:48:08.183 ***🔗
REST request:
Code: 204
Req: {<0.77114.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"aa711d42a794e936">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAxQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>}],
<<>>,80,4665}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\"}">>,
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:48:08.184 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' id='push5374da2b4d5729a4' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 14:48:08.197 ***🔗
REST request:
Code: 204
Req: {<0.77152.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"6beec9ca9d95fce0">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAxQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>}],
<<>>,80,8946}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\"}">>,
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:48:08.197 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' id='push914c227f630790f8' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 14:48:08.209 ***🔗
REST request:
Code: 200
Req: {<0.77194.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a0bc0009482be3bd">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAxQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\"]}">>,
218,6312}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com\"]}">>,
role => client,method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:48:08.269 ***🔗
REST request:
Code: 200
Req: {<0.77233.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d2208badf0b5c7de">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAxQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:48:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,4460}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body => <<>>,role => client,method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:48:08.270 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1' id='pushadbb050968da77f1' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 14:48:08.270 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 14:48:08.270 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 14:48:08.270 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 14:48:08.270 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 14:48:08.270 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 14:48:08.271 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 14:48:08.271 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 14:48:08.271 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3101@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 14:48:08
=== successfully completed test case
=== === Returned value: ok