=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.19840.1>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,disabled},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"internal_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e940550c5ac4.2022-04-29_13.53.57/big_tests.tests.rest_client_SUITE.logs/run.2022-04-29_14.04.18/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.33156.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@e940550c5ac4.2022-04-29_13.53.57/big_tests.tests.rest_client_SUITE.logs/run.2022-04-29_14.04.18/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_commands => #{},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
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"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => mnesia,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e940550c5ac4.2022-04-29_13.53.57"
=== Started at 2022-04-29 14:04:20
*** User 2022-04-29 14:04:20.414 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4dc94287aa50ca72' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:04:20.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNDM4AG1hdHlncnlzYQ==</auth>
*** User 2022-04-29 14:04:20.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:04:20.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.416 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='114b0d6eb99360b0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:04:20.416 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.416 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<iq type='set' id='336fc01339fc314be403c4dcb9b04e7b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:04:20.416 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq id='336fc01339fc314be403c4dcb9b04e7b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:04:20.416 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<iq type='set' id='170cbf5eb15a5d7a7b431c8465e724d7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:04:20.417 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq type='result' id='170cbf5eb15a5d7a7b431c8465e724d7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:04:20.417 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<presence/>
*** User 2022-04-29 14:04:20.418 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:04:20.418 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.418 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbd33903c7bcdaea' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:04:20.419 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.419 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTQzOABtYWtyb2xpa2E=</auth>
*** User 2022-04-29 14:04:20.419 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:04:20.419 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.419 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c9122b7298aa91c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:04:20.420 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.420 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<iq type='set' id='e071c447a6111c39ded90a54bfa0efe5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:04:20.420 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq id='e071c447a6111c39ded90a54bfa0efe5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:04:20.420 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<iq type='set' id='481fb0f0b1e7faa5ce66b826aeb02c7f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:04:20.420 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq type='result' id='481fb0f0b1e7faa5ce66b826aeb02c7f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:04:20.420 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<presence/>
*** User 2022-04-29 14:04:20.421 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:04:20.421 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.422 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b0c6b966c60fe168' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:04:20.422 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.422 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE0MzgAbWFrcm93ZTtw</auth>
*** User 2022-04-29 14:04:20.423 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:04:20.423 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.423 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c3f7227a39a6e71' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:04:20.423 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.424 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<iq type='set' id='628d14f701e8459865f97c05c176552d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:04:20.424 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq id='628d14f701e8459865f97c05c176552d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:04:20.424 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<iq type='set' id='cea813b1b39ebc2967a54ebd9b7b8c60'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:04:20.424 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq type='result' id='cea813b1b39ebc2967a54ebd9b7b8c60'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:04:20.424 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<presence/>
*** User 2022-04-29 14:04:20.426 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:04:20.426 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.427 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aadb02e51289e37d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:04:20.427 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.427 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE0MzgAbmljbmllbWE=</auth>
*** User 2022-04-29 14:04:20.427 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:04:20.427 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.428 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='482c634e94eb7cf0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:04:20.428 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@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-04-29 14:04:20.428 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<iq type='set' id='1ad19f0fa348f3913d6e0407a84bff7a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:04:20.428 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq id='1ad19f0fa348f3913d6e0407a84bff7a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:04:20.429 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<iq type='set' id='e592359a4a4b1005abf64f25ed1db31b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:04:20.429 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq type='result' id='e592359a4a4b1005abf64f25ed1db31b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:04:20.429 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
<presence/>
*** User 2022-04-29 14:04:20.430 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:04:20.438 ***
REST request:
Code: 204
Req: {<0.19963.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8f563e868cf128b9">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNDM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1438@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 29 Apr 2022 14:04:20 GMT">>}],
<<>>,80,845}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1438@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-29 14:04:20.439 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' id='push84db4b1afb874a49' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1438@localhost'/>
</query>
</iq>
*** User 2022-04-29 14:04:20.449 ***
REST request:
Code: 204
Req: {<0.19986.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"78fa33a12b978d69">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNDM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 29 Apr 2022 14:04:20 GMT">>}],
<<>>,80,1198}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-29 14:04:20.449 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' id='push51dfd5efb871c1c5' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost'/>
</query>
</iq>
*** User 2022-04-29 14:04:20.478 ***
REST request:
Code: 200
Req: {<0.20010.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"64b1c1ea98ebdf01">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNDM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1438@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 29 Apr 2022 14:04:20 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost\"]}">>,
209,2626}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1438@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-29 14:04:20.488 ***
REST request:
Code: 200
Req: {<0.20050.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f8c1f98d407f95de">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNDM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 29 Apr 2022 14:04:20 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,930}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-29 14:04:20.489 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1' id='push1acb7d50e5c28532' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1438@localhost'/>
</query>
</iq>
*** User 2022-04-29 14:04:20.489 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:04:20.489 ***
mike_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
</stream:stream>
*** User 2022-04-29 14:04:20.489 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:04:20.490 ***
kate_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
</stream:stream>
*** User 2022-04-29 14:04:20.490 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:04:20.490 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
</stream:stream>
*** User 2022-04-29 14:04:20.490 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:04:20.490 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1438@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-29 14:04:20
=== successfully completed test case
=== === Returned value: ok