=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.21454.1>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,riak},
{archive_wait,2500},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"riak_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.rest_client_SUITE.logs/run.2022-04-05_07.57.09/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.57731.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.rest_client_SUITE.logs/run.2022-04-05_07.57.09/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 => [],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"}]},
{welcome_message,{[],[]}}],
mod_roster =>
#{backend => riak,iqdisc => one_queue,
riak =>
#{bucket_type => <<"rosters">>,
version_bucket_type => <<"roster_versions">>},
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 => riak,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,
riak =>
#{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19"
=== Started at 2022-04-05 07:57:31
*** User 2022-04-05 07:57:31.982 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:31.984 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='708692189ef50ad0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:57:31.985 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:31.985 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5AG1hdHlncnlzYQ==</auth>
*** User 2022-04-05 07:57:31.991 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:57:31.991 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:31.992 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3644e0c64322582' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:57:31.992 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:31.992 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<iq type='set' id='7001baf0d50628f3547c5b046f14148e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-05 07:57:31.993 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq id='7001baf0d50628f3547c5b046f14148e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-05 07:57:31.994 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<iq type='set' id='1c4b029774706e4d51ecf4594d89d203'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:57:31.998 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq type='result' id='1c4b029774706e4d51ecf4594d89d203'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:57:31.998 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<presence/>
*** User 2022-04-05 07:57:32.009 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' xml:lang='en'/>
*** User 2022-04-05 07:57:32.009 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.011 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7aaefac702648450' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:57:32.011 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.011 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTY0OQBtYWtyb2xpa2E=</auth>
*** User 2022-04-05 07:57:32.070 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:57:32.070 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.079 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94de6fa286fee321' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:57:32.079 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.079 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<iq type='set' id='84cb39e09db2db9d23d7509b088d766f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-05 07:57:32.079 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq id='84cb39e09db2db9d23d7509b088d766f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-05 07:57:32.080 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<iq type='set' id='0828039f7320a2b0a68a5f7161cbfbb4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:57:32.080 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq type='result' id='0828039f7320a2b0a68a5f7161cbfbb4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:57:32.080 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<presence/>
*** User 2022-04-05 07:57:32.102 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' xml:lang='en'/>
*** User 2022-04-05 07:57:32.103 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.105 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6df054a2e0665e24' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:57:32.105 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.105 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE2NDkAbWFrcm93ZTtw</auth>
*** User 2022-04-05 07:57:32.113 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:57:32.113 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.113 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='438cfc07226c1eb2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:57:32.113 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.113 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<iq type='set' id='0aa37e695a8c2df92a8f8a70415b5a55'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-05 07:57:32.114 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq id='0aa37e695a8c2df92a8f8a70415b5a55' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-05 07:57:32.114 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<iq type='set' id='7432d6eef709d5939f42df5f575c2254'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:57:32.114 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq type='result' id='7432d6eef709d5939f42df5f575c2254'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:57:32.115 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<presence/>
*** User 2022-04-05 07:57:32.128 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' xml:lang='en'/>
*** User 2022-04-05 07:57:32.129 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.133 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f0c50a6f427eae4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:57:32.133 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.133 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE2NDkAbmljbmllbWE=</auth>
*** User 2022-04-05 07:57:32.160 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:57:32.161 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.161 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f33a896198406c00' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:57:32.161 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@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-05 07:57:32.161 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<iq type='set' id='7a035f42803e536f83ce7cd3bcc4f12a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-05 07:57:32.164 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq id='7a035f42803e536f83ce7cd3bcc4f12a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-05 07:57:32.165 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<iq type='set' id='faaae71c17689335adf4325ea3793774'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:57:32.165 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq type='result' id='faaae71c17689335adf4325ea3793774'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-05 07:57:32.165 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
<presence/>
*** User 2022-04-05 07:57:32.186 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' xml:lang='en'/>
*** User 2022-04-05 07:57:32.279 ***
REST request:
Code: 204
Req: {<0.21600.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4c0e46a0cd42d1f6">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1649@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 05 Apr 2022 07:57:32 GMT">>}],
<<>>,80,76108}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1649@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-05 07:57:32.284 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' id='push5039e68ed4cc7db6' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1649@localhost'/>
</query>
</iq>
*** User 2022-04-05 07:57:32.372 ***
REST request:
Code: 204
Req: {<0.21636.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3882e66c294c76bc">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 05 Apr 2022 07:57:32 GMT">>}],
<<>>,80,74529}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-05 07:57:32.372 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' id='pushb9e2b3f0c2571684' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost'/>
</query>
</iq>
*** User 2022-04-05 07:57:32.467 ***
REST request:
Code: 200
Req: {<0.21662.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"176be8f9223ae2ad">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1649@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 05 Apr 2022 07:57:32 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost\"]}">>,
209,63083}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1649@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-05 07:57:32.506 ***
REST request:
Code: 200
Req: {<0.21684.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9cac76fe644b1976">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 05 Apr 2022 07:57:32 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,7906}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-05 07:57:32.506 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1' id='push53428361ed91baa6' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1649@localhost'/>
</query>
</iq>
*** User 2022-04-05 07:57:32.507 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
</stream:stream>
*** User 2022-04-05 07:57:32.507 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
</stream:stream>
*** User 2022-04-05 07:57:32.508 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
</stream:stream>
*** User 2022-04-05 07:57:32.509 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
</stream:stream>
*** User 2022-04-05 07:57:32.509 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
</stream:stream>
*** User 2022-04-05 07:57:32.511 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
</stream:stream>
*** User 2022-04-05 07:57:32.511 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 out
</stream:stream>
*** User 2022-04-05 07:57:32.511 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-05 07:57:32
=== successfully completed test case
=== === Returned value: ok