=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.83314.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"pgsql_cets"},
{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@e06ff82a20fb.2024-03-21_07.45.38/big_tests.tests.rest_client_SUITE.logs/run.2024-03-21_08.01.42/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.198146.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@e06ff82a20fb.2024-03-21_07.45.38/big_tests.tests.rest_client_SUITE.logs/run.2024-03-21_08.01.42/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_amp => #{},
mod_sic => #{iqdisc => one_queue},
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_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
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 => cets,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@e06ff82a20fb.2024-03-21_07.45.38"
=== Started at 2024-03-21 08:01:44
*** User 2024-03-21 08:01:44.937 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.937 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='642db3fa6e2fb101' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:01:44.937 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.937 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjM0AG1hdHlncnlzYQ==</auth>
*** User 2024-03-21 08:01:44.938 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:01:44.938 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.939 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a370af06864d97e3' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost'>
*** User 2024-03-21 08:01:44.939 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.939 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<iq type='set' id='406e204962afbf044e1696a09a28783d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:01:44.939 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq id='406e204962afbf044e1696a09a28783d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:01:44.939 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<iq type='set' id='9a722c5fd24cf796e45011b55736bc6d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:01:44.940 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' id='9a722c5fd24cf796e45011b55736bc6d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:01:44.940 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<presence/>
*** User 2024-03-21 08:01:44.941 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1'/>
*** User 2024-03-21 08:01:44.942 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.942 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b86eb089ee790b9' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:01:44.942 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.942 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzIzNABtYWtyb2xpa2E=</auth>
*** User 2024-03-21 08:01:44.943 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:01:44.943 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.944 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34df1a284b44a4e9' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost'>
*** User 2024-03-21 08:01:44.944 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.944 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<iq type='set' id='7959b1100a824ecbfd785a378f0e8fb8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:01:44.944 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq id='7959b1100a824ecbfd785a378f0e8fb8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:01:44.945 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<iq type='set' id='deae1ca2d843b7975e36bfdc12f10713'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:01:44.945 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' id='deae1ca2d843b7975e36bfdc12f10713' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:01:44.945 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<presence/>
*** User 2024-03-21 08:01:44.947 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1'/>
*** User 2024-03-21 08:01:44.949 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.949 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d9a4f2649ffb71a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:01:44.949 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.949 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyMzQAbWFrcm93ZTtw</auth>
*** User 2024-03-21 08:01:44.951 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:01:44.951 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.951 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97a1b9bc0de04557' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost'>
*** User 2024-03-21 08:01:44.951 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.951 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<iq type='set' id='61c93a748e81de98496a4984764a6652'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:01:44.952 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq id='61c93a748e81de98496a4984764a6652' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:01:44.952 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<iq type='set' id='af185960c2de9d9eda6a87ec500960bf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:01:44.953 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' id='af185960c2de9d9eda6a87ec500960bf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:01:44.953 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<presence/>
*** User 2024-03-21 08:01:44.967 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1'/>
*** User 2024-03-21 08:01:44.968 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.968 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6dc9adce3a0c93db' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:01:44.968 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.969 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyMzQAbmljbmllbWE=</auth>
*** User 2024-03-21 08:01:44.979 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:01:44.979 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.979 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e33dbea0acc920b1' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost'>
*** User 2024-03-21 08:01:44.980 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@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-21 08:01:44.980 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<iq type='set' id='3555a7746c37c22bbb6c08d3cacf9eae'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:01:44.980 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq id='3555a7746c37c22bbb6c08d3cacf9eae' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:01:44.980 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<iq type='set' id='4349a86eb6ed1b7b8290a2b25da51f69'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:01:44.985 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' id='4349a86eb6ed1b7b8290a2b25da51f69' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:01:44.985 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
<presence/>
*** User 2024-03-21 08:01:45.000 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1'/>
*** User 2024-03-21 08:01:45.022 ***🔗
REST request:
Code: 204
Req: {<0.83455.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c0fd32f67cc7b0ba">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjM0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:01:44 GMT">>}],
<<>>,80,5127}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost\"}">>,
return_headers => true}
*** User 2024-03-21 08:01:45.022 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' id='push78e771d3168893f3' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 08:01:45.033 ***🔗
REST request:
Code: 204
Req: {<0.83498.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a6c468e46b419d53">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjM0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:01:44 GMT">>}],
<<>>,80,4427}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost\"}">>,
return_headers => true}
*** User 2024-03-21 08:01:45.033 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' id='pushe8f7d05f74d5d016' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 08:01:45.079 ***🔗
REST request:
Code: 200
Req: {<0.83530.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"13975fcd006a7b7b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjM0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:01:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost\"]}">>,
209,37191}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost\"]}">>,
return_headers => true}
*** User 2024-03-21 08:01:45.105 ***🔗
REST request:
Code: 200
Req: {<0.83562.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a6c3e815cf319873">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjM0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:01:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,9346}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost">>,
<<"makrolika">>},
body => <<>>,return_headers => true}
*** User 2024-03-21 08:01:45.105 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1' id='pushee5d029df27c2ac9' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-21 08:01:45.106 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:01:45.106 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
</stream:stream>
*** User 2024-03-21 08:01:45.106 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:01:45.107 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
</stream:stream>
*** User 2024-03-21 08:01:45.107 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:01:45.108 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
</stream:stream>
*** User 2024-03-21 08:01:45.108 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:01:45.108 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3234@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-21 08:01:45
=== successfully completed test case
=== === Returned value: ok