=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.88543.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@04325015025b.2024-04-25_14.32.38/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_14.50.21/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.181507.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@04325015025b.2024-04-25_14.32.38/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_14.50.21/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,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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@04325015025b.2024-04-25_14.32.38"
=== Started at 2024-04-25 14:50:23
*** User 2024-04-25 14:50:23.883 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.883 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c71be54c55c49989' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:50:23.883 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.883 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk1AG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 14:50:23.884 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:50:23.884 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.885 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8b739be8b7e3d64' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost'>
*** User 2024-04-25 14:50:23.885 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.885 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<iq type='set' id='21676a30a0e89605cbbcef4042b266cb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:50:23.885 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq id='21676a30a0e89605cbbcef4042b266cb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:50:23.885 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<iq type='set' id='9514523a1820ac74fc4341b632d30bf0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:50:23.886 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' id='9514523a1820ac74fc4341b632d30bf0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:50:23.886 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<presence/>
*** User 2024-04-25 14:50:23.888 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1'/>
*** User 2024-04-25 14:50:23.889 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.889 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45113d7e40333e36' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:50:23.889 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.889 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzM5NQBtYWtyb2xpa2E=</auth>
*** User 2024-04-25 14:50:23.890 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:50:23.890 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.891 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82060e02f91d4eeb' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost'>
*** User 2024-04-25 14:50:23.891 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.891 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<iq type='set' id='e0f2f10ad3b60e91e024cd107c56d106'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:50:23.891 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq id='e0f2f10ad3b60e91e024cd107c56d106' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:50:23.891 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<iq type='set' id='a929ea9dee0b4438b6dddf9b8e3c2263'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:50:23.892 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' id='a929ea9dee0b4438b6dddf9b8e3c2263' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:50:23.892 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<presence/>
*** User 2024-04-25 14:50:23.894 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1'/>
*** User 2024-04-25 14:50:23.894 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.896 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7754e04a02fc9519' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:50:23.896 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.896 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzOTUAbWFrcm93ZTtw</auth>
*** User 2024-04-25 14:50:23.897 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:50:23.897 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.897 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a4f97ea9d022933' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost'>
*** User 2024-04-25 14:50:23.898 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.898 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<iq type='set' id='fddcb7135272b7285ea3e5317f5b6ca3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:50:23.898 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq id='fddcb7135272b7285ea3e5317f5b6ca3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:50:23.898 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<iq type='set' id='8f8119353b51132eefd7cd9858f730f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:50:23.899 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' id='8f8119353b51132eefd7cd9858f730f9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:50:23.899 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<presence/>
*** User 2024-04-25 14:50:23.901 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1'/>
*** User 2024-04-25 14:50:23.901 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.902 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dd8f32fb835ed486' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:50:23.902 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.902 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMzOTUAbmljbmllbWE=</auth>
*** User 2024-04-25 14:50:23.903 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:50:23.903 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.903 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d8090b4bbf9c825' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost'>
*** User 2024-04-25 14:50:23.903 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@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-25 14:50:23.904 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<iq type='set' id='e7e57917d943ae56f4c016786181464f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:50:23.904 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq id='e7e57917d943ae56f4c016786181464f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:50:23.904 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<iq type='set' id='1b3383e8d39b8f37464d26101f6e6f0b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:50:23.904 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' id='1b3383e8d39b8f37464d26101f6e6f0b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:50:23.904 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
<presence/>
*** User 2024-04-25 14:50:23.906 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1'/>
*** User 2024-04-25 14:50:23.965 ***🔗
REST request:
Code: 204
Req: {<0.88658.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1e1b64e1d121c10a">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:50:23 GMT">>}],
<<>>,80,11489}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost\"}">>,
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:50:23.965 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' id='push9e285d98a80d0aa9' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 14:50:23.979 ***🔗
REST request:
Code: 204
Req: {<0.88710.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0cc34ce31c17d9c6">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:50:23 GMT">>}],
<<>>,80,8881}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost\"}">>,
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:50:23.979 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' id='pushb4eb842c5fc9131e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 14:50:23.995 ***🔗
REST request:
Code: 200
Req: {<0.88746.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1d40a5a06d3d5f8e">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:50:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost\"]}">>,
209,10578}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost\"]}">>,
role => client,method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:50:24.057 ***🔗
REST request:
Code: 200
Req: {<0.88785.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"cc3e25550c6bcbf6">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMzk1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:50:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,55414}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body => <<>>,role => client,method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:50:24.057 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1' id='pushae20e22e54de8a35' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 14:50:24.057 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:50:24.058 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
</stream:stream>
*** User 2024-04-25 14:50:24.058 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:50:24.058 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
</stream:stream>
*** User 2024-04-25 14:50:24.058 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:50:24.059 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
</stream:stream>
*** User 2024-04-25 14:50:24.059 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:50:24.059 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3395@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-25 14:50:24
=== successfully completed test case
=== === Returned value: ok