=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.72918.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.rest_client_SUITE.logs/run.2023-11-17_15.23.12/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.208130.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.rest_client_SUITE.logs/run.2023-11-17_15.23.12/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_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_sic => #{iqdisc => one_queue},
mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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@9f12fc69b406.2023-11-17_15.10.18"
=== Started at 2023-11-17 15:23:13
*** User 2023-11-17 15:23:13.953 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.953 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='248f9c51df17838c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:23:13.953 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.953 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNzE0AG1hdHlncnlzYQ==</auth>
*** User 2023-11-17 15:23:13.954 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:23:13.954 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.954 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89eeb89f10874277' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com'>
*** User 2023-11-17 15:23:13.954 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.954 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<iq type='set' id='3a05c03c334e7bdebeb3f9c0748645db'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:23:13.954 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq id='3a05c03c334e7bdebeb3f9c0748645db' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:23:13.954 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<iq type='set' id='8d6f657544e8422cfd431a8492f405b5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:13.955 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' id='8d6f657544e8422cfd431a8492f405b5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:13.955 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:23:13.956 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1'/>
*** User 2023-11-17 15:23:13.957 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.957 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0aaae439174a85b8' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:23:13.957 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.957 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjcxNABtYWtyb2xpa2E=</auth>
*** User 2023-11-17 15:23:13.960 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:23:13.960 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.961 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2eb06cc6f12ecdab' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com'>
*** User 2023-11-17 15:23:13.961 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.961 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<iq type='set' id='c4827741cb86277704a672e604036b6c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:23:13.961 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq id='c4827741cb86277704a672e604036b6c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:23:13.961 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<iq type='set' id='b4e2562e3ca8e64d0b1481f47246aa5f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:13.961 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' id='b4e2562e3ca8e64d0b1481f47246aa5f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:13.962 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:23:13.963 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1'/>
*** User 2023-11-17 15:23:13.963 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.963 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f522d93a86f8f2bc' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:23:13.964 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.964 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI3MTQAbWFrcm93ZTtw</auth>
*** User 2023-11-17 15:23:13.964 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:23:13.965 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.965 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee463b66f491d6f0' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com'>
*** User 2023-11-17 15:23:13.965 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.965 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<iq type='set' id='931964887f51896ed196f77b605c78fd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:23:13.965 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq id='931964887f51896ed196f77b605c78fd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:23:13.965 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<iq type='set' id='f880fc646532338eb45d0b10505e7d83'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:13.965 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' id='f880fc646532338eb45d0b10505e7d83' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:13.966 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:23:13.967 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1'/>
*** User 2023-11-17 15:23:13.968 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.968 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e5783c95e043ca6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:23:13.968 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.968 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI3MTQAbmljbmllbWE=</auth>
*** User 2023-11-17 15:23:13.969 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:23:13.969 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.969 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa36963e43efbec4' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com'>
*** User 2023-11-17 15:23:13.969 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@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 2023-11-17 15:23:13.969 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<iq type='set' id='551d6b1faaf8a4de021ca809265248ae'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-17 15:23:13.970 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq id='551d6b1faaf8a4de021ca809265248ae' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-11-17 15:23:13.970 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<iq type='set' id='1b83b19b5d1123c30f965ca120d47900'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:13.970 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' id='1b83b19b5d1123c30f965ca120d47900' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:23:13.970 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
<presence/>
*** User 2023-11-17 15:23:13.971 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1'/>
*** User 2023-11-17 15:23:13.979 ***🔗
REST request:
Code: 204
Req: {<0.73047.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f42414acc8894b0f">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNzE0QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:13 GMT">>}],
<<>>,80,3836}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\"}">>,
role => client,return_headers => true}
*** User 2023-11-17 15:23:13.979 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' id='push6fab93e7124d0efe' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:14.015 ***🔗
REST request:
Code: 204
Req: {<0.73091.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3986a7080b36e893">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNzE0QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:13 GMT">>}],
<<>>,80,31295}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\"}">>,
role => client,return_headers => true}
*** User 2023-11-17 15:23:14.015 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' id='pushc4fb6096f3b2b368' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:14.024 ***🔗
REST request:
Code: 200
Req: {<0.73118.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a1e6b124f85aea8a">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNzE0QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:13 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\"]}">>,
218,5355}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com\"]}">>,
role => client,return_headers => true}
*** User 2023-11-17 15:23:14.031 ***🔗
REST request:
Code: 200
Req: {<0.73154.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1a5a89fb29752c89">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNzE0QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 17 Nov 2023 15:23:13 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2235}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com">>,
<<"makrolika">>},
body => <<>>,role => client,return_headers => true}
*** User 2023-11-17 15:23:14.031 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1' id='push7ddd4cabe02deae1' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com'/>
</query>
</iq>
*** User 2023-11-17 15:23:14.031 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:23:14.031 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-17 15:23:14.032 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:23:14.032 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-17 15:23:14.032 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:23:14.032 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
</stream:stream>
*** User 2023-11-17 15:23:14.032 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 out
</stream:stream>
*** User 2023-11-17 15:23:14.033 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_2714@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-11-17 15:23:14
=== successfully completed test case
=== === Returned value: ok