=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.80104.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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_09.20.06/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.114052.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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_09.20.06/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_amp => #{},
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_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_bosh =>
#{backend => cets,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@fe524ba9ae35.2024-03-11_09.05.30"
=== Started at 2024-03-11 09:20:10
*** User 2024-03-11 09:20:10.805 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.806 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89d5d96d1c1f75f5' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:20:10.807 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.807 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTAzAG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 09:20:10.815 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:20:10.816 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.818 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a7d0ebace4edb38' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost'>
*** User 2024-03-11 09:20:10.821 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.822 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<iq type='set' id='681af7ff94d2b52ec8a35c4b3d9f9344'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:20:10.822 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq id='681af7ff94d2b52ec8a35c4b3d9f9344' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:20:10.823 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<iq type='set' id='26a9ce52c4619695e341592cb98c7bf2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:20:10.828 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' id='26a9ce52c4619695e341592cb98c7bf2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:20:10.828 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<presence/>
*** User 2024-03-11 09:20:10.841 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1'/>
*** User 2024-03-11 09:20:10.842 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.844 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc8ea595c43d831d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:20:10.844 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.844 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjkwMwBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 09:20:10.846 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:20:10.846 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.847 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6afbe18a355a7550' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost'>
*** User 2024-03-11 09:20:10.847 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.847 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<iq type='set' id='76eddfcf81ed720eb1e642a90a9686be'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:20:10.847 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq id='76eddfcf81ed720eb1e642a90a9686be' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:20:10.847 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<iq type='set' id='2862ad79111e09c56c30759ee4d505a4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:20:10.852 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' id='2862ad79111e09c56c30759ee4d505a4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:20:10.852 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<presence/>
*** User 2024-03-11 09:20:10.862 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1'/>
*** User 2024-03-11 09:20:10.862 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.881 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d417aaf158613b14' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:20:10.881 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.881 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5MDMAbWFrcm93ZTtw</auth>
*** User 2024-03-11 09:20:10.883 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:20:10.884 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.885 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35771349574fafb7' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost'>
*** User 2024-03-11 09:20:10.885 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.885 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<iq type='set' id='6ef2671ccc67b75c5c012f36a9fe0cac'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:20:10.887 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq id='6ef2671ccc67b75c5c012f36a9fe0cac' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:20:10.887 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<iq type='set' id='3f8131b2ecac8773f73642cefc0a6934'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:20:10.889 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' id='3f8131b2ecac8773f73642cefc0a6934' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:20:10.889 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<presence/>
*** User 2024-03-11 09:20:10.906 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1'/>
*** User 2024-03-11 09:20:10.907 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.914 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3cb6d91baf470b7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 09:20:10.914 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.914 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5MDMAbmljbmllbWE=</auth>
*** User 2024-03-11 09:20:10.926 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 09:20:10.927 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.927 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6ca440bda52dd2c' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost'>
*** User 2024-03-11 09:20:10.927 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@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-11 09:20:10.927 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<iq type='set' id='186af6395f29c326ee459940d5e4288d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 09:20:10.928 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq id='186af6395f29c326ee459940d5e4288d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 09:20:10.928 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<iq type='set' id='4af6ec576bbdb580271b97d6b5d7c39f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:20:10.931 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' id='4af6ec576bbdb580271b97d6b5d7c39f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 09:20:10.932 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
<presence/>
*** User 2024-03-11 09:20:10.948 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1'/>
*** User 2024-03-11 09:20:11.007 ***🔗
REST request:
Code: 204
Req: {<0.80249.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"91e94a77be50a63c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTAzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:20:10 GMT">>}],
<<>>,80,19670}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-03-11 09:20:11.008 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' id='pusha364e57c7b7948a5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:11.084 ***🔗
REST request:
Code: 204
Req: {<0.80279.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2d511b88466206cc">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTAzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:20:10 GMT">>}],
<<>>,80,46117}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-03-11 09:20:11.084 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' id='push0f6e57d194ce36c8' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:11.114 ***🔗
REST request:
Code: 200
Req: {<0.80307.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f10eae223d2a50e4">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTAzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:20:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost\"]}">>,
209,16906}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost\"]}">>,
role => client,return_headers => true}
*** User 2024-03-11 09:20:11.171 ***🔗
REST request:
Code: 200
Req: {<0.80334.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e8df9fa25bceb24b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTAzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:20:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,30217}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost">>,
<<"makrolika">>},
body => <<>>,role => client,return_headers => true}
*** User 2024-03-11 09:20:11.171 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1' id='push919bd9baf1d24255' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost'/>
</query>
</iq>
*** User 2024-03-11 09:20:11.171 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:20:11.175 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
</stream:stream>
*** User 2024-03-11 09:20:11.176 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:20:11.176 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
</stream:stream>
*** User 2024-03-11 09:20:11.176 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:20:11.176 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
</stream:stream>
*** User 2024-03-11 09:20:11.176 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 out
</stream:stream>
*** User 2024-03-11 09:20:11.177 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2903@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 09:20:11
=== successfully completed test case
=== === Returned value: ok