=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.16744.2>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"mysql_redis"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.rest_client_SUITE.logs/run.2022-05-11_09.09.27/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.90884.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@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.rest_client_SUITE.logs/run.2022-05-11_09.09.27/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 => rdbms,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 => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42"
=== Started at 2022-05-11 09:09:29
*** User 2022-05-11 09:09:29.939 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.940 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='299fc4364646d79f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:09:29.940 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.940 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNTE5AG1hdHlncnlzYQ==</auth>
*** User 2022-05-11 09:09:29.941 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:09:29.941 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.941 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06711578e7c556ce' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:09:29.941 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.941 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<iq type='set' id='b2a9a432aaf298812b2e6f24e879be6a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:09:29.941 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq id='b2a9a432aaf298812b2e6f24e879be6a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:09:29.942 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<iq type='set' id='cf6be8a2090d16c1c1a424c7b7fd3e92'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:09:29.942 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq type='result' id='cf6be8a2090d16c1c1a424c7b7fd3e92'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:09:29.942 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<presence/>
*** User 2022-05-11 09:09:29.946 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' xml:lang='en'/>
*** User 2022-05-11 09:09:29.946 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.946 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3032480811954178' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:09:29.946 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.947 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjUxOQBtYWtyb2xpa2E=</auth>
*** User 2022-05-11 09:09:29.947 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:09:29.947 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.948 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19b2d4ee91546d54' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:09:29.948 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.948 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<iq type='set' id='840a006670a397caff3dcf65d7e04ab2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:09:29.949 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq id='840a006670a397caff3dcf65d7e04ab2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:09:29.949 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<iq type='set' id='fc004a5d3ed928eec901e0762a4f71f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:09:29.949 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq type='result' id='fc004a5d3ed928eec901e0762a4f71f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:09:29.949 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<presence/>
*** User 2022-05-11 09:09:29.954 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' xml:lang='en'/>
*** User 2022-05-11 09:09:29.954 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.955 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e11bf41b2082620' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:09:29.955 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.955 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI1MTkAbWFrcm93ZTtw</auth>
*** User 2022-05-11 09:09:29.956 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:09:29.956 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.956 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0704f02d7065c45' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:09:29.956 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.956 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<iq type='set' id='c4b57ff460a591923b9bca2201ac3a5d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:09:29.956 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq id='c4b57ff460a591923b9bca2201ac3a5d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:09:29.956 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<iq type='set' id='95aa90922112fbd8fc4217979fefb881'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:09:29.957 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq type='result' id='95aa90922112fbd8fc4217979fefb881'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:09:29.957 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<presence/>
*** User 2022-05-11 09:09:29.961 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' xml:lang='en'/>
*** User 2022-05-11 09:09:29.961 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.962 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8bfc8a1c2b3fb7b5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:09:29.962 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.962 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI1MTkAbmljbmllbWE=</auth>
*** User 2022-05-11 09:09:29.963 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-11 09:09:29.963 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.963 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6eaaa90b0393448' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-11 09:09:29.963 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@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-05-11 09:09:29.963 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<iq type='set' id='96de24e72631858400ab6d98911f9bc4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-11 09:09:29.963 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq id='96de24e72631858400ab6d98911f9bc4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-11 09:09:29.963 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<iq type='set' id='43b29183192baaca53b9e583daf27f36'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:09:29.964 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq type='result' id='43b29183192baaca53b9e583daf27f36'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-11 09:09:29.964 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
<presence/>
*** User 2022-05-11 09:09:29.969 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' xml:lang='en'/>
*** User 2022-05-11 09:09:30.003 ***
REST request:
Code: 204
Req: {<0.16869.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c2a949fadcc5f767">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNTE5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2519@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:09:29 GMT">>}],
<<>>,80,5682}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2519@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:09:30.003 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' id='push7c4c8f4ab6a91157' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_2519@localhost'/>
</query>
</iq>
*** User 2022-05-11 09:09:30.021 ***
REST request:
Code: 204
Req: {<0.16906.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1754c872bffd8d87">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNTE5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:09:29 GMT">>}],
<<>>,80,6880}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:09:30.021 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' id='push6ccd403191b030fa' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost'/>
</query>
</iq>
*** User 2022-05-11 09:09:30.034 ***
REST request:
Code: 200
Req: {<0.16943.2>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e58a109246dbbe43">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNTE5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2519@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:09:29 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost\"]}">>,
209,5666}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2519@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:09:30.043 ***
REST request:
Code: 200
Req: {<0.16962.2>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"abda7ed9f6f71d85">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNTE5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 11 May 2022 09:09:29 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2420}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-05-11 09:09:30.043 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1' id='pushe31b12d4edfc76de' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_2519@localhost'/>
</query>
</iq>
*** User 2022-05-11 09:09:30.044 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
</stream:stream>
*** User 2022-05-11 09:09:30.044 ***
mike_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
</stream:stream>
*** User 2022-05-11 09:09:30.044 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
</stream:stream>
*** User 2022-05-11 09:09:30.044 ***
kate_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
</stream:stream>
*** User 2022-05-11 09:09:30.044 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
</stream:stream>
*** User 2022-05-11 09:09:30.044 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
</stream:stream>
*** User 2022-05-11 09:09:30.044 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 out
</stream:stream>
*** User 2022-05-11 09:09:30.045 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2519@localhost/res1 in
</stream:stream>
=== Ended at 2022-05-11 09:09:30
=== successfully completed test case
=== === Returned value: ok