=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.78680.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@5294fb6485a9.2024-04-22_14.32.43/big_tests.tests.rest_client_SUITE.logs/run.2024-04-22_14.48.14/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.216066.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@5294fb6485a9.2024-04-22_14.32.43/big_tests.tests.rest_client_SUITE.logs/run.2024-04-22_14.48.14/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_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_sic => #{iqdisc => one_queue},
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,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@5294fb6485a9.2024-04-22_14.32.43"
=== Started at 2024-04-22 14:48:16
*** User 2024-04-22 14:48:16.941 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.941 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1fdfe9b8cdfc3f24' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:48:16.941 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.942 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDU5AG1hdHlncnlzYQ==</auth>
*** User 2024-04-22 14:48:16.943 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:48:16.943 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.943 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16c1ce39e9cabc70' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com'>
*** User 2024-04-22 14:48:16.943 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.943 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<iq type='set' id='db379883f6e26aa985cd275e388d1d17'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:48:16.944 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq id='db379883f6e26aa985cd275e388d1d17' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:48:16.944 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<iq type='set' id='5703096d7af80a1ca936c156653adbcf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:48:16.944 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' id='5703096d7af80a1ca936c156653adbcf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:48:16.944 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<presence/>
*** User 2024-04-22 14:48:16.946 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1'/>
*** User 2024-04-22 14:48:16.947 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.947 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f763fb1c17eb8b8' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:48:16.948 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.948 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzA1OQBtYWtyb2xpa2E=</auth>
*** User 2024-04-22 14:48:16.949 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:48:16.950 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.950 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='500407dfaba0e455' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com'>
*** User 2024-04-22 14:48:16.950 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.950 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<iq type='set' id='b92f8d742915d028d80a53f63134d35f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:48:16.951 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq id='b92f8d742915d028d80a53f63134d35f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:48:16.951 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<iq type='set' id='6a07b77a619d743ecaea5f35f25742d3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:48:16.951 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' id='6a07b77a619d743ecaea5f35f25742d3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:48:16.951 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<presence/>
*** User 2024-04-22 14:48:16.954 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1'/>
*** User 2024-04-22 14:48:16.954 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.955 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86a58dd544b1a04a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:48:16.955 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.955 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMwNTkAbWFrcm93ZTtw</auth>
*** User 2024-04-22 14:48:16.956 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:48:16.956 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.956 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8def4b744508f63' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com'>
*** User 2024-04-22 14:48:16.956 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.956 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<iq type='set' id='6ca40cbaa0b025bb4d102192d802326d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:48:16.957 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq id='6ca40cbaa0b025bb4d102192d802326d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:48:16.957 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<iq type='set' id='f86167df1ffc641f7fbd746bcb0893d1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:48:16.957 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' id='f86167df1ffc641f7fbd746bcb0893d1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:48:16.957 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<presence/>
*** User 2024-04-22 14:48:16.959 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1'/>
*** User 2024-04-22 14:48:16.960 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.960 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8ae300aa55a9807' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:48:16.961 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.961 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMwNTkAbmljbmllbWE=</auth>
*** User 2024-04-22 14:48:16.962 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:48:16.962 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.963 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='00522751549c5f85' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com'>
*** User 2024-04-22 14:48:16.963 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@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-22 14:48:16.963 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<iq type='set' id='a9170f7587881ae6338341f442b0ddff'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:48:16.963 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq id='a9170f7587881ae6338341f442b0ddff' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:48:16.963 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<iq type='set' id='b28b36e3e4f9beb1336bf8347ced6fe5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:48:16.964 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' id='b28b36e3e4f9beb1336bf8347ced6fe5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:48:16.964 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
<presence/>
*** User 2024-04-22 14:48:17.014 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1'/>
*** User 2024-04-22 14:48:17.025 ***🔗
REST request:
Code: 204
Req: {<0.78811.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4cd14c7911f91597">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDU5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:48:16 GMT">>}],
<<>>,80,5364}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\"}">>,
return_headers => true}
*** User 2024-04-22 14:48:17.025 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' id='pushfaedca455f9e2d75' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:48:17.039 ***🔗
REST request:
Code: 204
Req: {<0.78841.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"96f02537c13063d1">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDU5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:48:16 GMT">>}],
<<>>,80,6814}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\"}">>,
return_headers => true}
*** User 2024-04-22 14:48:17.039 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' id='pusheb5808bda54090c2' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 14:48:17.054 ***🔗
REST request:
Code: 200
Req: {<0.78877.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8bb2fc4647e17b19">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDU5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:48:16 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\"]}">>,
218,8970}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com\"]}">>,
return_headers => true}
*** User 2024-04-22 14:48:17.119 ***🔗
REST request:
Code: 200
Req: {<0.78903.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"57d26934dfd6fe81">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDU5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 14:48:16 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,55590}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com">>,
<<"makrolika">>},
body => <<>>,return_headers => true}
*** User 2024-04-22 14:48:17.119 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1' id='push0a4fed4ad43bd44e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-22 14:48:17.119 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-22 14:48:17.121 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-22 14:48:17.121 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-22 14:48:17.124 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-22 14:48:17.124 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-22 14:48:17.124 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-22 14:48:17.125 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-22 14:48:17.125 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3059@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-22 14:48:17
=== successfully completed test case
=== === Returned value: ok