=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.15595.1>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,disabled},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.39.21/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.28420.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.rest_client_SUITE.logs/run.2022-03-03_10.39.21/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25"
=== Started at 2022-03-03 10:39:23
*** User 2022-03-03 10:39:23.570 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:23.570 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='401a78837fe12c0d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:23.570 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:39:23.570 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTcxAG1hdHlncnlzYQ==</auth>
*** User 2022-03-03 10:39:23.572 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:23.572 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:23.572 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4cea3958900c09ca' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:23.572 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:39:23.572 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<iq type='set' id='8f14624b11c3422a5b2bb8929d25b3cd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:39:23.573 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq id='8f14624b11c3422a5b2bb8929d25b3cd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:39:23.573 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<iq type='set' id='eae6399beb83c4c7c85694348471b683'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:39:23.573 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq type='result' id='eae6399beb83c4c7c85694348471b683'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:39:23.573 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<presence/>
*** User 2022-03-03 10:39:23.574 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:23.574 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:23.575 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23098b2d1e893d0d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:23.575 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:39:23.575 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTE3MQBtYWtyb2xpa2E=</auth>
*** User 2022-03-03 10:39:23.576 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:23.576 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:23.576 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='707da3c61fecce44' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:23.577 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:39:23.577 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<iq type='set' id='b8ba5d0532be8e2abefedee40a6cffe8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:39:23.577 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq id='b8ba5d0532be8e2abefedee40a6cffe8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:39:23.577 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<iq type='set' id='0da54689729b2393adfc7b4d7c76cf72'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:39:23.577 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq type='result' id='0da54689729b2393adfc7b4d7c76cf72'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:39:23.577 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<presence/>
*** User 2022-03-03 10:39:23.578 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:23.579 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:23.580 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b5fd94da185c899' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:23.580 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:39:23.580 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzExNzEAbWFrcm93ZTtw</auth>
*** User 2022-03-03 10:39:23.581 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:23.581 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:23.582 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b01f3d753c0b1c8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:23.582 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:39:23.582 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<iq type='set' id='d282998f16f266343ce5cc6e4b760cf8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:39:23.582 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq id='d282998f16f266343ce5cc6e4b760cf8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:39:23.583 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<iq type='set' id='a672eddd54a2c71526057ebf3e4685d4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:39:23.583 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq type='result' id='a672eddd54a2c71526057ebf3e4685d4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:39:23.583 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<presence/>
*** User 2022-03-03 10:39:23.583 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:23.584 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:23.585 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e14fef17471227d4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:23.585 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:39:23.585 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzExNzEAbmljbmllbWE=</auth>
*** User 2022-03-03 10:39:23.586 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:39:23.586 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:39:23.586 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73991eb5808e47d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:39:23.586 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:39:23.587 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<iq type='set' id='7b0567cb01cc81edcc4537169b4f4b14'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:39:23.588 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq id='7b0567cb01cc81edcc4537169b4f4b14' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:39:23.588 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<iq type='set' id='83a00356c9a9c686f949d46b94dd9fad'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:39:23.589 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq type='result' id='83a00356c9a9c686f949d46b94dd9fad'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:39:23.589 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
<presence/>
*** User 2022-03-03 10:39:23.590 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:39:23.600 ***
REST request:
Code: 204
Req: {<0.15716.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ddb1ea06d90216b8">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTcxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1171@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:39:23 GMT">>}],
<<>>,80,3124}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1171@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:23.600 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' id='push7adee1baf84de6c7' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1171@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:39:23.611 ***
REST request:
Code: 204
Req: {<0.15752.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b47dc3aac99776b2">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTcxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:39:23 GMT">>}],
<<>>,80,2513}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:23.612 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' id='push2455571c28e2579e' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:39:23.622 ***
REST request:
Code: 200
Req: {<0.15784.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1ac7034d99e5cdfa">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTcxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1171@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:39:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost\"]}">>,
209,2122}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1171@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:23.681 ***
REST request:
Code: 200
Req: {<0.15820.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d8c0e8c437c49f85">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xMTcxQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:39:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2678}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:39:23.681 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1' id='pushc6e0211580fd1fb1' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1171@localhost'/>
</query>
</iq>
*** User 2022-03-03 10:39:23.681 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:39:23.681 ***
mike_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:39:23.682 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:39:23.682 ***
kate_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:39:23.682 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:39:23.682 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:39:23.683 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:39:23.683 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1171@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:39:23
=== successfully completed test case
=== === Returned value: ok