=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.85663.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"odbc_mssql_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@d091d39a81d0.2024-03-08_08.59.35/big_tests.tests.rest_client_SUITE.logs/run.2024-03-08_09.17.58/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.221826.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@d091d39a81d0.2024-03-08_08.59.35/big_tests.tests.rest_client_SUITE.logs/run.2024-03-08_09.17.58/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_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_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d091d39a81d0.2024-03-08_08.59.35"
=== Started at 2024-03-08 09:18:05
*** User 2024-03-08 09:18:05.625 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.625 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='611e99add833a2b8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-08 09:18:05.625 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.626 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA2AG1hdHlncnlzYQ==</auth>
*** User 2024-03-08 09:18:05.627 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-08 09:18:05.627 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.627 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7055c4a697eeba5b' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost'>
*** User 2024-03-08 09:18:05.627 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.628 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<iq type='set' id='757cc65d441e03826be193b4f313598a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-08 09:18:05.628 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq id='757cc65d441e03826be193b4f313598a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-08 09:18:05.628 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<iq type='set' id='37922daa9231f1e61944358ae52223ef'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 09:18:05.628 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' id='37922daa9231f1e61944358ae52223ef' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 09:18:05.628 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<presence/>
*** User 2024-03-08 09:18:05.631 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1'/>
*** User 2024-03-08 09:18:05.632 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.633 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a3f354f1a451030' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-08 09:18:05.633 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.633 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzIwNgBtYWtyb2xpa2E=</auth>
*** User 2024-03-08 09:18:05.635 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-08 09:18:05.635 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.635 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14def06c49a8ac21' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost'>
*** User 2024-03-08 09:18:05.635 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.635 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<iq type='set' id='e0c76943475c1a0bea55d424ea4d90ea'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-08 09:18:05.636 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq id='e0c76943475c1a0bea55d424ea4d90ea' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-08 09:18:05.636 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<iq type='set' id='f49e5342af275f72fca1c2f63faec7aa'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 09:18:05.636 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' id='f49e5342af275f72fca1c2f63faec7aa' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 09:18:05.636 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<presence/>
*** User 2024-03-08 09:18:05.639 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1'/>
*** User 2024-03-08 09:18:05.640 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.640 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f53582d91a518722' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-08 09:18:05.640 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.640 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyMDYAbWFrcm93ZTtw</auth>
*** User 2024-03-08 09:18:05.641 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-08 09:18:05.641 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.641 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1cddc862db782d8f' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost'>
*** User 2024-03-08 09:18:05.642 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.642 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<iq type='set' id='bedaa0f04a915cd92bb034470e6e861c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-08 09:18:05.642 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq id='bedaa0f04a915cd92bb034470e6e861c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-08 09:18:05.642 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<iq type='set' id='290b563a1790829ffa53b3b0951209ad'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 09:18:05.643 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' id='290b563a1790829ffa53b3b0951209ad' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 09:18:05.643 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<presence/>
*** User 2024-03-08 09:18:05.690 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1'/>
*** User 2024-03-08 09:18:05.691 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.691 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95ccbc3318bfa172' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-08 09:18:05.691 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.691 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyMDYAbmljbmllbWE=</auth>
*** User 2024-03-08 09:18:05.693 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-08 09:18:05.693 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.693 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c7ecb9b2a3d71126' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost'>
*** User 2024-03-08 09:18:05.693 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@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-08 09:18:05.693 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<iq type='set' id='e1011a8efe17025794ec7c2dd1073696'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-08 09:18:05.694 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq id='e1011a8efe17025794ec7c2dd1073696' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-08 09:18:05.694 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<iq type='set' id='4ec43975acc19427fedbb0925071f832'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 09:18:05.694 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' id='4ec43975acc19427fedbb0925071f832' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 09:18:05.694 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
<presence/>
*** User 2024-03-08 09:18:05.697 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1'/>
*** User 2024-03-08 09:18:05.717 ***🔗
REST request:
Code: 204
Req: {<0.85798.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8ff262cd8be95c77">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 08 Mar 2024 09:18:05 GMT">>}],
<<>>,80,9329}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost">>,
<<"makrolika">>},
method => <<"POST">>,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-03-08 09:18:05.717 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' id='push0c04fe900e97006b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost'/>
</query>
</iq>
*** User 2024-03-08 09:18:05.739 ***🔗
REST request:
Code: 204
Req: {<0.85836.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5f87723f3c44ad4f">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 08 Mar 2024 09:18:05 GMT">>}],
<<>>,80,9781}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost">>,
<<"makrolika">>},
method => <<"POST">>,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-03-08 09:18:05.739 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' id='pushe73522636f9e4d88' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost'/>
</query>
</iq>
*** User 2024-03-08 09:18:05.801 ***🔗
REST request:
Code: 200
Req: {<0.85878.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4e86e08a3222945f">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 08 Mar 2024 09:18:05 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost\"]}">>,
209,55423}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost\"]}">>,
role => client,return_headers => true}
*** User 2024-03-08 09:18:05.815 ***🔗
REST request:
Code: 200
Req: {<0.85910.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"44729db99ff98ee0">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjA2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 08 Mar 2024 09:18:05 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,7490}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost">>,
<<"makrolika">>},
method => <<"GET">>,body => <<>>,role => client,
return_headers => true}
*** User 2024-03-08 09:18:05.815 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1' id='push2b5b3724b674ff81' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost'/>
</query>
</iq>
*** User 2024-03-08 09:18:05.815 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
</stream:stream>
*** User 2024-03-08 09:18:05.816 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
</stream:stream>
*** User 2024-03-08 09:18:05.816 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
</stream:stream>
*** User 2024-03-08 09:18:05.816 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
</stream:stream>
*** User 2024-03-08 09:18:05.816 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
</stream:stream>
*** User 2024-03-08 09:18:05.816 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
</stream:stream>
*** User 2024-03-08 09:18:05.816 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 out
</stream:stream>
*** User 2024-03-08 09:18:05.817 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3206@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-08 09:18:05
=== successfully completed test case
=== === Returned value: ok