=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.88213.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@d2b9c060e4a6.2024-03-12_11.08.00/big_tests.tests.rest_client_SUITE.logs/run.2024-03-12_11.25.55/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.110468.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@d2b9c060e4a6.2024-03-12_11.08.00/big_tests.tests.rest_client_SUITE.logs/run.2024-03-12_11.25.55/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_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_amp => #{},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_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@d2b9c060e4a6.2024-03-12_11.08.00"
=== Started at 2024-03-12 11:25:56
*** User 2024-03-12 11:25:56.863 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.863 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ecd95cb45da7c6c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 11:25:56.863 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.863 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjg5AG1hdHlncnlzYQ==</auth>
*** User 2024-03-12 11:25:56.864 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 11:25:56.864 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.864 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b74300d960573759' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost'>
*** User 2024-03-12 11:25:56.865 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.865 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<iq type='set' id='224e1bbd22b3a2310a4a74ba4aaeb4b8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 11:25:56.865 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq id='224e1bbd22b3a2310a4a74ba4aaeb4b8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 11:25:56.865 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<iq type='set' id='6b331c742fa65f29a815e837eb39924d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:56.865 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' id='6b331c742fa65f29a815e837eb39924d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:56.865 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<presence/>
*** User 2024-03-12 11:25:56.866 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1'/>
*** User 2024-03-12 11:25:56.867 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.867 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b30c35404f3c818' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 11:25:56.867 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.867 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzI4OQBtYWtyb2xpa2E=</auth>
*** User 2024-03-12 11:25:56.869 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 11:25:56.869 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.869 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef9f4fa62300629e' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost'>
*** User 2024-03-12 11:25:56.869 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.869 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<iq type='set' id='1234e757c0962d3572df8c71f92926e1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 11:25:56.869 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq id='1234e757c0962d3572df8c71f92926e1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 11:25:56.869 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<iq type='set' id='6a7a5be39ad80219f2f836a0a70c2ad4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:56.870 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' id='6a7a5be39ad80219f2f836a0a70c2ad4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:56.870 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<presence/>
*** User 2024-03-12 11:25:56.871 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1'/>
*** User 2024-03-12 11:25:56.872 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.872 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5a54cd95f70b609' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 11:25:56.872 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.872 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyODkAbWFrcm93ZTtw</auth>
*** User 2024-03-12 11:25:56.873 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 11:25:56.873 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.873 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='50c0f69215c11ce4' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost'>
*** User 2024-03-12 11:25:56.873 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.873 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<iq type='set' id='b739ef3a10230ad13d1028c7ae2d6ebd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 11:25:56.874 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq id='b739ef3a10230ad13d1028c7ae2d6ebd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 11:25:56.874 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<iq type='set' id='0be152a278cfd1bf04d0be5f5e8f8b97'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:56.874 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' id='0be152a278cfd1bf04d0be5f5e8f8b97' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:56.874 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<presence/>
*** User 2024-03-12 11:25:56.876 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1'/>
*** User 2024-03-12 11:25:56.877 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.877 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6581c2d9c5693b28' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 11:25:56.877 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.877 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMyODkAbmljbmllbWE=</auth>
*** User 2024-03-12 11:25:56.878 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 11:25:56.878 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.878 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6988b243a1d2dd07' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost'>
*** User 2024-03-12 11:25:56.878 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@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-03-12 11:25:56.878 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<iq type='set' id='8aab07252edae6bdeafaca750c74fcd7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 11:25:56.878 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq id='8aab07252edae6bdeafaca750c74fcd7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 11:25:56.878 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<iq type='set' id='0792d997bf8a2ac124ca056d14b39380'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:56.879 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' id='0792d997bf8a2ac124ca056d14b39380' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 11:25:56.879 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
<presence/>
*** User 2024-03-12 11:25:56.880 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1'/>
*** User 2024-03-12 11:25:56.910 ***🔗
REST request:
Code: 204
Req: {<0.88340.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b0487a2da30d2dad">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjg5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:55 GMT">>}],
<<>>,80,5261}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-03-12 11:25:56.910 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' id='pushc88d9a215d4d518c' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-12 11:25:56.918 ***🔗
REST request:
Code: 204
Req: {<0.88392.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e75bff284d85c2df">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjg5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:55 GMT">>}],
<<>>,80,3437}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-03-12 11:25:56.918 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' id='push090048b08cdb25d3' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-12 11:25:56.931 ***🔗
REST request:
Code: 200
Req: {<0.88427.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"24a4bdda242b3d51">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjg5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:56 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost\"]}">>,
209,8453}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost\"]}">>,
role => client,return_headers => true}
*** User 2024-03-12 11:25:56.937 ***🔗
REST request:
Code: 200
Req: {<0.88464.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c4f812d1353ae612">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMjg5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 12 Mar 2024 11:25:56 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2567}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost">>,
<<"makrolika">>},
body => <<>>,role => client,return_headers => true}
*** User 2024-03-12 11:25:56.937 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1' id='pushd1bcf856d16c788f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-12 11:25:56.937 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
</stream:stream>
*** User 2024-03-12 11:25:56.938 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
</stream:stream>
*** User 2024-03-12 11:25:56.938 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
</stream:stream>
*** User 2024-03-12 11:25:56.938 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
</stream:stream>
*** User 2024-03-12 11:25:56.938 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
</stream:stream>
*** User 2024-03-12 11:25:56.938 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
</stream:stream>
*** User 2024-03-12 11:25:56.938 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 out
</stream:stream>
*** User 2024-03-12 11:25:56.939 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3289@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-12 11:25:56
=== successfully completed test case
=== === Returned value: ok