=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.56328.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,disabled},
{preset,"internal_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@d02a26308542.2024-03-11_11.28.58/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.44.09/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.103298.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@d02a26308542.2024-03-11_11.28.58/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.44.09/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => mnesia,iqdisc => parallel},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
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_amp => #{},
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_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@d02a26308542.2024-03-11_11.28.58"
=== Started at 2024-03-11 11:44:10
*** User 2024-03-11 11:44:10.969 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.971 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='426d7658e6065052' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:44:10.971 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.971 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODgyAG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 11:44:10.972 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:44:10.972 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.972 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9e013225034c7db' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost'>
*** User 2024-03-11 11:44:10.973 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.973 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<iq type='set' id='d0894d652be1a75ceed2b250ab85d057'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:44:10.973 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq id='d0894d652be1a75ceed2b250ab85d057' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:44:10.973 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<iq type='set' id='d4b1eea401653656022c364050311689'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:44:10.974 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' id='d4b1eea401653656022c364050311689' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:44:10.974 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<presence/>
*** User 2024-03-11 11:44:10.975 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1'/>
*** User 2024-03-11 11:44:10.976 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.977 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f5bb99836e53a83' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:44:10.977 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.977 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTg4MgBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 11:44:10.978 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:44:10.978 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.979 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb4c3a45b6a2e887' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost'>
*** User 2024-03-11 11:44:10.979 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.979 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<iq type='set' id='657e9cbcf0b502b030980ede77593d85'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:44:10.980 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq id='657e9cbcf0b502b030980ede77593d85' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:44:10.980 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<iq type='set' id='97687fc2912cd1afb517031f81aafbe9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:44:10.981 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' id='97687fc2912cd1afb517031f81aafbe9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:44:10.981 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<presence/>
*** User 2024-03-11 11:44:10.982 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1'/>
*** User 2024-03-11 11:44:10.982 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.985 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9de7d6a196a11961' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:44:10.985 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.985 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE4ODIAbWFrcm93ZTtw</auth>
*** User 2024-03-11 11:44:10.986 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:44:10.986 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.986 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86bb3eadb579a438' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost'>
*** User 2024-03-11 11:44:10.987 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:10.987 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<iq type='set' id='c12b0b66f0c6a64cd865f4388f6c44d1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:44:10.987 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq id='c12b0b66f0c6a64cd865f4388f6c44d1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:44:10.987 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<iq type='set' id='183396b7fa8969320088601175d7b78c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:44:10.988 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' id='183396b7fa8969320088601175d7b78c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:44:10.988 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<presence/>
*** User 2024-03-11 11:44:10.989 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1'/>
*** User 2024-03-11 11:44:11.037 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:11.038 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f7f663a7ce03167' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:44:11.038 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:11.038 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE4ODIAbmljbmllbWE=</auth>
*** User 2024-03-11 11:44:11.039 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:44:11.039 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:11.041 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33cd85912aaf30d1' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost'>
*** User 2024-03-11 11:44:11.041 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@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-11 11:44:11.041 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<iq type='set' id='9ca6aa4438f123c83f437d58ebb33278'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:44:11.041 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq id='9ca6aa4438f123c83f437d58ebb33278' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:44:11.042 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<iq type='set' id='0256ad7f3a654729a1e08b1ef48e0048'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:44:11.042 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' id='0256ad7f3a654729a1e08b1ef48e0048' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:44:11.042 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
<presence/>
*** User 2024-03-11 11:44:11.043 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1'/>
*** User 2024-03-11 11:44:11.052 ***🔗
REST request:
Code: 204
Req: {<0.56455.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"59dbf7c3d56beae5">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODgyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:44:10 GMT">>}],
<<>>,80,1254}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost\"}">>,
return_headers => true}
*** User 2024-03-11 11:44:11.052 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' id='push968daf9982bf0977' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:44:11.061 ***🔗
REST request:
Code: 204
Req: {<0.56491.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5be0747b2e9ec0c5">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODgyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:44:10 GMT">>}],
<<>>,80,1728}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost">>,
<<"makrolika">>},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost\"}">>,
return_headers => true}
*** User 2024-03-11 11:44:11.061 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' id='push4507e4a89beef401' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:44:11.073 ***🔗
REST request:
Code: 200
Req: {<0.56527.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"20a9be56f252bd15">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODgyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:44:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost\"]}">>,
209,2594}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost">>,
<<"makrolika">>},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost\"]}">>,
return_headers => true}
*** User 2024-03-11 11:44:11.081 ***🔗
REST request:
Code: 200
Req: {<0.56562.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"eafd14322fd2eac0">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xODgyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:44:10 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,862}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
role => client,method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost">>,
<<"makrolika">>},
body => <<>>,return_headers => true}
*** User 2024-03-11 11:44:11.081 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1' id='pushb5029a73a9c97ede' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-11 11:44:11.081 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:44:11.082 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:44:11.082 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:44:11.082 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:44:11.082 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:44:11.083 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:44:11.083 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:44:11.083 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1882@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:44:11
=== successfully completed test case
=== === Returned value: ok