=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.87770.0>},
{muc_light_host,<<"muclight.localhost">>},
{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@93471e0a4621.2024-02-20_09.44.14/big_tests.tests.rest_client_SUITE.logs/run.2024-02-20_10.00.59/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.161411.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@93471e0a4621.2024-02-20_09.44.14/big_tests.tests.rest_client_SUITE.logs/run.2024-02-20_10.00.59/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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_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,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
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 =>
#{inactivity => 30,max_pause => 120,max_wait => infinity,
server_acks => false,backend => mnesia},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@93471e0a4621.2024-02-20_09.44.14"
=== Started at 2024-02-20 10:01:01
*** User 2024-02-20 10:01:01.375 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-20 10:01:01.376 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4be71bc262234cab' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-20 10:01:01.376 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/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-02-20 10:01:01.376 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU1AG1hdHlncnlzYQ==</auth>
*** User 2024-02-20 10:01:01.377 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-20 10:01:01.377 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-20 10:01:01.377 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf8489bbea72c509' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost'>
*** User 2024-02-20 10:01:01.378 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/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-02-20 10:01:01.378 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<iq type='set' id='e5263092a5af65891351c9cb53aa6bc0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-20 10:01:01.378 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq id='e5263092a5af65891351c9cb53aa6bc0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-20 10:01:01.378 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<iq type='set' id='ca969808bed31b07f01631a0080aaf20'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 10:01:01.379 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' id='ca969808bed31b07f01631a0080aaf20' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 10:01:01.379 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<presence/>
*** User 2024-02-20 10:01:01.381 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1'/>
*** User 2024-02-20 10:01:01.381 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-20 10:01:01.382 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e9971ba5bd223a2' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-20 10:01:01.382 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/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-02-20 10:01:01.382 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzM1NQBtYWtyb2xpa2E=</auth>
*** User 2024-02-20 10:01:01.384 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-20 10:01:01.384 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-20 10:01:01.385 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec301e11ae9284ea' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost'>
*** User 2024-02-20 10:01:01.385 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/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-02-20 10:01:01.385 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<iq type='set' id='4b2c2e9d8fd0f928ecefe004fa10c668'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-20 10:01:01.385 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq id='4b2c2e9d8fd0f928ecefe004fa10c668' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-20 10:01:01.385 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<iq type='set' id='13ce869f086cbbb5d06783c6f6af6af5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 10:01:01.386 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' id='13ce869f086cbbb5d06783c6f6af6af5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 10:01:01.386 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<presence/>
*** User 2024-02-20 10:01:01.387 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1'/>
*** User 2024-02-20 10:01:01.388 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-20 10:01:01.388 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1fd0baaa9e7f8eb5' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-20 10:01:01.388 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/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-02-20 10:01:01.389 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNTUAbWFrcm93ZTtw</auth>
*** User 2024-02-20 10:01:01.390 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-20 10:01:01.390 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-20 10:01:01.390 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23983277803fb7f6' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost'>
*** User 2024-02-20 10:01:01.390 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/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-02-20 10:01:01.390 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<iq type='set' id='b1710e3b71def38b796034fe4a552c0e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-20 10:01:01.391 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq id='b1710e3b71def38b796034fe4a552c0e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-20 10:01:01.391 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<iq type='set' id='0f962c03ebe9d06ccc0cbc8856bcafb2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 10:01:01.391 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' id='0f962c03ebe9d06ccc0cbc8856bcafb2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 10:01:01.391 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<presence/>
*** User 2024-02-20 10:01:01.394 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1'/>
*** User 2024-02-20 10:01:01.395 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-20 10:01:01.395 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92e4dc00c8093a24' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-20 10:01:01.396 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/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-02-20 10:01:01.396 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzNTUAbmljbmllbWE=</auth>
*** User 2024-02-20 10:01:01.397 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-20 10:01:01.397 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-20 10:01:01.397 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b7c698074308b857' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost'>
*** User 2024-02-20 10:01:01.397 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/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-02-20 10:01:01.398 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<iq type='set' id='74b01b250ade71d2f8f8482d4b8fa61b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-20 10:01:01.398 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq id='74b01b250ade71d2f8f8482d4b8fa61b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-20 10:01:01.398 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<iq type='set' id='44cbc4a97eba692c573df788115399eb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 10:01:01.399 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' id='44cbc4a97eba692c573df788115399eb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-20 10:01:01.399 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
<presence/>
*** User 2024-02-20 10:01:01.401 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1'/>
*** User 2024-02-20 10:01:01.464 ***🔗
REST request:
Code: 204
Req: {<0.87919.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5970247b2ac2c2c4">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 20 Feb 2024 10:01:00 GMT">>}],
<<>>,80,56639}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost">>,
<<"makrolika">>},
method => <<"POST">>,return_headers => true}
*** User 2024-02-20 10:01:01.465 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' id='push050d88366756fd05' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost'/>
</query>
</iq>
*** User 2024-02-20 10:01:01.478 ***🔗
REST request:
Code: 204
Req: {<0.87967.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"38fab29cbe384639">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 20 Feb 2024 10:01:00 GMT">>}],
<<>>,80,6913}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost">>,
<<"makrolika">>},
method => <<"POST">>,return_headers => true}
*** User 2024-02-20 10:01:01.478 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' id='push12680b54341c73ba' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost'/>
</query>
</iq>
*** User 2024-02-20 10:01:01.493 ***🔗
REST request:
Code: 200
Req: {<0.88006.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4015df80e14e4056">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 20 Feb 2024 10:01:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost\"]}">>,
209,10406}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,return_headers => true}
*** User 2024-02-20 10:01:01.503 ***🔗
REST request:
Code: 200
Req: {<0.88029.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"47587a15ba486aae">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzU1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 20 Feb 2024 10:01:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2976}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost">>,
<<"makrolika">>},
method => <<"GET">>,return_headers => true}
*** User 2024-02-20 10:01:01.503 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1' id='push67413e8eaa82fbf0' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost'/>
</query>
</iq>
*** User 2024-02-20 10:01:01.504 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
</stream:stream>
*** User 2024-02-20 10:01:01.505 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
</stream:stream>
*** User 2024-02-20 10:01:01.505 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
</stream:stream>
*** User 2024-02-20 10:01:01.505 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
</stream:stream>
*** User 2024-02-20 10:01:01.505 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
</stream:stream>
*** User 2024-02-20 10:01:01.505 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
</stream:stream>
*** User 2024-02-20 10:01:01.505 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 out
</stream:stream>
*** User 2024-02-20 10:01:01.506 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3355@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-20 10:01:01
=== successfully completed test case
=== === Returned value: ok