=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.89182.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"pgsql_mnesia"},
{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@8a2dd56084c3.2024-04-16_12.56.12/big_tests.tests.rest_client_SUITE.logs/run.2024-04-16_13.12.23/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.235010.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@8a2dd56084c3.2024-04-16_12.56.12/big_tests.tests.rest_client_SUITE.logs/run.2024-04-16_13.12.23/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_amp => #{},
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_sic => #{iqdisc => one_queue},
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 => mnesia,
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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{inactivity => 30,max_pause => 120,max_wait => infinity,
server_acks => false,backend => mnesia},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@8a2dd56084c3.2024-04-16_12.56.12"
=== Started at 2024-04-16 13:12:25
*** User 2024-04-16 13:12:25.543 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.543 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ab333b5d72db54a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 13:12:25.543 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.543 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk0AG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 13:12:25.544 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 13:12:25.544 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.544 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d74a89062358360' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost'>
*** User 2024-04-16 13:12:25.544 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.544 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<iq type='set' id='54b15270d3db4da0c5f2836fa067b458'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 13:12:25.545 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq id='54b15270d3db4da0c5f2836fa067b458' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 13:12:25.545 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<iq type='set' id='64c4c9afccf5f996d4ba9f5e9fbb7bf6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:25.546 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' id='64c4c9afccf5f996d4ba9f5e9fbb7bf6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:25.546 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<presence/>
*** User 2024-04-16 13:12:25.547 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1'/>
*** User 2024-04-16 13:12:25.548 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.548 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3ee2b76869b8181' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 13:12:25.549 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.549 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzM5NABtYWtyb2xpa2E=</auth>
*** User 2024-04-16 13:12:25.550 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 13:12:25.550 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.550 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='304351d5e3775307' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost'>
*** User 2024-04-16 13:12:25.550 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.550 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<iq type='set' id='fa5314dbbc25edc75da73c01b8146b32'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 13:12:25.551 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq id='fa5314dbbc25edc75da73c01b8146b32' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 13:12:25.551 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<iq type='set' id='81521c736f9d3b7cebb2aee72dcc620b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:25.551 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' id='81521c736f9d3b7cebb2aee72dcc620b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:25.552 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<presence/>
*** User 2024-04-16 13:12:25.553 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1'/>
*** User 2024-04-16 13:12:25.554 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.554 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9da6a612c0890e55' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 13:12:25.554 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.555 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzOTQAbWFrcm93ZTtw</auth>
*** User 2024-04-16 13:12:25.556 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 13:12:25.556 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.557 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d7090d3348b9fde' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost'>
*** User 2024-04-16 13:12:25.557 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.557 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<iq type='set' id='ffd71693cfc49744a0f19deb7e5f0a5b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 13:12:25.557 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq id='ffd71693cfc49744a0f19deb7e5f0a5b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 13:12:25.557 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<iq type='set' id='aa47677feea0e4634d172b21934540ca'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:25.564 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' id='aa47677feea0e4634d172b21934540ca' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:25.564 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<presence/>
*** User 2024-04-16 13:12:25.571 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1'/>
*** User 2024-04-16 13:12:25.572 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.582 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb809cabdc513ec2' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 13:12:25.582 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.582 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzOTQAbmljbmllbWE=</auth>
*** User 2024-04-16 13:12:25.586 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 13:12:25.586 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.587 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f95e2aafe8188e1' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost'>
*** User 2024-04-16 13:12:25.587 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@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-16 13:12:25.587 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<iq type='set' id='dbe7cfbd1af516d43a39d9dd826cfc8c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 13:12:25.587 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq id='dbe7cfbd1af516d43a39d9dd826cfc8c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 13:12:25.587 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<iq type='set' id='2235084de465aff8e5fe93bef5345ef3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:25.588 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' id='2235084de465aff8e5fe93bef5345ef3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:25.588 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
<presence/>
*** User 2024-04-16 13:12:25.591 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1'/>
*** User 2024-04-16 13:12:25.612 ***🔗
REST request:
Code: 204
Req: {<0.89301.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"475906a26513926c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:24 GMT">>}],
<<>>,80,8253}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost\"}">>,
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-04-16 13:12:25.612 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' id='push704d5e04371e65ab' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 13:12:25.630 ***🔗
REST request:
Code: 204
Req: {<0.89341.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"35372bdac6404306">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:24 GMT">>}],
<<>>,80,10077}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost\"}">>,
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-04-16 13:12:25.630 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' id='pushe7d56d75e08c842e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 13:12:25.646 ***🔗
REST request:
Code: 200
Req: {<0.89365.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"232b81583c7819a3">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost\"]}">>,
209,6167}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost\"]}">>,
method => <<"DELETE">>,role => client,return_headers => true}
*** User 2024-04-16 13:12:25.682 ***🔗
REST request:
Code: 200
Req: {<0.89400.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3dc1d9054a8b771d">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,29652}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost">>,
<<"makrolika">>},
body => <<>>,method => <<"GET">>,role => client,
return_headers => true}
*** User 2024-04-16 13:12:25.683 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1' id='push86556634a3523b11' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-16 13:12:25.683 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
</stream:stream>
*** User 2024-04-16 13:12:25.684 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
</stream:stream>
*** User 2024-04-16 13:12:25.685 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
</stream:stream>
*** User 2024-04-16 13:12:25.685 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
</stream:stream>
*** User 2024-04-16 13:12:25.685 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
</stream:stream>
*** User 2024-04-16 13:12:25.686 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
</stream:stream>
*** User 2024-04-16 13:12:25.686 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 out
</stream:stream>
*** User 2024-04-16 13:12:25.687 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3394@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 13:12:25
=== successfully completed test case
=== === Returned value: ok