=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.23949.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.rest_client_SUITE.logs/run.2022-05-25_10.51.25/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.67587.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.rest_client_SUITE.logs/run.2022-05-25_10.51.25/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 => 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@901bd2a377ee.2022-05-25_10.38.09"
=== Started at 2022-05-25 10:51:45
*** User 2022-05-25 10:51:45.476 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.477 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='089358105b8ab874' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:45.477 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.477 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNTkzAG1hdHlncnlzYQ==</auth>
*** User 2022-05-25 10:51:45.480 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:51:45.480 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.480 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4bc7b00e96f9bb0c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:45.480 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.480 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<iq type='set' id='c4c0e030fe85069e3079d449d311c4e7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:51:45.481 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq id='c4c0e030fe85069e3079d449d311c4e7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:51:45.481 ***
alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<iq type='set' id='9c55ed3006e8940309f16c792a88a391'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:45.482 ***
alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq type='result' id='9c55ed3006e8940309f16c792a88a391'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:45.482 ***
alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<presence/>
*** User 2022-05-25 10:51:45.485 ***
alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:51:45.486 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.486 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0276864e4e8c71c4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:45.486 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.486 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTU5MwBtYWtyb2xpa2E=</auth>
*** User 2022-05-25 10:51:45.495 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:51:45.495 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.575 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5b7b07013a82c78' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:45.575 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.575 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<iq type='set' id='d9560539357b9f02eff447f7344ba29a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:51:45.575 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq id='d9560539357b9f02eff447f7344ba29a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:51:45.575 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<iq type='set' id='9c93a39a882060e655c355deaab3e523'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:45.576 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq type='result' id='9c93a39a882060e655c355deaab3e523'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:45.576 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<presence/>
*** User 2022-05-25 10:51:45.579 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:51:45.580 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.581 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ce4ed3ecf22ecc9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:45.581 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.581 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE1OTMAbWFrcm93ZTtw</auth>
*** User 2022-05-25 10:51:45.583 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:51:45.583 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.584 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='946b45e23c974cd4' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:45.584 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.584 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<iq type='set' id='e6fb8dd4d8e32008f9b6b32fe463baa7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:51:45.584 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq id='e6fb8dd4d8e32008f9b6b32fe463baa7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:51:45.584 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<iq type='set' id='a3deecb0c2dd52bc760f8c6f80fd8c61'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:45.585 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq type='result' id='a3deecb0c2dd52bc760f8c6f80fd8c61'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:45.585 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<presence/>
*** User 2022-05-25 10:51:45.588 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:51:45.589 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.590 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7a33eb67ed72c39' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:45.590 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.590 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE1OTMAbmljbmllbWE=</auth>
*** User 2022-05-25 10:51:45.592 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:51:45.592 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.592 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dd14df3b766bdfbd' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:51:45.593 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@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-25 10:51:45.593 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<iq type='set' id='9fb036d2517287c56e9ecb098aab7605'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:51:45.594 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq id='9fb036d2517287c56e9ecb098aab7605' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:51:45.594 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<iq type='set' id='8add49fa1488dd9bb61b456b55c09b7f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:45.594 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq type='result' id='8add49fa1488dd9bb61b456b55c09b7f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:51:45.594 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
<presence/>
*** User 2022-05-25 10:51:45.677 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:51:45.692 ***
REST request:
Code: 204
Req: {<0.24079.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"34a175e8eb523eb6">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNTkzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:45 GMT">>}],
<<>>,80,5785}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:45.692 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' id='push863dcb13a8431c1f' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:45.787 ***
REST request:
Code: 204
Req: {<0.24104.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ff70ef13473e4c9a">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNTkzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:45 GMT">>}],
<<>>,80,9748}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:45.787 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' id='push6417a27d8b732e67' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:45.880 ***
REST request:
Code: 200
Req: {<0.24138.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"97d4965013c7e829">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNTkzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:45 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost\"]}">>,
209,81763}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:45.890 ***
REST request:
Code: 200
Req: {<0.24167.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c40741067eb94339">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNTkzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 25 May 2022 10:51:45 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2305}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-05-25 10:51:45.890 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1' id='push206e6ab05e7d7884' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost'/>
</query>
</iq>
*** User 2022-05-25 10:51:45.890 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:51:45.891 ***
mike_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
</stream:stream>
*** User 2022-05-25 10:51:45.891 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:51:45.891 ***
kate_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
</stream:stream>
*** User 2022-05-25 10:51:45.891 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:51:45.891 ***
bob_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
</stream:stream>
*** User 2022-05-25 10:51:45.891 ***
alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:51:45.892 ***
alice_add_and_remove_some_contacts_with_nonexisting_1593@localhost/res1 in
</stream:stream>
=== Ended at 2022-05-25 10:51:45
=== successfully completed test case
=== === Returned value: ok