=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.89381.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"pgsql_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@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_12.18.40/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.107908.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@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_12.18.40/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_amp => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
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@26557528e1a5.2024-04-25_12.01.25"
=== Started at 2024-04-25 12:18:42
*** User 2024-04-25 12:18:43.027 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.028 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ec1326e62458a71' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:18:43.028 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.028 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDkwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 12:18:43.029 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:18:43.029 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.030 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27130a4172622b72' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost'>
*** User 2024-04-25 12:18:43.030 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.030 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<iq type='set' id='cca70ad6c2bc0c0a21278af89677c2c5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:18:43.030 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq id='cca70ad6c2bc0c0a21278af89677c2c5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:18:43.030 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<iq type='set' id='80633d8c001ec08b63acc1e3e7a1342f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:43.031 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' id='80633d8c001ec08b63acc1e3e7a1342f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:43.031 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<presence/>
*** User 2024-04-25 12:18:43.033 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1'/>
*** User 2024-04-25 12:18:43.033 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.034 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a41817bd03f1fc7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:18:43.034 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.034 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzQ5MABtYWtyb2xpa2E=</auth>
*** User 2024-04-25 12:18:43.035 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:18:43.035 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.040 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ae184233bc1409a' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost'>
*** User 2024-04-25 12:18:43.040 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.040 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<iq type='set' id='c055ae7817376b8003ceb4910251580e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:18:43.041 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq id='c055ae7817376b8003ceb4910251580e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:18:43.041 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<iq type='set' id='3918d5eb617ddda9168c9954cb2cb958'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:43.042 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' id='3918d5eb617ddda9168c9954cb2cb958' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:43.042 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<presence/>
*** User 2024-04-25 12:18:43.049 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1'/>
*** User 2024-04-25 12:18:43.050 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.052 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='93bc2e00c50ef861' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:18:43.052 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.052 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0OTAAbWFrcm93ZTtw</auth>
*** User 2024-04-25 12:18:43.053 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:18:43.054 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.054 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='493770e07661160e' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost'>
*** User 2024-04-25 12:18:43.055 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.055 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<iq type='set' id='cdf7e4903c6081b273eaeb50a1a88eb3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:18:43.055 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq id='cdf7e4903c6081b273eaeb50a1a88eb3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:18:43.055 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<iq type='set' id='d32254b70b4425a3da611db7a3772f9c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:43.056 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' id='d32254b70b4425a3da611db7a3772f9c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:43.057 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<presence/>
*** User 2024-04-25 12:18:43.062 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1'/>
*** User 2024-04-25 12:18:43.067 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.068 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f3a59433570bd2a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:18:43.068 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.068 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0OTAAbmljbmllbWE=</auth>
*** User 2024-04-25 12:18:43.069 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:18:43.069 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.069 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef57cabc886d10d6' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost'>
*** User 2024-04-25 12:18:43.069 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@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-04-25 12:18:43.070 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<iq type='set' id='f8339553c5e6f44c8b5714e772ec5aef'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:18:43.070 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq id='f8339553c5e6f44c8b5714e772ec5aef' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:18:43.070 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<iq type='set' id='981c5ccb63b1f03f9312aa5d2d7f3bb6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:43.071 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' id='981c5ccb63b1f03f9312aa5d2d7f3bb6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:43.071 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
<presence/>
*** User 2024-04-25 12:18:43.074 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1'/>
*** User 2024-04-25 12:18:43.086 ***🔗
REST request:
Code: 204
Req: {<0.89526.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0c024aefb745127c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDkwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:42 GMT">>}],
<<>>,80,3995}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost\"}">>,
return_headers => true}
*** User 2024-04-25 12:18:43.086 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' id='pushcbdfb5dce7afcc25' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 12:18:43.098 ***🔗
REST request:
Code: 204
Req: {<0.89544.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"11bed227b0bb70eb">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDkwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:42 GMT">>}],
<<>>,80,5815}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost\"}">>,
return_headers => true}
*** User 2024-04-25 12:18:43.098 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' id='pushe726a7039d89a956' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 12:18:43.114 ***🔗
REST request:
Code: 200
Req: {<0.89572.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4c6cccf9241e1086">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDkwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:42 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost\"]}">>,
209,8452}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost\"]}">>,
return_headers => true}
*** User 2024-04-25 12:18:43.161 ***🔗
REST request:
Code: 200
Req: {<0.89613.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ff739f34b5363452">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDkwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:42 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2316}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost">>,
<<"makrolika">>},
body => <<>>,return_headers => true}
*** User 2024-04-25 12:18:43.162 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1' id='push03a0a13301a38412' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 12:18:43.162 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
</stream:stream>
*** User 2024-04-25 12:18:43.162 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
</stream:stream>
*** User 2024-04-25 12:18:43.162 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
</stream:stream>
*** User 2024-04-25 12:18:43.162 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
</stream:stream>
*** User 2024-04-25 12:18:43.162 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
</stream:stream>
*** User 2024-04-25 12:18:43.163 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
</stream:stream>
*** User 2024-04-25 12:18:43.163 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 out
</stream:stream>
*** User 2024-04-25 12:18:43.163 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3490@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-25 12:18:43
=== successfully completed test case
=== === Returned value: ok