=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.10404.2>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.149762.html"},
{tc_group_properties,[{name,roster},{repeat_until_all_ok,3},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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/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 => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:37:03
*** User 2022-01-27 15:37:03.844 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.845 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d61f7c099980aee' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.845 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@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>SCRAM-SHA-256</mechanism>
<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-01-27 15:37:03.845 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMTg4AG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:37:03.846 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:03.847 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.847 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ef7becd8fdc5fab' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.847 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.847 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<iq type='set' id='882c467da31db449329778052cf2f633'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:37:03.847 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq id='882c467da31db449329778052cf2f633' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:37:03.847 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<iq type='set' id='877cac4527aaad68346b19db179cbb4a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:37:03.848 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq type='result' id='877cac4527aaad68346b19db179cbb4a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:37:03.848 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<presence/>
*** User 2022-01-27 15:37:03.852 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:37:03.853 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.853 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='74fcf85025b61604' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.854 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@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>SCRAM-SHA-256</mechanism>
<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-01-27 15:37:03.854 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjE4OABtYWtyb2xpa2E=</auth>
*** User 2022-01-27 15:37:03.854 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:03.855 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.855 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='401514cce54aee27' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.855 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.855 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<iq type='set' id='788dfc847be7ee3cf8d887a001e7817a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:37:03.855 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq id='788dfc847be7ee3cf8d887a001e7817a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:37:03.855 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<iq type='set' id='5b78b6ad2632019d464bde3f9e703119'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:37:03.856 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq type='result' id='5b78b6ad2632019d464bde3f9e703119'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:37:03.856 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<presence/>
*** User 2022-01-27 15:37:03.859 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:37:03.860 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.861 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='390cd3fdad3b893e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.861 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@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>SCRAM-SHA-256</mechanism>
<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-01-27 15:37:03.861 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzIxODgAbWFrcm93ZTtw</auth>
*** User 2022-01-27 15:37:03.862 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:03.862 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.862 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='447ddf4811064c4a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.863 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.863 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<iq type='set' id='9bce947e5f5b09e9cc839c4c9f9d460a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:37:03.863 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq id='9bce947e5f5b09e9cc839c4c9f9d460a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:37:03.863 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<iq type='set' id='ad6431b109fcff5eab7643bd0462eefc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:37:03.863 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq type='result' id='ad6431b109fcff5eab7643bd0462eefc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:37:03.863 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<presence/>
*** User 2022-01-27 15:37:03.866 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:37:03.866 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.867 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a663b0501f9a70cf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.867 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@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>SCRAM-SHA-256</mechanism>
<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-01-27 15:37:03.867 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzIxODgAbmljbmllbWE=</auth>
*** User 2022-01-27 15:37:03.868 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:37:03.868 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.869 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3650fc71199d1234' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:37:03.869 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@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-01-27 15:37:03.869 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<iq type='set' id='52c59ed660feb1b0af88a0f2d0f688ec'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:37:03.869 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq id='52c59ed660feb1b0af88a0f2d0f688ec' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:37:03.869 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<iq type='set' id='8a7aa155e919cc593ab1636200819cd7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:37:03.870 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq type='result' id='8a7aa155e919cc593ab1636200819cd7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:37:03.870 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
<presence/>
*** User 2022-01-27 15:37:03.873 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:37:03.887 ***
REST request:
Code: 204
Req: {<0.10523.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"729663e1a99e0012">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMTg4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2188@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 15:37:03 GMT">>}],
<<>>,80,4788}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2188@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:03.887 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' id='push3c6a636248a35159' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_2188@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:37:03.976 ***
REST request:
Code: 204
Req: {<0.10552.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e7d3083567144d02">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMTg4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 15:37:03 GMT">>}],
<<>>,80,28058}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:03.976 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' id='push3b0ed23ce4553c4b' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:37:04.005 ***
REST request:
Code: 200
Req: {<0.10579.2>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c7de2a80420cc5c2">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMTg4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2188@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 15:37:03 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost\"]}">>,
209,19426}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2188@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:04.014 ***
REST request:
Code: 200
Req: {<0.10617.2>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3007497e1c3a2238">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMTg4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 15:37:03 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2017}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 15:37:04.014 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1' id='push01cd65d5e35572d0' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_2188@localhost'/>
</query>
</iq>
*** User 2022-01-27 15:37:04.014 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:37:04.014 ***
mike_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:37:04.015 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:37:04.016 ***
kate_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:37:04.016 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:37:04.017 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:37:04.017 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:37:04.041 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2188@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:37:04
=== successfully completed test case
=== === Returned value: ok