=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.11206.2>},
{muc_light_host,<<"muclight.domain.example.com">>},
{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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.rest_client_SUITE.logs/run.2024-03-07_11.13.25/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.233730.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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.rest_client_SUITE.logs/run.2024-03-07_11.13.25/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a458c4eb991a.2024-03-07_11.00.02"
=== Started at 2024-03-07 11:13:27
*** User 2024-03-07 11:13:27.333 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.334 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='079cb91adf450e09' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:13:27.334 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.334 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTU0AG1hdHlncnlzYQ==</auth>
*** User 2024-03-07 11:13:27.335 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-07 11:13:27.335 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.335 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1074f34b5a4b1b6e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com'>
*** User 2024-03-07 11:13:27.335 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.335 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<iq type='set' id='17ade7132e94b5dcb14a0439b27ce2d1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-07 11:13:27.336 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq id='17ade7132e94b5dcb14a0439b27ce2d1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-07 11:13:27.336 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<iq type='set' id='0a2ed4978334ef23c344001cc1ef28cb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:13:27.336 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' id='0a2ed4978334ef23c344001cc1ef28cb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:13:27.336 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<presence/>
*** User 2024-03-07 11:13:27.338 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1'/>
*** User 2024-03-07 11:13:27.338 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.339 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a3735cfac3b036d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:13:27.339 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.339 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjk1NABtYWtyb2xpa2E=</auth>
*** User 2024-03-07 11:13:27.340 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-07 11:13:27.340 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.340 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d489677e912ccf76' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com'>
*** User 2024-03-07 11:13:27.340 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.341 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<iq type='set' id='88fc1524f87504946b7822950ff65935'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-07 11:13:27.341 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq id='88fc1524f87504946b7822950ff65935' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-07 11:13:27.341 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<iq type='set' id='523123cd72bb6ec566730d3e6e035a8d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:13:27.342 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' id='523123cd72bb6ec566730d3e6e035a8d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:13:27.343 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<presence/>
*** User 2024-03-07 11:13:27.344 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1'/>
*** User 2024-03-07 11:13:27.345 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.345 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e07787e04ec3cc41' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:13:27.345 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.345 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5NTQAbWFrcm93ZTtw</auth>
*** User 2024-03-07 11:13:27.346 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-07 11:13:27.346 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.346 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='059721193d6c77e9' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com'>
*** User 2024-03-07 11:13:27.346 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.346 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<iq type='set' id='c745fdfc7631a136cd35a099dd6b8b34'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-07 11:13:27.347 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq id='c745fdfc7631a136cd35a099dd6b8b34' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-07 11:13:27.347 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<iq type='set' id='223b572c9aaa8db425eeb1006503a68d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:13:27.347 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' id='223b572c9aaa8db425eeb1006503a68d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:13:27.347 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<presence/>
*** User 2024-03-07 11:13:27.349 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1'/>
*** User 2024-03-07 11:13:27.349 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.350 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2989da66b3c901a' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:13:27.350 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.350 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI5NTQAbmljbmllbWE=</auth>
*** User 2024-03-07 11:13:27.353 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-07 11:13:27.353 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.353 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53d69003ef8982ec' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com'>
*** User 2024-03-07 11:13:27.353 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@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-03-07 11:13:27.353 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<iq type='set' id='e74c7e48bc7431db92e32684027c95b9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-07 11:13:27.353 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq id='e74c7e48bc7431db92e32684027c95b9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-07 11:13:27.354 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<iq type='set' id='de44b367b53b4cc96bcbfc551280e008'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:13:27.356 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' id='de44b367b53b4cc96bcbfc551280e008' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:13:27.356 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
<presence/>
*** User 2024-03-07 11:13:27.365 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1'/>
*** User 2024-03-07 11:13:27.375 ***🔗
REST request:
Code: 204
Req: {<0.11327.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0d8df614f4385df3">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTU0QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 07 Mar 2024 11:13:26 GMT">>}],
<<>>,80,5030}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-03-07 11:13:27.375 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' id='pushc4d62f031efe7720' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-03-07 11:13:27.385 ***🔗
REST request:
Code: 204
Req: {<0.11369.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0e9a20c71365b6e2">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTU0QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 07 Mar 2024 11:13:26 GMT">>}],
<<>>,80,3287}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-03-07 11:13:27.385 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' id='push28a58d706efbaebf' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-03-07 11:13:27.396 ***🔗
REST request:
Code: 200
Req: {<0.11403.2>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a845a94b5206db4c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTU0QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 07 Mar 2024 11:13:26 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\"]}">>,
218,5035}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-03-07 11:13:27.405 ***🔗
REST request:
Code: 200
Req: {<0.11440.2>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2f875e0a91d370bf">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yOTU0QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 07 Mar 2024 11:13:26 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2611}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-03-07 11:13:27.406 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1' id='pushcc8248b94023e7a5' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-03-07 11:13:27.406 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-07 11:13:27.406 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-07 11:13:27.406 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-07 11:13:27.407 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-07 11:13:27.407 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-07 11:13:27.407 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-07 11:13:27.407 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-07 11:13:27.408 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2954@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-07 11:13:27
=== successfully completed test case
=== === Returned value: ok