=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.76700.0>},
{muc_light_host,<<"muclight.domain.example.com">>},
{mam_backend,rdbms},
{preset,"mysql_redis"},
{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@e8b7f85c8254.2024-04-24_13.09.52/big_tests.tests.rest_client_SUITE.logs/run.2024-04-24_13.22.06/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.171395.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@e8b7f85c8254.2024-04-24_13.09.52/big_tests.tests.rest_client_SUITE.logs/run.2024-04-24_13.22.06/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,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,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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_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@e8b7f85c8254.2024-04-24_13.09.52"
=== Started at 2024-04-24 13:22:08
*** User 2024-04-24 13:22:08.542 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.543 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6ccef24d740344d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:22:08.543 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.543 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODMzAG1hdHlncnlzYQ==</auth>
*** User 2024-04-24 13:22:08.544 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:22:08.544 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.545 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd9557b9db936685' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com'>
*** User 2024-04-24 13:22:08.545 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.545 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<iq type='set' id='88ab45c2ef001081d74829cc1b283a00'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:22:08.545 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq id='88ab45c2ef001081d74829cc1b283a00' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:22:08.545 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<iq type='set' id='af0c62cebc16076f6044e8e4ed8efb9f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:08.550 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' id='af0c62cebc16076f6044e8e4ed8efb9f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:08.550 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<presence/>
*** User 2024-04-24 13:22:08.554 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1'/>
*** User 2024-04-24 13:22:08.554 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.555 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b65fc9cceebcfc7c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:22:08.555 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.555 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjgzMwBtYWtyb2xpa2E=</auth>
*** User 2024-04-24 13:22:08.556 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:22:08.556 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.557 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a37cade1882e54a4' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com'>
*** User 2024-04-24 13:22:08.557 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.558 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<iq type='set' id='4cb80a92d1de697d4a7e9942d10810eb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:22:08.558 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq id='4cb80a92d1de697d4a7e9942d10810eb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:22:08.559 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<iq type='set' id='2c9956668887f8d570314959e7116404'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:08.560 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' id='2c9956668887f8d570314959e7116404' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:08.560 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<presence/>
*** User 2024-04-24 13:22:08.573 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1'/>
*** User 2024-04-24 13:22:08.573 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='317b801bdd8865fa' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:22:08.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.574 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI4MzMAbWFrcm93ZTtw</auth>
*** User 2024-04-24 13:22:08.575 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:22:08.576 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.576 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1d5045081ac0c5d' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com'>
*** User 2024-04-24 13:22:08.576 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.576 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<iq type='set' id='032026cf6441fbf961a575796afa1edf'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:22:08.576 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq id='032026cf6441fbf961a575796afa1edf' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:22:08.576 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<iq type='set' id='c2d134010cc56de2a7061d03d38e4eb7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:08.577 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' id='c2d134010cc56de2a7061d03d38e4eb7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:08.577 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<presence/>
*** User 2024-04-24 13:22:08.582 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1'/>
*** User 2024-04-24 13:22:08.583 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.584 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='992bb246bb894cc5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:22:08.584 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.584 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI4MzMAbmljbmllbWE=</auth>
*** User 2024-04-24 13:22:08.585 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:22:08.585 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.586 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='002c077bde78d05b' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com'>
*** User 2024-04-24 13:22:08.586 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@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-24 13:22:08.586 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<iq type='set' id='09866a70658505dd7cf7d276956ed837'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:22:08.586 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq id='09866a70658505dd7cf7d276956ed837' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:22:08.586 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<iq type='set' id='7b8b4d9b4feedb91cbd7a454e896fb7d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:08.587 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' id='7b8b4d9b4feedb91cbd7a454e896fb7d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:08.587 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
<presence/>
*** User 2024-04-24 13:22:08.589 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1'/>
*** User 2024-04-24 13:22:08.603 ***🔗
REST request:
Code: 204
Req: {<0.76849.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"af04cd711466fb28">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODMzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:22:08 GMT">>}],
<<>>,80,6211}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\"}">>,
return_headers => true}
*** User 2024-04-24 13:22:08.603 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' id='push0a3ad838c38a3b0f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-24 13:22:08.618 ***🔗
REST request:
Code: 204
Req: {<0.76885.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ac60b6fdfb45bce5">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODMzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:22:08 GMT">>}],
<<>>,80,7254}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\"}">>,
return_headers => true}
*** User 2024-04-24 13:22:08.618 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' id='pushcf32464d54d9814e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-24 13:22:08.683 ***🔗
REST request:
Code: 200
Req: {<0.76908.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f3d22a8c8d9644c0">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODMzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:22:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\"]}">>,
218,49188}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com\"]}">>,
return_headers => true}
*** User 2024-04-24 13:22:08.694 ***🔗
REST request:
Code: 200
Req: {<0.76948.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b6dcd8da1995b984">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODMzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:22:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,3853}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com">>,
<<"makrolika">>},
body => <<>>,return_headers => true}
*** User 2024-04-24 13:22:08.695 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1' id='push97fff3252dd346e2' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-24 13:22:08.695 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-24 13:22:08.696 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-24 13:22:08.696 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-24 13:22:08.696 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-24 13:22:08.696 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-24 13:22:08.697 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-24 13:22:08.697 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-24 13:22:08.697 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2833@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-24 13:22:08
=== successfully completed test case
=== === Returned value: ok