=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.90385.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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_07.02.48/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.245762.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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_07.02.48/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_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_amp => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7856d109ddbc.2024-04-23_06.47.05"
=== Started at 2024-04-23 07:02:50
*** User 2024-04-23 07:02:50.456 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.456 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29f9705aa9e4871f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 07:02:50.456 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.456 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDEwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 07:02:50.457 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 07:02:50.457 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.457 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5a5d40cfe4ac83d' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost'>
*** User 2024-04-23 07:02:50.457 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.457 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<iq type='set' id='2e323e1b89f4000be54666f415c5eab8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 07:02:50.458 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq id='2e323e1b89f4000be54666f415c5eab8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 07:02:50.458 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<iq type='set' id='87af6f6c7a8ab6fc42c409d0beb31007'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:02:50.458 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' id='87af6f6c7a8ab6fc42c409d0beb31007' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:02:50.458 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<presence/>
*** User 2024-04-23 07:02:50.459 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1'/>
*** User 2024-04-23 07:02:50.460 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.460 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc04ca393b08a8d3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 07:02:50.460 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.460 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzQxMABtYWtyb2xpa2E=</auth>
*** User 2024-04-23 07:02:50.461 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 07:02:50.461 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.462 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e581a33fba033170' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost'>
*** User 2024-04-23 07:02:50.462 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.462 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<iq type='set' id='b801ea7707efbe23db9472c2100168af'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 07:02:50.462 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq id='b801ea7707efbe23db9472c2100168af' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 07:02:50.462 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<iq type='set' id='2218f14522228f101b6594fc5bbb695d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:02:50.462 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' id='2218f14522228f101b6594fc5bbb695d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:02:50.463 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<presence/>
*** User 2024-04-23 07:02:50.464 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1'/>
*** User 2024-04-23 07:02:50.464 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.465 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='21bd1f0ffa826253' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 07:02:50.465 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.465 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0MTAAbWFrcm93ZTtw</auth>
*** User 2024-04-23 07:02:50.466 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 07:02:50.466 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.467 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b376f710fcf26e4d' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost'>
*** User 2024-04-23 07:02:50.467 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.467 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<iq type='set' id='f872312b260c777d7e287bb2bf9e4216'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 07:02:50.467 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq id='f872312b260c777d7e287bb2bf9e4216' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 07:02:50.467 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<iq type='set' id='503386df62bcef408a25c81b22f5f44c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:02:50.468 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' id='503386df62bcef408a25c81b22f5f44c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:02:50.468 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<presence/>
*** User 2024-04-23 07:02:50.469 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1'/>
*** User 2024-04-23 07:02:50.469 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.471 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a358084a723f6f44' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 07:02:50.471 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.471 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0MTAAbmljbmllbWE=</auth>
*** User 2024-04-23 07:02:50.472 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 07:02:50.472 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.472 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5dd204fc56ec0fde' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost'>
*** User 2024-04-23 07:02:50.472 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@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-23 07:02:50.473 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<iq type='set' id='089127bf7f090a028a0027e1e1792102'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 07:02:50.473 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq id='089127bf7f090a028a0027e1e1792102' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 07:02:50.473 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<iq type='set' id='1616b96ca776656a500438f7bbb3a1ae'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:02:50.473 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' id='1616b96ca776656a500438f7bbb3a1ae' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 07:02:50.473 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
<presence/>
*** User 2024-04-23 07:02:50.475 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1'/>
*** User 2024-04-23 07:02:50.482 ***🔗
REST request:
Code: 204
Req: {<0.90518.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4c48f4064bd432b7">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDEwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 07:02:49 GMT">>}],
<<>>,80,2464}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost">>,
<<"makrolika">>},
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-04-23 07:02:50.482 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' id='push8b86e8d56d88e3fb' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-23 07:02:50.489 ***🔗
REST request:
Code: 204
Req: {<0.90549.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e17d0f73ffbefcd4">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDEwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 07:02:49 GMT">>}],
<<>>,80,2211}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost">>,
<<"makrolika">>},
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-04-23 07:02:50.489 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' id='push5efdf4a812d0633b' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-23 07:02:50.497 ***🔗
REST request:
Code: 200
Req: {<0.90576.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3d7c873dbdd025a8">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDEwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 07:02:49 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost\"]}">>,
209,4276}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,role => client,return_headers => true}
*** User 2024-04-23 07:02:50.504 ***🔗
REST request:
Code: 200
Req: {<0.90611.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"59a71c8a1c96b04b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDEwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 07:02:49 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2114}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost">>,
<<"makrolika">>},
method => <<"GET">>,role => client,return_headers => true}
*** User 2024-04-23 07:02:50.504 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1' id='push481272bc269d0d44' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-23 07:02:50.504 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
</stream:stream>
*** User 2024-04-23 07:02:50.506 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
</stream:stream>
*** User 2024-04-23 07:02:50.506 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
</stream:stream>
*** User 2024-04-23 07:02:50.506 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
</stream:stream>
*** User 2024-04-23 07:02:50.506 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
</stream:stream>
*** User 2024-04-23 07:02:50.506 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
</stream:stream>
*** User 2024-04-23 07:02:50.506 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 out
</stream:stream>
*** User 2024-04-23 07:02:50.507 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3410@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 07:02:50
=== successfully completed test case
=== === Returned value: ok