=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.87799.0>},
{muc_light_host,<<"muclight.localhost">>},
{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@1fbe638fdeaa.2024-02-15_09.57.53/big_tests.tests.rest_client_SUITE.logs/run.2024-02-15_10.13.17/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.222466.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@1fbe638fdeaa.2024-02-15_09.57.53/big_tests.tests.rest_client_SUITE.logs/run.2024-02-15_10.13.17/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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_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,
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_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@1fbe638fdeaa.2024-02-15_09.57.53"
=== Started at 2024-02-15 10:13:19
*** User 2024-02-15 10:13:19.474 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.475 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a60029d0fbd1fe67' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-15 10:13:19.475 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.475 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTM4AG1hdHlncnlzYQ==</auth>
*** User 2024-02-15 10:13:19.476 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-15 10:13:19.476 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.476 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7af278bd21fa1903' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost'>
*** User 2024-02-15 10:13:19.476 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.476 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<iq type='set' id='a01448b61e7e3d8388c7d6d33d2c34c5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-15 10:13:19.476 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq id='a01448b61e7e3d8388c7d6d33d2c34c5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-15 10:13:19.476 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<iq type='set' id='74eaa044283aca1ab204aa0df9b5aaa4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:13:19.477 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' id='74eaa044283aca1ab204aa0df9b5aaa4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:13:19.477 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<presence/>
*** User 2024-02-15 10:13:19.479 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1'/>
*** User 2024-02-15 10:13:19.480 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.486 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3211017d47771d5c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-15 10:13:19.486 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.486 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzEzOABtYWtyb2xpa2E=</auth>
*** User 2024-02-15 10:13:19.489 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-15 10:13:19.490 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.490 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de37a9d416cccbf0' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost'>
*** User 2024-02-15 10:13:19.490 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.491 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<iq type='set' id='c7e3ba24aa2b7ea18c08507c5be6c5d0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-15 10:13:19.491 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq id='c7e3ba24aa2b7ea18c08507c5be6c5d0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-15 10:13:19.491 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<iq type='set' id='fc36485b0e3bcca8f526702d8cc0ea91'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:13:19.493 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' id='fc36485b0e3bcca8f526702d8cc0ea91' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:13:19.493 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<presence/>
*** User 2024-02-15 10:13:19.498 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1'/>
*** User 2024-02-15 10:13:19.499 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.500 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e5292b4c10addee' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-15 10:13:19.500 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.500 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxMzgAbWFrcm93ZTtw</auth>
*** User 2024-02-15 10:13:19.504 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-15 10:13:19.504 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.504 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8861bf5b340e0013' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost'>
*** User 2024-02-15 10:13:19.504 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.504 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<iq type='set' id='68313a112081bb951113475b84fad8d5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-15 10:13:19.505 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq id='68313a112081bb951113475b84fad8d5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-15 10:13:19.505 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<iq type='set' id='3b6efb2158527a6f58317eeb65705e47'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:13:19.506 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' id='3b6efb2158527a6f58317eeb65705e47' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:13:19.506 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<presence/>
*** User 2024-02-15 10:13:19.510 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1'/>
*** User 2024-02-15 10:13:19.510 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.511 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a83cc6fe412f87ec' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-15 10:13:19.511 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.511 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxMzgAbmljbmllbWE=</auth>
*** User 2024-02-15 10:13:19.515 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-15 10:13:19.516 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.516 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7ee1f3404f3ec66' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost'>
*** User 2024-02-15 10:13:19.517 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@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-15 10:13:19.517 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<iq type='set' id='62d1051b5c59953e7e54ecce9eabd860'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-15 10:13:19.520 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq id='62d1051b5c59953e7e54ecce9eabd860' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-15 10:13:19.520 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<iq type='set' id='fcdd1406413d4dbf1d6bc6a9877c6399'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:13:19.521 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' id='fcdd1406413d4dbf1d6bc6a9877c6399' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-15 10:13:19.521 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
<presence/>
*** User 2024-02-15 10:13:19.524 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1'/>
*** User 2024-02-15 10:13:19.541 ***🔗
REST request:
Code: 204
Req: {<0.87947.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5777f29da3dfac5e">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 15 Feb 2024 10:13:19 GMT">>}],
<<>>,80,8002}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost\"}">>,
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost">>,
<<"makrolika">>},
role => client,return_headers => true}
*** User 2024-02-15 10:13:19.541 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' id='push9afe5b180be44acb' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost'/>
</query>
</iq>
*** User 2024-02-15 10:13:19.599 ***🔗
REST request:
Code: 204
Req: {<0.87978.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"02cd80e8e1a83297">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 15 Feb 2024 10:13:19 GMT">>}],
<<>>,80,10880}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost\"}">>,
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost">>,
<<"makrolika">>},
role => client,return_headers => true}
*** User 2024-02-15 10:13:19.599 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' id='push722f4da0aadf3b30' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost'/>
</query>
</iq>
*** User 2024-02-15 10:13:19.619 ***🔗
REST request:
Code: 200
Req: {<0.88007.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"945c7cbe39ca0fa8">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 15 Feb 2024 10:13:19 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost\"]}">>,
209,12404}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost\"]}">>,
method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost">>,
<<"makrolika">>},
role => client,return_headers => true}
*** User 2024-02-15 10:13:19.632 ***🔗
REST request:
Code: 200
Req: {<0.88038.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"47ad488909bd4452">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 15 Feb 2024 10:13:19 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,4379}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost">>,
<<"makrolika">>},
role => client,return_headers => true}
*** User 2024-02-15 10:13:19.632 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1' id='pusha585a9d710e590a6' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost'/>
</query>
</iq>
*** User 2024-02-15 10:13:19.633 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
</stream:stream>
*** User 2024-02-15 10:13:19.633 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
</stream:stream>
*** User 2024-02-15 10:13:19.633 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
</stream:stream>
*** User 2024-02-15 10:13:19.634 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
</stream:stream>
*** User 2024-02-15 10:13:19.634 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
</stream:stream>
*** User 2024-02-15 10:13:19.635 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
</stream:stream>
*** User 2024-02-15 10:13:19.635 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 out
</stream:stream>
*** User 2024-02-15 10:13:19.636 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3138@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-15 10:13:19
=== successfully completed test case
=== === Returned value: ok