=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.83827.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.rest_client_SUITE.logs/run.2024-04-18_11.10.07/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.151939.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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.rest_client_SUITE.logs/run.2024-04-18_11.10.07/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_amp => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => cets,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18"
=== Started at 2024-04-18 11:10:09
*** User 2024-04-18 11:10:09.206 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:10:09.207 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66f8987e347c7db0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:10:09.207 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:10:09.207 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE0AG1hdHlncnlzYQ==</auth>
*** User 2024-04-18 11:10:09.207 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:10:09.208 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:10:09.208 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ee0031487c0fd94' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost'>
*** User 2024-04-18 11:10:09.208 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:10:09.208 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<iq type='set' id='7b2c508b830ed36ec6805c9447015082'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-18 11:10:09.208 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq id='7b2c508b830ed36ec6805c9447015082' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-18 11:10:09.208 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<iq type='set' id='9bf02097dfc7674be5af28a84ebbcfb1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:10:09.209 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' id='9bf02097dfc7674be5af28a84ebbcfb1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:10:09.209 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<presence/>
*** User 2024-04-18 11:10:09.210 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1'/>
*** User 2024-04-18 11:10:09.211 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:10:09.211 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54d543b078bd66d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:10:09.211 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:10:09.211 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzAxNABtYWtyb2xpa2E=</auth>
*** User 2024-04-18 11:10:09.212 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:10:09.212 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:10:09.212 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66162d1fbc6d33db' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost'>
*** User 2024-04-18 11:10:09.212 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:10:09.212 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<iq type='set' id='30b071f7ccbab6ebec32a9a2cb51e9ea'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-18 11:10:09.212 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq id='30b071f7ccbab6ebec32a9a2cb51e9ea' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-18 11:10:09.213 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<iq type='set' id='b28c03d7e542c25a41b3eea026b8db94'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:10:09.213 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' id='b28c03d7e542c25a41b3eea026b8db94' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:10:09.213 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<presence/>
*** User 2024-04-18 11:10:09.215 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1'/>
*** User 2024-04-18 11:10:09.216 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:10:09.216 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e9817524de982b82' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:10:09.216 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:10:09.216 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMwMTQAbWFrcm93ZTtw</auth>
*** User 2024-04-18 11:10:09.217 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:10:09.217 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:10:09.217 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='07eacb223d4ed9c1' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost'>
*** User 2024-04-18 11:10:09.217 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:10:09.217 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<iq type='set' id='46de99344683e0f4661c3c8e8d12bfa5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-18 11:10:09.218 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq id='46de99344683e0f4661c3c8e8d12bfa5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-18 11:10:09.218 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<iq type='set' id='0aae179f9d679c6b2e034c96a8870a01'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:10:09.218 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' id='0aae179f9d679c6b2e034c96a8870a01' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:10:09.218 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<presence/>
*** User 2024-04-18 11:10:09.220 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1'/>
*** User 2024-04-18 11:10:09.220 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:10:09.221 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1988ac3b6cf65398' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-18 11:10:09.221 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:10:09.221 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMwMTQAbmljbmllbWE=</auth>
*** User 2024-04-18 11:10:09.222 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-18 11:10:09.222 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-18 11:10:09.222 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc961aa3a520e920' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost'>
*** User 2024-04-18 11:10:09.222 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-18 11:10:09.222 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<iq type='set' id='e8f042e03c6a6add9e47c97416e1c861'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-18 11:10:09.223 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq id='e8f042e03c6a6add9e47c97416e1c861' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-18 11:10:09.223 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<iq type='set' id='7cc70d897b9fa3e9da4ba98fd04db8ad'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:10:09.223 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' id='7cc70d897b9fa3e9da4ba98fd04db8ad' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-18 11:10:09.223 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
<presence/>
*** User 2024-04-18 11:10:09.225 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1'/>
*** User 2024-04-18 11:10:09.251 ***🔗
REST request:
Code: 204
Req: {<0.83960.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d77817a33cb9d9d2">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>}],
<<>>,80,20798}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost\"}">>,
role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-18 11:10:09.251 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' id='push2a99a66cef06ede4' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-18 11:10:09.258 ***🔗
REST request:
Code: 204
Req: {<0.83996.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7a7b00aa72a0c6db">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>}],
<<>>,80,2260}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost\"}">>,
role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-18 11:10:09.258 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' id='pushd94b4808220772de' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-18 11:10:09.267 ***🔗
REST request:
Code: 200
Req: {<0.84020.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"108164fb8c15cf1c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost\"]}">>,
209,4178}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost\"]}">>,
role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-18 11:10:09.273 ***🔗
REST request:
Code: 200
Req: {<0.84059.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2d23f9ee3e84fd8d">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDE0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1961}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-18 11:10:09.273 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1' id='push031fcddf2a797598' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-18 11:10:09.273 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
</stream:stream>
*** User 2024-04-18 11:10:09.273 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
</stream:stream>
*** User 2024-04-18 11:10:09.274 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
</stream:stream>
*** User 2024-04-18 11:10:09.274 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
</stream:stream>
*** User 2024-04-18 11:10:09.274 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
</stream:stream>
*** User 2024-04-18 11:10:09.274 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
</stream:stream>
*** User 2024-04-18 11:10:09.274 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 out
</stream:stream>
*** User 2024-04-18 11:10:09.274 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3014@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-18 11:10:09
=== successfully completed test case
=== === Returned value: ok