=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.56174.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,disabled},
{preset,"internal_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@baea9fdafaad.2024-03-06_09.19.52/big_tests.tests.rest_client_SUITE.logs/run.2024-03-06_09.33.18/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.112258.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@baea9fdafaad.2024-03-06_09.19.52/big_tests.tests.rest_client_SUITE.logs/run.2024-03-06_09.33.18/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => mnesia},
mod_roster =>
#{iqdisc => one_queue,backend => mnesia,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,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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@baea9fdafaad.2024-03-06_09.19.52"
=== Started at 2024-03-06 09:33:19
*** User 2024-03-06 09:33:19.605 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.605 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8a6907300ddc91e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 09:33:19.605 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.605 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODU2AG1hdHlncnlzYQ==</auth>
*** User 2024-03-06 09:33:19.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 09:33:19.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c68a557d07e49ae' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost'>
*** User 2024-03-06 09:33:19.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.606 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<iq type='set' id='0cc40e89afb54715f045a5ae23d3819a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 09:33:19.607 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq id='0cc40e89afb54715f045a5ae23d3819a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 09:33:19.607 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<iq type='set' id='d7a05f54c3111c397b1b4f94948a3fed'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:33:19.608 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' id='d7a05f54c3111c397b1b4f94948a3fed' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:33:19.608 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<presence/>
*** User 2024-03-06 09:33:19.608 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1'/>
*** User 2024-03-06 09:33:19.609 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.609 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98af930a71f24629' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 09:33:19.609 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.609 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTg1NgBtYWtyb2xpa2E=</auth>
*** User 2024-03-06 09:33:19.610 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 09:33:19.610 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.610 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fcac45e459e2983b' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost'>
*** User 2024-03-06 09:33:19.610 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.610 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<iq type='set' id='4260413fd05571d6734a61b8e399d534'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 09:33:19.611 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq id='4260413fd05571d6734a61b8e399d534' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 09:33:19.611 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<iq type='set' id='6d1cc3c613525086e8290f76cf9b7152'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:33:19.612 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' id='6d1cc3c613525086e8290f76cf9b7152' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:33:19.612 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<presence/>
*** User 2024-03-06 09:33:19.614 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1'/>
*** User 2024-03-06 09:33:19.614 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.615 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4fef6b52b742e9e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 09:33:19.615 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.615 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE4NTYAbWFrcm93ZTtw</auth>
*** User 2024-03-06 09:33:19.616 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 09:33:19.616 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.616 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bcb3efb818527db9' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost'>
*** User 2024-03-06 09:33:19.616 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.617 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<iq type='set' id='e42f6feb1da38266bd762b45e4a346a6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 09:33:19.617 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq id='e42f6feb1da38266bd762b45e4a346a6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 09:33:19.617 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<iq type='set' id='c6ca4bd7e637494a329c98f1f208cd35'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:33:19.618 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' id='c6ca4bd7e637494a329c98f1f208cd35' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:33:19.618 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<presence/>
*** User 2024-03-06 09:33:19.618 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1'/>
*** User 2024-03-06 09:33:19.619 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.621 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0e29d423eb916a5' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-06 09:33:19.621 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.621 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE4NTYAbmljbmllbWE=</auth>
*** User 2024-03-06 09:33:19.622 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-06 09:33:19.622 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.622 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0fd515999b71355e' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost'>
*** User 2024-03-06 09:33:19.622 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@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-03-06 09:33:19.622 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<iq type='set' id='77de196ecf42bfaef25f0bd85c745b42'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-06 09:33:19.622 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq id='77de196ecf42bfaef25f0bd85c745b42' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-06 09:33:19.623 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<iq type='set' id='47cde64d21e009fd7c32bf3006e38238'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:33:19.623 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' id='47cde64d21e009fd7c32bf3006e38238' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-06 09:33:19.623 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
<presence/>
*** User 2024-03-06 09:33:19.624 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1'/>
*** User 2024-03-06 09:33:19.631 ***🔗
REST request:
Code: 204
Req: {<0.56317.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"15ecf95d64f8833c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 06 Mar 2024 09:33:18 GMT">>}],
<<>>,80,930}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"POST">>,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-06 09:33:19.631 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' id='push8dabe67da6791ac5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost'/>
</query>
</iq>
*** User 2024-03-06 09:33:19.638 ***🔗
REST request:
Code: 204
Req: {<0.56353.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8a934bc49fad9ffc">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 06 Mar 2024 09:33:18 GMT">>}],
<<>>,80,776}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"POST">>,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-06 09:33:19.638 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' id='pushc22fbf8b76c3cbef' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost'/>
</query>
</iq>
*** User 2024-03-06 09:33:19.685 ***🔗
REST request:
Code: 200
Req: {<0.56375.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0e854e1cf15802aa">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 06 Mar 2024 09:33:18 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost\"]}">>,
209,1165}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"DELETE">>,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-06 09:33:19.692 ***🔗
REST request:
Code: 200
Req: {<0.56410.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"42abcf1c58d985a0">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 06 Mar 2024 09:33:18 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,625}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"GET">>,body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-06 09:33:19.692 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1' id='push14dc28cc5fee8756' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost'/>
</query>
</iq>
*** User 2024-03-06 09:33:19.692 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
</stream:stream>
*** User 2024-03-06 09:33:19.693 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
</stream:stream>
*** User 2024-03-06 09:33:19.693 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
</stream:stream>
*** User 2024-03-06 09:33:19.693 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
</stream:stream>
*** User 2024-03-06 09:33:19.693 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
</stream:stream>
*** User 2024-03-06 09:33:19.694 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
</stream:stream>
*** User 2024-03-06 09:33:19.694 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 out
</stream:stream>
*** User 2024-03-06 09:33:19.694 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1856@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-06 09:33:19
=== successfully completed test case
=== === Returned value: ok