=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.26880.1>},
{muc_light_host,<<"muclight2.domain.example.com">>},
{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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_12.36.44/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.122626.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_12.36.44/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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@998557c7e1d1.2022-01-27_12.27.57"
=== Started at 2022-01-27 12:36:48
*** User 2022-01-27 12:36:48.091 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:48.092 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='24a55719cb6aaacc' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:48.092 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/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 12:36:48.092 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzc5AG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 12:36:48.094 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:48.094 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:48.094 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae1f9c71ce1fd0f2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:48.094 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/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 12:36:48.094 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<iq type='set' id='70311889521f55749831b76b94b552bd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:48.095 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq id='70311889521f55749831b76b94b552bd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:48.095 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<iq type='set' id='5ba82ff35b62fbadbf7303c539271362'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:48.095 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq type='result' id='5ba82ff35b62fbadbf7303c539271362'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:48.095 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:36:48.101 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:48.102 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:48.106 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='317d9b794c7767a9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:48.106 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/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 12:36:48.106 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTc3OQBtYWtyb2xpa2E=</auth>
*** User 2022-01-27 12:36:48.111 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:48.112 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:48.112 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6a0fff64408ed0c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:48.112 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/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 12:36:48.112 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<iq type='set' id='bd5efe49c16428f666341af257d29dcf'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:48.113 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq id='bd5efe49c16428f666341af257d29dcf' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:48.113 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<iq type='set' id='514d1c6082283574f7b18247342f41d4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:48.114 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq type='result' id='514d1c6082283574f7b18247342f41d4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:48.114 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:36:48.137 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:48.138 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:48.138 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c0a497c5a9761ba1' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:48.139 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/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 12:36:48.139 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE3NzkAbWFrcm93ZTtw</auth>
*** User 2022-01-27 12:36:48.148 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:48.148 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:48.150 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c51aebd2bfbd4e12' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:48.150 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/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 12:36:48.150 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<iq type='set' id='da2712b2bc86f49c82bef238dadfc27a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:48.151 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq id='da2712b2bc86f49c82bef238dadfc27a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:48.151 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<iq type='set' id='5d33b01f62d568bfe770f5e36782dbc6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:48.152 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq type='result' id='5d33b01f62d568bfe770f5e36782dbc6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:48.152 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:36:48.170 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:48.171 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:48.172 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6530189a39a2f70' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:48.172 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/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 12:36:48.172 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE3NzkAbmljbmllbWE=</auth>
*** User 2022-01-27 12:36:48.174 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:36:48.174 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:36:48.174 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3af12bcfa125d3c0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:36:48.174 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/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 12:36:48.174 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<iq type='set' id='50b038f041110d69eb0a33090ae54653'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:36:48.175 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq id='50b038f041110d69eb0a33090ae54653' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:36:48.175 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<iq type='set' id='8ff31325c76c80b223c2c42de5418fd4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:48.175 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq type='result' id='8ff31325c76c80b223c2c42de5418fd4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:36:48.175 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:36:48.183 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:36:48.204 ***
REST request:
Code: 204
Req: {<0.27027.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0cb4c3e7ab3f5c61">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzc5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 12:36:47 GMT">>}],
<<>>,80,10978}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 12:36:48.204 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' id='push9a9e82f831369ad6' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com'/>
</query>
</iq>
*** User 2022-01-27 12:36:48.251 ***
REST request:
Code: 204
Req: {<0.27044.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2e390c013390fa8c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzc5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 12:36:47 GMT">>}],
<<>>,80,5886}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 12:36:48.251 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' id='push0abcf8f5793906c2' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com'/>
</query>
</iq>
*** User 2022-01-27 12:36:48.274 ***
REST request:
Code: 200
Req: {<0.27083.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"631e52e814e1c9a9">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzc5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 12:36:48 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\"]}">>,
218,14738}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 12:36:48.289 ***
REST request:
Code: 200
Req: {<0.27102.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"33853b82caa8bad6">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzc5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 27 Jan 2022 12:36:48 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,6377}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-01-27 12:36:48.289 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1' id='push781e4a9f6c76655d' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com'/>
</query>
</iq>
*** User 2022-01-27 12:36:48.289 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:36:48.333 ***
mike_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
</stream:stream>
*** User 2022-01-27 12:36:48.334 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:36:48.334 ***
kate_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
</stream:stream>
*** User 2022-01-27 12:36:48.334 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:36:48.334 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
</stream:stream>
*** User 2022-01-27 12:36:48.334 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:36:48.335 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1779@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-01-27 12:36:48
=== successfully completed test case
=== === Returned value: ok