=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.14396.2>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.rest_client_SUITE.logs/run.2022-04-04_15.15.12/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.69252.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.rest_client_SUITE.logs/run.2022-04-04_15.15.12/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 => 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@cb94372a8ea7.2022-04-04_15.02.36"
=== Started at 2022-04-04 15:15:16
*** User 2022-04-04 15:15:16.134 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.134 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34c7b724c52d56e4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:16.134 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.134 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMzc1AG1hdHlncnlzYQ==</auth>
*** User 2022-04-04 15:15:16.136 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:15:16.136 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.136 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1111021a4994202' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:16.136 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.136 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<iq type='set' id='a51fedaf88c424212987f04776d69967'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:15:16.136 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq id='a51fedaf88c424212987f04776d69967' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:15:16.136 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<iq type='set' id='682aeab6ffe2cd7958419a3b7161d806'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:16.137 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq type='result' id='682aeab6ffe2cd7958419a3b7161d806'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:16.137 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<presence/>
*** User 2022-04-04 15:15:16.139 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:16.140 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.140 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='08f788d279137e79' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:16.140 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.140 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjM3NQBtYWtyb2xpa2E=</auth>
*** User 2022-04-04 15:15:16.143 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:15:16.143 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.143 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d82f25e57c4842b9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:16.143 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.143 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<iq type='set' id='0c408a8b1fef30609270affff06351ac'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:15:16.144 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq id='0c408a8b1fef30609270affff06351ac' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:15:16.144 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<iq type='set' id='46efc009f5e4c790df04b9307fa15c8a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:16.144 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq type='result' id='46efc009f5e4c790df04b9307fa15c8a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:16.145 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<presence/>
*** User 2022-04-04 15:15:16.147 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:16.148 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.148 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a8516785e9c82a5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:16.148 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.148 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzIzNzUAbWFrcm93ZTtw</auth>
*** User 2022-04-04 15:15:16.150 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:15:16.150 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.150 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92431622507f54ec' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:16.150 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.150 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<iq type='set' id='fefbc177bcbc52c65777687598d4fae3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:15:16.151 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq id='fefbc177bcbc52c65777687598d4fae3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:15:16.151 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<iq type='set' id='57aa2c6eff06d6c2f36379dab45446a5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:16.151 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq type='result' id='57aa2c6eff06d6c2f36379dab45446a5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:16.151 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<presence/>
*** User 2022-04-04 15:15:16.155 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:16.156 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.156 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a88d3dee1e39b05f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:16.156 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.156 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzIzNzUAbmljbmllbWE=</auth>
*** User 2022-04-04 15:15:16.158 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:15:16.158 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.159 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0afcf6ecab31ded' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:16.159 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@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-04 15:15:16.159 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<iq type='set' id='0ff8c1e351db224c32e62c653f5a9655'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:15:16.159 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq id='0ff8c1e351db224c32e62c653f5a9655' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:15:16.159 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<iq type='set' id='5cb41526c327383104a0b700001553b9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:16.160 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq type='result' id='5cb41526c327383104a0b700001553b9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:15:16.160 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
<presence/>
*** User 2022-04-04 15:15:16.163 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:16.182 ***
REST request:
Code: 204
Req: {<0.14514.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4942899b1147e490">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMzc1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2375@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:15 GMT">>}],
<<>>,80,9733}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2375@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:16.183 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' id='pushd97481e5f33e84af' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_2375@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:16.252 ***
REST request:
Code: 204
Req: {<0.14549.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e51b533984e79e57">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMzc1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:15 GMT">>}],
<<>>,80,11108}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:16.252 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' id='pushbb61ab9e16980c13' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:16.275 ***
REST request:
Code: 200
Req: {<0.14587.2>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"31c60cf595108c5b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMzc1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2375@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:15 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost\"]}">>,
209,13886}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2375@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:16.338 ***
REST request:
Code: 200
Req: {<0.14616.2>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0a42d032c9229638">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMzc1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 04 Apr 2022 15:15:16 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,53587}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:16.338 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1' id='pusha8723ba4dff9858c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_2375@localhost'/>
</query>
</iq>
*** User 2022-04-04 15:15:16.338 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:15:16.338 ***
mike_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
</stream:stream>
*** User 2022-04-04 15:15:16.339 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:15:16.339 ***
kate_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
</stream:stream>
*** User 2022-04-04 15:15:16.339 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:15:16.339 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
</stream:stream>
*** User 2022-04-04 15:15:16.339 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:15:16.340 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2375@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-04 15:15:16
=== successfully completed test case
=== === Returned value: ok