=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.105726.0>},
{muc_light_host,<<"muclight.localhost">>},
{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@d67ced1141dd.2024-04-16_10.12.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-16_10.31.23/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.235651.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@d67ced1141dd.2024-04-16_10.12.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-16_10.31.23/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,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_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@d67ced1141dd.2024-04-16_10.12.40"
=== Started at 2024-04-16 10:31:25
*** User 2024-04-16 10:31:25.905 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:31:25.906 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e7d01fda4dcb874' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:31:25.906 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/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-16 10:31:25.906 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ180MTk0AG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 10:31:25.907 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:31:25.907 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:31:25.907 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e4cd3bf9ff305f3' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost'>
*** User 2024-04-16 10:31:25.907 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/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-16 10:31:25.908 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<iq type='set' id='cb5188c66ab6b5ecec9b7a947f31eeeb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:31:25.908 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq id='cb5188c66ab6b5ecec9b7a947f31eeeb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:31:25.908 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<iq type='set' id='bfac9c3714ce759aec2a10fd108091aa'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:25.908 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' id='bfac9c3714ce759aec2a10fd108091aa' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:25.909 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<presence/>
*** User 2024-04-16 10:31:25.911 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1'/>
*** User 2024-04-16 10:31:25.911 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:31:25.912 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='50372ab5ae6b4438' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:31:25.912 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/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-16 10:31:25.912 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfNDE5NABtYWtyb2xpa2E=</auth>
*** User 2024-04-16 10:31:25.914 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:31:25.914 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:31:25.915 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3acd6f3fb5a06fab' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost'>
*** User 2024-04-16 10:31:25.915 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/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-16 10:31:25.915 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<iq type='set' id='234cf2f4db384844ae1b7b5c268b694e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:31:25.915 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq id='234cf2f4db384844ae1b7b5c268b694e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:31:25.916 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<iq type='set' id='c8c4d3b3ec072e065f6c5c1be43197b1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:25.916 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' id='c8c4d3b3ec072e065f6c5c1be43197b1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:25.916 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<presence/>
*** User 2024-04-16 10:31:25.918 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1'/>
*** User 2024-04-16 10:31:25.918 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:31:25.919 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='494385f3101c9da2' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:31:25.919 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/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-16 10:31:25.919 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzQxOTQAbWFrcm93ZTtw</auth>
*** User 2024-04-16 10:31:25.921 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:31:25.921 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:31:25.921 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c9a3eb868056daa' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost'>
*** User 2024-04-16 10:31:25.921 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/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-16 10:31:25.922 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<iq type='set' id='6ddd213eca6e88f91743a41cecb27584'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:31:25.922 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq id='6ddd213eca6e88f91743a41cecb27584' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:31:25.922 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<iq type='set' id='823c732f126e4da10f8f4f912cf7003f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:25.922 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' id='823c732f126e4da10f8f4f912cf7003f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:25.922 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<presence/>
*** User 2024-04-16 10:31:25.925 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1'/>
*** User 2024-04-16 10:31:25.925 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:31:25.962 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35740bc0468e6b7d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:31:25.962 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/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-16 10:31:25.962 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzQxOTQAbmljbmllbWE=</auth>
*** User 2024-04-16 10:31:25.964 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:31:25.964 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-16 10:31:25.965 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04480dc33f9ee6fb' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost'>
*** User 2024-04-16 10:31:25.965 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/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-16 10:31:25.965 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<iq type='set' id='8331b69da66b543896c14123fd19f0e2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:31:25.965 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq id='8331b69da66b543896c14123fd19f0e2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:31:25.965 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<iq type='set' id='2773174ed132c6adfbbbc2adf21b2814'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:25.966 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' id='2773174ed132c6adfbbbc2adf21b2814' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:25.966 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
<presence/>
*** User 2024-04-16 10:31:25.968 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1'/>
*** User 2024-04-16 10:31:25.981 ***🔗
REST request:
Code: 204
Req: {<0.105855.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c48277702097c704">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ180MTk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:25 GMT">>}],
<<>>,80,5928}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost\"}">>,
role => client,method => <<"POST">>,return_headers => true}
*** User 2024-04-16 10:31:25.982 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' id='push120bc7b84cfab440' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 10:31:26.024 ***🔗
REST request:
Code: 204
Req: {<0.105899.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"212d7dd121546c96">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ180MTk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:25 GMT">>}],
<<>>,80,35913}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost\"}">>,
role => client,method => <<"POST">>,return_headers => true}
*** User 2024-04-16 10:31:26.024 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' id='push2392f12bc931daf5' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-16 10:31:26.089 ***🔗
REST request:
Code: 200
Req: {<0.105956.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"59e05dc0cc06dadc">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ180MTk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost\"]}">>,
209,21006}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost\"]}">>,
role => client,method => <<"DELETE">>,return_headers => true}
*** User 2024-04-16 10:31:26.098 ***🔗
REST request:
Code: 200
Req: {<0.105983.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"16b9e271e8545378">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ180MTk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,3518}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost">>,
<<"makrolika">>},
body => <<>>,role => client,method => <<"GET">>,
return_headers => true}
*** User 2024-04-16 10:31:26.098 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1' id='push0985d1bdac4c760f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-16 10:31:26.098 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:31:26.099 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:31:26.099 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:31:26.099 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:31:26.100 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:31:26.100 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:31:26.100 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:31:26.101 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_4194@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 10:31:26
=== successfully completed test case
=== === Returned value: ok