=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.89620.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"odbc_mssql_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@4aeb44627b29.2024-04-22_14.49.59/big_tests.tests.rest_client_SUITE.logs/run.2024-04-22_15.07.32/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.239874.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@4aeb44627b29.2024-04-22_14.49.59/big_tests.tests.rest_client_SUITE.logs/run.2024-04-22_15.07.32/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_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_disco =>
#{server_info => [],iqdisc => one_queue,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_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@4aeb44627b29.2024-04-22_14.49.59"
=== Started at 2024-04-22 15:07:34
*** User 2024-04-22 15:07:34.608 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.608 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d55d03fd8873cd8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:07:34.609 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.609 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDE5AG1hdHlncnlzYQ==</auth>
*** User 2024-04-22 15:07:34.609 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:07:34.609 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.610 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='55c9fd1913e03f2e' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost'>
*** User 2024-04-22 15:07:34.610 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.610 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<iq type='set' id='78e9a2c0880a512eb63e3a1cf3f9ff95'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:07:34.610 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq id='78e9a2c0880a512eb63e3a1cf3f9ff95' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:07:34.610 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<iq type='set' id='207ea3eb76e86cc6f2507a2678c33fc6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:07:34.611 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' id='207ea3eb76e86cc6f2507a2678c33fc6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:07:34.611 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<presence/>
*** User 2024-04-22 15:07:34.612 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1'/>
*** User 2024-04-22 15:07:34.613 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.613 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62df8f5385f09d6b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:07:34.613 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.613 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzQxOQBtYWtyb2xpa2E=</auth>
*** User 2024-04-22 15:07:34.614 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:07:34.614 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.614 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48bb003190d2404b' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost'>
*** User 2024-04-22 15:07:34.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<iq type='set' id='e831f3dd27498acfd5913ce714fc4044'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:07:34.615 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq id='e831f3dd27498acfd5913ce714fc4044' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:07:34.615 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<iq type='set' id='ea01668fb9b9ce71245a1b97bda6dce5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:07:34.615 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' id='ea01668fb9b9ce71245a1b97bda6dce5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:07:34.616 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<presence/>
*** User 2024-04-22 15:07:34.617 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1'/>
*** User 2024-04-22 15:07:34.617 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.618 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a74539583d50527e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:07:34.618 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.618 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0MTkAbWFrcm93ZTtw</auth>
*** User 2024-04-22 15:07:34.619 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:07:34.620 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.620 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b5ffdc151e660cb' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost'>
*** User 2024-04-22 15:07:34.620 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.620 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<iq type='set' id='b0537c1e53bb93c6b574016e5c57493a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:07:34.620 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq id='b0537c1e53bb93c6b574016e5c57493a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:07:34.620 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<iq type='set' id='411b703f24ab439bd7df3be628e3486a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:07:34.621 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' id='411b703f24ab439bd7df3be628e3486a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:07:34.621 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<presence/>
*** User 2024-04-22 15:07:34.623 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1'/>
*** User 2024-04-22 15:07:34.623 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.623 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d0bc11074b7cc45' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:07:34.623 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.623 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzM0MTkAbmljbmllbWE=</auth>
*** User 2024-04-22 15:07:34.624 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:07:34.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12b7fa73ed0dfb28' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost'>
*** User 2024-04-22 15:07:34.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@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-22 15:07:34.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<iq type='set' id='8b8defc39800297dad7a086bfd71b146'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:07:34.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq id='8b8defc39800297dad7a086bfd71b146' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:07:34.625 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<iq type='set' id='973a7f64599fe7728ec6bef50b21ef58'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:07:34.626 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' id='973a7f64599fe7728ec6bef50b21ef58' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:07:34.626 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
<presence/>
*** User 2024-04-22 15:07:34.627 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1'/>
*** User 2024-04-22 15:07:34.672 ***🔗
REST request:
Code: 204
Req: {<0.89737.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7ce48d13b3a5f428">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDE5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 15:07:34 GMT">>}],
<<>>,80,39530}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-22 15:07:34.672 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' id='pushc3a89633a65f6b4e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 15:07:34.683 ***🔗
REST request:
Code: 204
Req: {<0.89769.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"486a04a3703e597d">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDE5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 15:07:34 GMT">>}],
<<>>,80,4907}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-22 15:07:34.683 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' id='push9a2c30c15a1fb53a' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-22 15:07:34.697 ***🔗
REST request:
Code: 200
Req: {<0.89811.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1d0941ca41bacb11">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDE5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 15:07:34 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost\"]}">>,
209,8552}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost\"]}">>,
method => <<"DELETE">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-22 15:07:34.706 ***🔗
REST request:
Code: 200
Req: {<0.89844.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8d57a027136610e9">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zNDE5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 22 Apr 2024 15:07:34 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,3399}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-22 15:07:34.706 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1' id='pushb8928e641380145d' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-22 15:07:34.706 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
</stream:stream>
*** User 2024-04-22 15:07:34.706 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
</stream:stream>
*** User 2024-04-22 15:07:34.706 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
</stream:stream>
*** User 2024-04-22 15:07:34.707 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
</stream:stream>
*** User 2024-04-22 15:07:34.707 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
</stream:stream>
*** User 2024-04-22 15:07:34.707 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
</stream:stream>
*** User 2024-04-22 15:07:34.707 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 out
</stream:stream>
*** User 2024-04-22 15:07:34.707 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3419@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 15:07:34
=== successfully completed test case
=== === Returned value: ok