=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.76754.0>},
{muc_light_host,<<"muclight.domain.example.com">>},
{mam_backend,rdbms},
{preset,"mysql_redis"},
{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@861d443f3b2c.2024-04-25_14.32.41/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_14.45.25/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.147715.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@861d443f3b2c.2024-04-25_14.32.41/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_14.45.25/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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@861d443f3b2c.2024-04-25_14.32.41"
=== Started at 2024-04-25 14:45:27
*** User 2024-04-25 14:45:27.486 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.487 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dedccb00f2f8b2d0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:45:27.487 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.487 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODM2AG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 14:45:27.488 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:45:27.488 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.488 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1f4df5ea7d644cc' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com'>
*** User 2024-04-25 14:45:27.488 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.488 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<iq type='set' id='579abd8fddf459b4e18a2f4ca6397006'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:45:27.489 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq id='579abd8fddf459b4e18a2f4ca6397006' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:45:27.489 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<iq type='set' id='820c8aaeb56c37b2d9ba888b02ddff9a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:45:27.490 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' id='820c8aaeb56c37b2d9ba888b02ddff9a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:45:27.490 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 14:45:27.497 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1'/>
*** User 2024-04-25 14:45:27.498 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.498 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d6f965f2ede3593' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:45:27.498 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.498 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjgzNgBtYWtyb2xpa2E=</auth>
*** User 2024-04-25 14:45:27.502 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:45:27.502 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.502 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8922250531c351d5' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com'>
*** User 2024-04-25 14:45:27.502 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.502 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<iq type='set' id='b804f365d398d1c50a5e14faae1c5e05'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:45:27.503 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq id='b804f365d398d1c50a5e14faae1c5e05' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:45:27.503 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<iq type='set' id='2c5728d833362e77be1037b82a38cdca'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:45:27.504 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' id='2c5728d833362e77be1037b82a38cdca' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:45:27.504 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 14:45:27.507 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1'/>
*** User 2024-04-25 14:45:27.507 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.508 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e1b792d67109cd9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:45:27.508 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.508 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI4MzYAbWFrcm93ZTtw</auth>
*** User 2024-04-25 14:45:27.510 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:45:27.510 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.510 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e80d31b4dcb86801' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com'>
*** User 2024-04-25 14:45:27.510 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.510 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<iq type='set' id='0dfed1571d1da105465e950820536930'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:45:27.510 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq id='0dfed1571d1da105465e950820536930' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:45:27.511 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<iq type='set' id='9c19ef269384f90c11b4a962ba096ba9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:45:27.512 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' id='9c19ef269384f90c11b4a962ba096ba9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:45:27.512 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 14:45:27.515 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1'/>
*** User 2024-04-25 14:45:27.516 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.516 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3bb58919fec45f8c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:45:27.516 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.516 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI4MzYAbmljbmllbWE=</auth>
*** User 2024-04-25 14:45:27.518 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:45:27.518 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.556 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ff6116b1acb1c933' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com'>
*** User 2024-04-25 14:45:27.556 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@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-04-25 14:45:27.556 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<iq type='set' id='7e036c8d6fe9e52e6919132c2043ccd4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:45:27.556 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq id='7e036c8d6fe9e52e6919132c2043ccd4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:45:27.557 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<iq type='set' id='601ccd134a399db55f60e58b42c0c70f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:45:27.558 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' id='601ccd134a399db55f60e58b42c0c70f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:45:27.558 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 14:45:27.561 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1'/>
*** User 2024-04-25 14:45:27.624 ***🔗
REST request:
Code: 204
Req: {<0.76879.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d73d6a141558df7d">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODM2QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:45:26 GMT">>}],
<<>>,80,54698}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:45:27.625 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' id='push1f160c77067deb1c' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 14:45:27.660 ***🔗
REST request:
Code: 204
Req: {<0.76948.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"aece461a4bb0c3f8">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODM2QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:45:26 GMT">>}],
<<>>,80,28967}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:45:27.661 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' id='push077e9d66a997fd44' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-25 14:45:27.679 ***🔗
REST request:
Code: 200
Req: {<0.76984.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b335eaa19680679c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODM2QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:45:26 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\"]}">>,
218,12815}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com\"]}">>,
method => <<"DELETE">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:45:27.691 ***🔗
REST request:
Code: 200
Req: {<0.77011.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ba70965aa10867c7">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODM2QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 14:45:26 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,3089}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-25 14:45:27.691 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1' id='push4bfbafe06ddd0b74' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-25 14:45:27.691 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 14:45:27.691 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 14:45:27.691 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 14:45:27.692 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 14:45:27.692 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 14:45:27.692 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 14:45:27.692 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 14:45:27.693 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2836@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 14:45:27
=== successfully completed test case
=== === Returned value: ok