=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.19658.2>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"pgsql_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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.rest_client_SUITE.logs/run.2023-11-16_09.20.52/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.214146.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@fca70da71937.2023-11-16_09.05.55/big_tests.tests.rest_client_SUITE.logs/run.2023-11-16_09.20.52/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fca70da71937.2023-11-16_09.05.55"
=== Started at 2023-11-16 09:20:54
*** User 2023-11-16 09:20:54.774 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.775 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccd7114517445dec' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:20:54.775 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.775 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTgyAG1hdHlncnlzYQ==</auth>
*** User 2023-11-16 09:20:54.776 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:20:54.776 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.777 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d1beab76f493abcb' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost'>
*** User 2023-11-16 09:20:54.777 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.777 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<iq type='set' id='92fd5da68daab3d01db9c99e8988bc93'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:20:54.777 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq id='92fd5da68daab3d01db9c99e8988bc93' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:20:54.777 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<iq type='set' id='2a6fd4114c660e1dc861fc7455e18615'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:54.778 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' id='2a6fd4114c660e1dc861fc7455e18615' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:54.778 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<presence/>
*** User 2023-11-16 09:20:54.781 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1'/>
*** User 2023-11-16 09:20:54.782 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.783 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab700c4b30f6bb77' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:20:54.783 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.783 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzE4MgBtYWtyb2xpa2E=</auth>
*** User 2023-11-16 09:20:54.784 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:20:54.784 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.784 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d10ac2af41013884' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost'>
*** User 2023-11-16 09:20:54.784 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.785 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<iq type='set' id='0634b3696d04a7b9b846dd086798fc4f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:20:54.785 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq id='0634b3696d04a7b9b846dd086798fc4f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:20:54.785 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<iq type='set' id='930817d6658a1291d550af1027ea43d2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:54.786 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' id='930817d6658a1291d550af1027ea43d2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:54.786 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<presence/>
*** User 2023-11-16 09:20:54.791 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1'/>
*** User 2023-11-16 09:20:54.792 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.793 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='efc3b1c0d688893f' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:20:54.793 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.793 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxODIAbWFrcm93ZTtw</auth>
*** User 2023-11-16 09:20:54.794 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:20:54.794 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.795 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3f4e284d110c82f' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost'>
*** User 2023-11-16 09:20:54.795 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.795 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<iq type='set' id='7d205fd5d178ad56dcc7f5bf30f5769c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:20:54.795 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq id='7d205fd5d178ad56dcc7f5bf30f5769c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:20:54.796 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<iq type='set' id='6bee6f2bcbf9e86ff4d830748a3d1b73'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:54.796 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' id='6bee6f2bcbf9e86ff4d830748a3d1b73' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:54.797 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<presence/>
*** User 2023-11-16 09:20:54.798 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1'/>
*** User 2023-11-16 09:20:54.799 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.799 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a1f5e16dbff9a67' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 09:20:54.800 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.800 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMxODIAbmljbmllbWE=</auth>
*** User 2023-11-16 09:20:54.801 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 09:20:54.801 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.801 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c0ca73fcf8687f2' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost'>
*** User 2023-11-16 09:20:54.801 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@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-11-16 09:20:54.802 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<iq type='set' id='4253dfb58fa0547979cbeb3ec23cb0b5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 09:20:54.802 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq id='4253dfb58fa0547979cbeb3ec23cb0b5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 09:20:54.802 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<iq type='set' id='01482d6f0e417c8c349997729624c6fd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:54.803 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' id='01482d6f0e417c8c349997729624c6fd' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 09:20:54.803 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
<presence/>
*** User 2023-11-16 09:20:54.804 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1'/>
*** User 2023-11-16 09:20:54.826 ***🔗
REST request:
Code: 204
Req: {<0.19789.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"919d05638439f750">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTgyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:53 GMT">>}],
<<>>,80,6427}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:54.826 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' id='pushb879202963f8b702' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:54.840 ***🔗
REST request:
Code: 204
Req: {<0.19831.2>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"317c260462c1208b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTgyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:54 GMT">>}],
<<>>,80,7532}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:54.840 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' id='push8a56f084030efaf1' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:54.866 ***🔗
REST request:
Code: 200
Req: {<0.19861.2>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"31d2032cc852ad0f">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTgyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:54 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost\"]}">>,
209,15042}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:54.915 ***🔗
REST request:
Code: 200
Req: {<0.19900.2>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1a3c4838f502ee0e">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMTgyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 09:20:54 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,38730}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 09:20:54.915 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1' id='push86f5e6e86f6b3740' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost'/>
</query>
</iq>
*** User 2023-11-16 09:20:54.916 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:20:54.916 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
</stream:stream>
*** User 2023-11-16 09:20:54.916 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:20:54.917 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
</stream:stream>
*** User 2023-11-16 09:20:54.917 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:20:54.917 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
</stream:stream>
*** User 2023-11-16 09:20:54.917 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 out
</stream:stream>
*** User 2023-11-16 09:20:54.917 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3182@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-16 09:20:54
=== successfully completed test case
=== === Returned value: ok