=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.84984.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@e84896a28784.2023-12-20_12.31.47/big_tests.tests.rest_client_SUITE.logs/run.2023-12-20_12.48.35/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.90628.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@e84896a28784.2023-12-20_12.31.47/big_tests.tests.rest_client_SUITE.logs/run.2023-12-20_12.48.35/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_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e84896a28784.2023-12-20_12.31.47"
=== Started at 2023-12-20 12:48:37
*** User 2023-12-20 12:48:37.686 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-20 12:48:37.687 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c4ff05aadad992f' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-20 12:48:37.687 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@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 2023-12-20 12:48:37.687 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAwAG1hdHlncnlzYQ==</auth>
*** User 2023-12-20 12:48:37.688 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-20 12:48:37.688 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-20 12:48:37.688 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bb9b5fb412b7ce9' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost'>
*** User 2023-12-20 12:48:37.688 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@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 2023-12-20 12:48:37.688 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<iq type='set' id='4f1063146d9df0de9ce3f0c71638096a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-20 12:48:37.689 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq id='4f1063146d9df0de9ce3f0c71638096a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-20 12:48:37.689 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<iq type='set' id='783b6fa445063b313e8815f1e5f832cc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-20 12:48:37.689 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' id='783b6fa445063b313e8815f1e5f832cc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-20 12:48:37.689 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<presence/>
*** User 2023-12-20 12:48:37.691 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1'/>
*** User 2023-12-20 12:48:37.691 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-20 12:48:37.692 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9cd48bcc811f9776' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-20 12:48:37.693 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@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 2023-12-20 12:48:37.693 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzEwMABtYWtyb2xpa2E=</auth>
*** User 2023-12-20 12:48:37.703 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-20 12:48:37.703 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-20 12:48:37.704 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='36fa9a554d43b777' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost'>
*** User 2023-12-20 12:48:37.704 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@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 2023-12-20 12:48:37.704 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<iq type='set' id='f121ce53f26a5b0b331443c80f7f8b92'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-20 12:48:37.704 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq id='f121ce53f26a5b0b331443c80f7f8b92' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-20 12:48:37.704 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<iq type='set' id='0ebfbca1178d28c4fb4e931f28392662'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-20 12:48:37.705 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' id='0ebfbca1178d28c4fb4e931f28392662' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-20 12:48:37.705 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<presence/>
*** User 2023-12-20 12:48:37.707 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1'/>
*** User 2023-12-20 12:48:37.708 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-20 12:48:37.708 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f8217559fb3bd33' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-20 12:48:37.708 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@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 2023-12-20 12:48:37.708 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxMDAAbWFrcm93ZTtw</auth>
*** User 2023-12-20 12:48:37.710 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-20 12:48:37.710 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-20 12:48:37.710 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f992ec3ac1195c1' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost'>
*** User 2023-12-20 12:48:37.710 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@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 2023-12-20 12:48:37.710 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<iq type='set' id='e16e365774923af633e1cb23c44f7403'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-20 12:48:37.711 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq id='e16e365774923af633e1cb23c44f7403' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-20 12:48:37.711 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<iq type='set' id='4bf645847d342fe8d21471819f41301a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-20 12:48:37.711 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' id='4bf645847d342fe8d21471819f41301a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-20 12:48:37.711 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<presence/>
*** User 2023-12-20 12:48:37.714 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1'/>
*** User 2023-12-20 12:48:37.715 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-20 12:48:37.715 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8eab7eaea9572b0a' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-12-20 12:48:37.715 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@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 2023-12-20 12:48:37.715 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxMDAAbmljbmllbWE=</auth>
*** User 2023-12-20 12:48:37.717 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-20 12:48:37.717 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-20 12:48:37.717 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14e251d311664955' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost'>
*** User 2023-12-20 12:48:37.717 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@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 2023-12-20 12:48:37.717 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<iq type='set' id='3509d5d61a4f9a94285da23506fda577'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-20 12:48:37.718 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq id='3509d5d61a4f9a94285da23506fda577' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1</jid>
</bind>
</iq>
*** User 2023-12-20 12:48:37.718 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<iq type='set' id='55a90948877e397c97a02ee0a173cf78'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-20 12:48:37.718 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' id='55a90948877e397c97a02ee0a173cf78' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-20 12:48:37.718 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
<presence/>
*** User 2023-12-20 12:48:37.720 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1'/>
*** User 2023-12-20 12:48:37.732 ***🔗
REST request:
Code: 204
Req: {<0.85121.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"198bb09be7264915">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 20 Dec 2023 12:48:37 GMT">>}],
<<>>,80,7754}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost\"}">>,
return_headers => true}
*** User 2023-12-20 12:48:37.733 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' id='pushbe716c24a83c0772' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost'/>
</query>
</iq>
*** User 2023-12-20 12:48:37.744 ***🔗
REST request:
Code: 204
Req: {<0.85169.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d7be080c5b353d4b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 20 Dec 2023 12:48:37 GMT">>}],
<<>>,80,6868}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost\"}">>,
return_headers => true}
*** User 2023-12-20 12:48:37.744 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' id='pushf46ecc5aab1b3d4c' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost'/>
</query>
</iq>
*** User 2023-12-20 12:48:37.815 ***🔗
REST request:
Code: 200
Req: {<0.85196.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1dab1b3d7ca69856">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 20 Dec 2023 12:48:37 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost\"]}">>,
209,65352}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost\"]}">>,
return_headers => true}
*** User 2023-12-20 12:48:37.823 ***🔗
REST request:
Code: 200
Req: {<0.85234.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"15717eb6164620d7">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTAwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 20 Dec 2023 12:48:37 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,2818}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost">>,
<<"makrolika">>},
body => <<>>,return_headers => true}
*** User 2023-12-20 12:48:37.823 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1' id='push7283cd948e84e6e1' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost'/>
</query>
</iq>
*** User 2023-12-20 12:48:37.823 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
</stream:stream>
*** User 2023-12-20 12:48:37.823 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
</stream:stream>
*** User 2023-12-20 12:48:37.824 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
</stream:stream>
*** User 2023-12-20 12:48:37.824 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
</stream:stream>
*** User 2023-12-20 12:48:37.824 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
</stream:stream>
*** User 2023-12-20 12:48:37.824 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
</stream:stream>
*** User 2023-12-20 12:48:37.825 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 out
</stream:stream>
*** User 2023-12-20 12:48:37.825 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3100@localhost/res1 in
</stream:stream>
=== Ended at 2023-12-20 12:48:37
=== successfully completed test case
=== === Returned value: ok