=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.75435.0>},
{muc_light_host,<<"muclight.domain.example.com">>},
{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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.rest_client_SUITE.logs/run.2024-02-26_15.55.28/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.211074.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.rest_client_SUITE.logs/run.2024-02-26_15.55.28/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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@c558b6ad2bd8.2024-02-26_15.40.27"
=== Started at 2024-02-26 15:55:29
*** User 2024-02-26 15:55:30.046 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-26 15:55:30.047 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b7025e6e3910fa0a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 15:55:30.047 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/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-02-26 15:55:30.047 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTMzAG1hdHlncnlzYQ==</auth>
*** User 2024-02-26 15:55:30.048 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 15:55:30.048 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-26 15:55:30.049 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b374b36d4a6fd7f4' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com'>
*** User 2024-02-26 15:55:30.049 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/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-02-26 15:55:30.049 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<iq type='set' id='f061e75ee649fafaac17608306380176'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-26 15:55:30.049 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq id='f061e75ee649fafaac17608306380176' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-26 15:55:30.049 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<iq type='set' id='0763c5e12393ff152b8c40e8bda58d94'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:55:30.050 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' id='0763c5e12393ff152b8c40e8bda58d94' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:55:30.050 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<presence/>
*** User 2024-02-26 15:55:30.052 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1'/>
*** User 2024-02-26 15:55:30.053 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-26 15:55:30.053 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2828239adb202a02' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 15:55:30.053 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/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-02-26 15:55:30.053 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjkzMwBtYWtyb2xpa2E=</auth>
*** User 2024-02-26 15:55:30.054 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 15:55:30.054 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-26 15:55:30.055 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e63a02fb0065e42' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com'>
*** User 2024-02-26 15:55:30.055 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/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-02-26 15:55:30.055 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<iq type='set' id='2258f72d8bb07ca6b4410ad2d7199050'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-26 15:55:30.055 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq id='2258f72d8bb07ca6b4410ad2d7199050' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-26 15:55:30.055 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<iq type='set' id='6c5f552dda5d8d797ddb7d946633128b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:55:30.056 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' id='6c5f552dda5d8d797ddb7d946633128b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:55:30.056 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<presence/>
*** User 2024-02-26 15:55:30.058 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1'/>
*** User 2024-02-26 15:55:30.058 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-26 15:55:30.059 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae90aa00d5906f8f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 15:55:30.059 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/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-02-26 15:55:30.059 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5MzMAbWFrcm93ZTtw</auth>
*** User 2024-02-26 15:55:30.085 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 15:55:30.085 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-26 15:55:30.085 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='633891ecec60155d' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com'>
*** User 2024-02-26 15:55:30.085 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/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-02-26 15:55:30.085 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<iq type='set' id='95bfed8e2c5ea53eed5eb716a7b6abf0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-26 15:55:30.086 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq id='95bfed8e2c5ea53eed5eb716a7b6abf0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-26 15:55:30.086 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<iq type='set' id='a05ddeb1d494385185bd942ec7ea3cf2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:55:30.086 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' id='a05ddeb1d494385185bd942ec7ea3cf2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:55:30.086 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<presence/>
*** User 2024-02-26 15:55:30.088 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1'/>
*** User 2024-02-26 15:55:30.089 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-26 15:55:30.089 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5dd0fd0bf2e822f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-02-26 15:55:30.089 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/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-02-26 15:55:30.089 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5MzMAbmljbmllbWE=</auth>
*** User 2024-02-26 15:55:30.090 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-26 15:55:30.090 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-02-26 15:55:30.091 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5fb7baa97be3a20a' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com'>
*** User 2024-02-26 15:55:30.091 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/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-02-26 15:55:30.091 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<iq type='set' id='e8dffd7812cdc66cc8d4e6dac2a58fd8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-26 15:55:30.091 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq id='e8dffd7812cdc66cc8d4e6dac2a58fd8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-02-26 15:55:30.091 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<iq type='set' id='21024fbfb10cce9edefab425fa5de8af'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:55:30.092 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' id='21024fbfb10cce9edefab425fa5de8af' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-26 15:55:30.092 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
<presence/>
*** User 2024-02-26 15:55:30.094 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1'/>
*** User 2024-02-26 15:55:30.106 ***🔗
REST request:
Code: 204
Req: {<0.75590.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3e4dcf997184fe50">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTMzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 26 Feb 2024 15:55:29 GMT">>}],
<<>>,80,6463}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\"}">>,
role => client,return_headers => true}
*** User 2024-02-26 15:55:30.106 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' id='push5c358273380fddf5' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-02-26 15:55:30.118 ***🔗
REST request:
Code: 204
Req: {<0.75626.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"50a19ad7e1ca74d1">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTMzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 26 Feb 2024 15:55:29 GMT">>}],
<<>>,80,5551}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\"}">>,
role => client,return_headers => true}
*** User 2024-02-26 15:55:30.118 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' id='push802b7b30da93664b' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-02-26 15:55:30.189 ***🔗
REST request:
Code: 200
Req: {<0.75665.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"724a8460a4d120ce">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTMzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 26 Feb 2024 15:55:29 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\"]}">>,
218,65205}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com">>,
<<"makrolika">>},
method => <<"DELETE">>,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com\"]}">>,
role => client,return_headers => true}
*** User 2024-02-26 15:55:30.210 ***🔗
REST request:
Code: 200
Req: {<0.75689.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f9ab3c11c1fc1dd0">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTMzQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 26 Feb 2024 15:55:29 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,16518}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com">>,
<<"makrolika">>},
method => <<"GET">>,body => <<>>,role => client,
return_headers => true}
*** User 2024-02-26 15:55:30.211 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1' id='push5365dd02c11223a3' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-02-26 15:55:30.211 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-26 15:55:30.211 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
</stream:stream>
*** User 2024-02-26 15:55:30.211 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-26 15:55:30.211 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
</stream:stream>
*** User 2024-02-26 15:55:30.211 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-26 15:55:30.212 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
</stream:stream>
*** User 2024-02-26 15:55:30.212 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 out
</stream:stream>
*** User 2024-02-26 15:55:30.214 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2933@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-02-26 15:55:30
=== successfully completed test case
=== === Returned value: ok