=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.76705.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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.rest_client_SUITE.logs/run.2024-04-12_13.38.06/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.118276.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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.rest_client_SUITE.logs/run.2024-04-12_13.38.06/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_amp => #{},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
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@8a480c91a890.2024-04-12_13.25.32"
=== Started at 2024-04-12 13:38:08
*** User 2024-04-12 13:38:08.886 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.886 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='963986b6337ef551' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 13:38:08.887 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.887 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODIwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-12 13:38:08.887 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 13:38:08.887 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.888 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='41c47a856736a81d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com'>
*** User 2024-04-12 13:38:08.888 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.888 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<iq type='set' id='e2494a704218903992fdd7cce82764a7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 13:38:08.888 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq id='e2494a704218903992fdd7cce82764a7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 13:38:08.888 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<iq type='set' id='9d8f341d49d4088e8f10232b96b9be91'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:38:08.889 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' id='9d8f341d49d4088e8f10232b96b9be91' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:38:08.889 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 13:38:08.892 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1'/>
*** User 2024-04-12 13:38:08.892 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.893 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c9e820151add0bc' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 13:38:08.893 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.893 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjgyMABtYWtyb2xpa2E=</auth>
*** User 2024-04-12 13:38:08.894 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 13:38:08.894 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.894 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a48dbf009aa58bb' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com'>
*** User 2024-04-12 13:38:08.894 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.895 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<iq type='set' id='14022a17b06cfa374f2a4c365c6dc83f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 13:38:08.895 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq id='14022a17b06cfa374f2a4c365c6dc83f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 13:38:08.895 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<iq type='set' id='d80fd8ee6e0e4f53cc5178a69a2a1b0e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:38:08.897 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' id='d80fd8ee6e0e4f53cc5178a69a2a1b0e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:38:08.897 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 13:38:08.901 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1'/>
*** User 2024-04-12 13:38:08.901 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.901 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='90cea27d9e629b5e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 13:38:08.902 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.902 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI4MjAAbWFrcm93ZTtw</auth>
*** User 2024-04-12 13:38:08.903 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 13:38:08.903 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.903 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60216f120dba4d6e' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com'>
*** User 2024-04-12 13:38:08.904 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.904 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<iq type='set' id='e5e79b76038c0c81003919c342d023c0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 13:38:08.904 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq id='e5e79b76038c0c81003919c342d023c0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 13:38:08.904 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<iq type='set' id='5f4cbf415bd5093c5f10ef3967740c0c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:38:08.906 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' id='5f4cbf415bd5093c5f10ef3967740c0c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:38:08.906 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 13:38:08.909 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1'/>
*** User 2024-04-12 13:38:08.909 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.910 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b2dacb0266d4ab9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-12 13:38:08.910 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.910 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI4MjAAbmljbmllbWE=</auth>
*** User 2024-04-12 13:38:08.911 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 13:38:08.911 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.911 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1961a0aaac224f4a' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com'>
*** User 2024-04-12 13:38:08.911 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@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-12 13:38:08.912 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<iq type='set' id='9e0a8169f7451db0758eaf66569a0c86'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 13:38:08.912 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq id='9e0a8169f7451db0758eaf66569a0c86' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-12 13:38:08.912 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<iq type='set' id='2d291eb2674776fb9a7b973cfc269456'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:38:08.913 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' id='2d291eb2674776fb9a7b973cfc269456' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 13:38:08.913 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
<presence/>
*** User 2024-04-12 13:38:08.916 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1'/>
*** User 2024-04-12 13:38:08.974 ***🔗
REST request:
Code: 204
Req: {<0.76848.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"29eb0710b37e2098">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODIwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 13:38:08 GMT">>}],
<<>>,80,7972}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\"}">>,
role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-12 13:38:08.974 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' id='push4ad43c5fd63d3a01' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-12 13:38:08.988 ***🔗
REST request:
Code: 204
Req: {<0.76880.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2422d3ff775bdf45">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODIwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 13:38:08 GMT">>}],
<<>>,80,8120}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\"}">>,
role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-12 13:38:08.989 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' id='push5e1f69dcfb822bd0' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-04-12 13:38:09.005 ***🔗
REST request:
Code: 200
Req: {<0.76917.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"179e94bd243150e6">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODIwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 13:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\"]}">>,
218,11054}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com\"]}">>,
role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-12 13:38:09.013 ***🔗
REST request:
Code: 200
Req: {<0.76947.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"308e084bc35b0e11">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yODIwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 13:38:08 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2533}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,body => <<>>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-12 13:38:09.014 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1' id='push584e25a8704f1c37' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-04-12 13:38:09.014 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 13:38:09.014 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-12 13:38:09.014 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 13:38:09.014 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-12 13:38:09.015 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 13:38:09.015 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-12 13:38:09.015 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-12 13:38:09.015 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2820@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-12 13:38:09
=== successfully completed test case
=== === Returned value: ok