=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.76836.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@e69c7ef90d22.2024-04-12_09.30.33/big_tests.tests.rest_client_SUITE.logs/run.2024-04-12_09.44.42/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.160259.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@e69c7ef90d22.2024-04-12_09.30.33/big_tests.tests.rest_client_SUITE.logs/run.2024-04-12_09.44.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_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_amp => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
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_carboncopy => #{iqdisc => no_queue},
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}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e69c7ef90d22.2024-04-12_09.30.33"
=== Started at 2024-04-12 09:44:44
*** User 2024-04-12 09:44:44.325 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.325 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='41abc5fcbe214711' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:44:44.326 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.326 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE4AG1hdHlncnlzYQ==</auth>
*** User 2024-04-12 09:44:44.327 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:44:44.327 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.327 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a11966eef0bc4e09' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com'>
*** User 2024-04-12 09:44:44.327 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.327 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<iq type='set' id='c32922c45cf87a3639456e0a98f5d8db'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:44:44.327 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq id='c32922c45cf87a3639456e0a98f5d8db' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:44:44.328 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<iq type='set' id='feb9a6e6012f766482f4be7cf95e7764'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:44.328 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' id='feb9a6e6012f766482f4be7cf95e7764' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:44.328 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 09:44:44.331 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1'/>
*** User 2024-04-12 09:44:44.332 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.332 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca257d49ff4a3be7' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:44:44.333 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.333 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzAxOABtYWtyb2xpa2E=</auth>
*** User 2024-04-12 09:44:44.334 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:44:44.334 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.334 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='494d8551c1872edf' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com'>
*** User 2024-04-12 09:44:44.334 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.335 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<iq type='set' id='a53ce63d7c4e970fe234a1c307bac702'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:44:44.335 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq id='a53ce63d7c4e970fe234a1c307bac702' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:44:44.335 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<iq type='set' id='70fd331b8aff4dcbdabf79244846ccc5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:44.335 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' id='70fd331b8aff4dcbdabf79244846ccc5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:44.336 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 09:44:44.355 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1'/>
*** User 2024-04-12 09:44:44.355 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.356 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1335e93e0b2f63ff' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:44:44.356 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.356 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMwMTgAbWFrcm93ZTtw</auth>
*** User 2024-04-12 09:44:44.357 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:44:44.357 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.358 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82d7443dc0b9e1cf' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com'>
*** User 2024-04-12 09:44:44.358 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.358 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<iq type='set' id='5f99b73dbb7c607ab44bd6954ec6e81c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:44:44.359 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq id='5f99b73dbb7c607ab44bd6954ec6e81c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:44:44.359 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<iq type='set' id='afe4c981b0a5cb7823e3b89314f25647'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:44.359 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' id='afe4c981b0a5cb7823e3b89314f25647' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:44.359 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 09:44:44.362 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1'/>
*** User 2024-04-12 09:44:44.363 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.363 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fae411bdd6009873' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:44:44.363 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.363 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMwMTgAbmljbmllbWE=</auth>
*** User 2024-04-12 09:44:44.365 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:44:44.365 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.365 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0408a10e03cbe3f0' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com'>
*** User 2024-04-12 09:44:44.365 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@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-12 09:44:44.365 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<iq type='set' id='091ad4912ac074b5668c7cdb277402b0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:44:44.366 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq id='091ad4912ac074b5668c7cdb277402b0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:44:44.366 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<iq type='set' id='264a0bb725ad5532893a5a7359de4b81'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:44.367 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' id='264a0bb725ad5532893a5a7359de4b81' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:44:44.367 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 09:44:44.369 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1'/>
*** User 2024-04-12 09:44:44.384 ***🔗
REST request:
Code: 204
Req: {<0.77009.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1bab82fbb297fac4">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE4QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:44:44 GMT">>}],
<<>>,80,9225}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,role => client,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\"}">>,
return_headers => true}
*** User 2024-04-12 09:44:44.384 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' id='pushcedd612eead31c5a' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-12 09:44:44.400 ***🔗
REST request:
Code: 204
Req: {<0.77044.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"cc105a27fa7acd0e">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE4QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:44:44 GMT">>}],
<<>>,80,8891}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,role => client,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\"}">>,
return_headers => true}
*** User 2024-04-12 09:44:44.400 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' id='push55e25ca42485b210' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-12 09:44:44.480 ***🔗
REST request:
Code: 200
Req: {<0.77072.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8d84bd489285c177">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE4QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:44:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\"]}">>,
218,20761}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com">>,
<<"makrolika">>},
method => <<"DELETE">>,role => client,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com\"]}">>,
return_headers => true}
*** User 2024-04-12 09:44:44.492 ***🔗
REST request:
Code: 200
Req: {<0.77096.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d12640dda7080016">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE4QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:44:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,4044}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com">>,
<<"makrolika">>},
method => <<"GET">>,role => client,body => <<>>,
return_headers => true}
*** User 2024-04-12 09:44:44.492 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1' id='push25f6a0abcc885e01' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-12 09:44:44.492 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 09:44:44.492 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-12 09:44:44.493 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 09:44:44.493 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-12 09:44:44.493 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 09:44:44.493 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-12 09:44:44.493 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 09:44:44.493 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3018@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-12 09:44:44
=== successfully completed test case
=== === Returned value: ok