=== Test case: rest_client_SUITE:add_and_remove_some_contacts_properly/1 (click for source code)
=== Config value:
[{watchdog,<0.54536.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,disabled},
{preset,"ldap_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@36479f279a1b.2024-04-12_09.30.15/big_tests.tests.rest_client_SUITE.logs/run.2024-04-12_09.41.22/rest_client_suite.add_and_remove_some_contacts_properly.44164.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@36479f279a1b.2024-04-12_09.30.15/big_tests.tests.rest_client_SUITE.logs/run.2024-04-12_09.41.22/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,
ldap =>
#{filter => <<"(objectClass=inetOrgPerson)">>,
base => <<"ou=Users,dc=esl,dc=com">>,
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
pool_tag => default,deref => never,
uids => [{<<"uid">>,<<"%u">>}],
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
search_operator => 'and',binary_search_fields => []},
iqdisc => parallel,backend => ldap},
mod_roster =>
#{iqdisc => one_queue,backend => mnesia,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_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_carboncopy => #{iqdisc => no_queue},
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}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@36479f279a1b.2024-04-12_09.30.15"
=== Started at 2024-04-12 09:41:23
*** User 2024-04-12 09:41:23.584 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-12 09:41:23.584 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39e2ff1c3d428177' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:41:23.584 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-12 09:41:23.584 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTc5MwBtYXR5Z3J5c2E=</auth>
*** User 2024-04-12 09:41:23.585 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:41:23.585 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-12 09:41:23.585 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a28f9eecfeb58d2e' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_properly_1793@localhost'>
*** User 2024-04-12 09:41:23.585 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-12 09:41:23.586 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<iq type='set' id='69d71fcc456d4beeb200a880c059a096'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:41:23.586 ***🔗
alicE_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq id='69d71fcc456d4beeb200a880c059a096' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_properly_1793@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:41:23.586 ***🔗
alice_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<iq type='set' id='064b68de3d86c7533c3a24967dd7e8d6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:41:23.586 ***🔗
alice_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_properly_1793@localhost/res1' id='064b68de3d86c7533c3a24967dd7e8d6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:41:23.586 ***🔗
alice_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<presence/>
*** User 2024-04-12 09:41:23.587 ***🔗
alice_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_properly_1793@localhost/res1' to='alice_add_and_remove_some_contacts_properly_1793@localhost/res1'/>
*** User 2024-04-12 09:41:23.587 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-12 09:41:23.588 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1b8763d2ce02ef3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:41:23.588 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-12 09:41:23.588 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3Byb3Blcmx5XzE3OTMAbWFrcm9saWth</auth>
*** User 2024-04-12 09:41:23.589 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:41:23.589 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-12 09:41:23.589 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='230f24d2cb203d91' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_properly_1793@localhost'>
*** User 2024-04-12 09:41:23.589 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-12 09:41:23.589 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<iq type='set' id='f2e66b9ff908b111a2601b470d3848fd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:41:23.590 ***🔗
bOb_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq id='f2e66b9ff908b111a2601b470d3848fd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_properly_1793@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:41:23.590 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<iq type='set' id='b5b742c3bb738dcba6280c587599988b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:41:23.590 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_properly_1793@localhost/res1' id='b5b742c3bb738dcba6280c587599988b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:41:23.591 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<presence/>
*** User 2024-04-12 09:41:23.591 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_properly_1793@localhost/res1' to='bob_add_and_remove_some_contacts_properly_1793@localhost/res1'/>
*** User 2024-04-12 09:41:23.592 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-12 09:41:23.592 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='36cbff41ca207097' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:41:23.592 ***🔗
kate_add_and_remove_some_contacts_properly_1793@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-12 09:41:23.592 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8xNzkzAG1ha3Jvd2U7cA==</auth>
*** User 2024-04-12 09:41:23.593 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:41:23.593 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-12 09:41:23.593 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='21b921e32c7b0885' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_properly_1793@localhost'>
*** User 2024-04-12 09:41:23.594 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-12 09:41:23.594 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<iq type='set' id='08b107dc9ee3792f62f073d9f4151070'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:41:23.594 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq id='08b107dc9ee3792f62f073d9f4151070' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_properly_1793@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:41:23.594 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<iq type='set' id='3640a486108abcf4d30f2a98d56d98b7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:41:23.594 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_properly_1793@localhost/res1' id='3640a486108abcf4d30f2a98d56d98b7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:41:23.594 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<presence/>
*** User 2024-04-12 09:41:23.595 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_properly_1793@localhost/res1' to='kate_add_and_remove_some_contacts_properly_1793@localhost/res1'/>
*** User 2024-04-12 09:41:23.595 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-12 09:41:23.596 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ecedb777179d790e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-12 09:41:23.596 ***🔗
mike_add_and_remove_some_contacts_properly_1793@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-12 09:41:23.596 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8xNzkzAG5pY25pZW1h</auth>
*** User 2024-04-12 09:41:23.597 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-12 09:41:23.597 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-12 09:41:23.598 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='040cf7f289f8d0f6' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_properly_1793@localhost'>
*** User 2024-04-12 09:41:23.598 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-12 09:41:23.598 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<iq type='set' id='1e1ae439a7f08eb73341874626144e0e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-12 09:41:23.598 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq id='1e1ae439a7f08eb73341874626144e0e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_properly_1793@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-12 09:41:23.598 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<iq type='set' id='18b607f99cee68acff33d9ab028157e0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:41:23.599 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_properly_1793@localhost/res1' id='18b607f99cee68acff33d9ab028157e0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-12 09:41:23.599 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 out
<presence/>
*** User 2024-04-12 09:41:23.599 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_properly_1793@localhost/res1' to='mike_add_and_remove_some_contacts_properly_1793@localhost/res1'/>
*** User 2024-04-12 09:41:23.636 ***🔗
REST request:
Code: 204
Req: {<0.54693.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"601acc426b3a3674">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTc5M0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_1793@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:41:22 GMT">>}],
<<>>,80,32621}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1793@localhost">>,
<<"makrolika">>},
method => <<"POST">>,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_1793@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-04-12 09:41:23.637 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1793@localhost' to='bob_add_and_remove_some_contacts_properly_1793@localhost/res1' id='push2549ad09588e2a1f' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_properly_1793@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-12 09:41:23.644 ***🔗
REST request:
Code: 204
Req: {<0.54717.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d0cfe205dded2789">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTc5M0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_1793@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:41:22 GMT">>}],
<<>>,80,2512}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1793@localhost">>,
<<"makrolika">>},
method => <<"POST">>,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_1793@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-04-12 09:41:23.644 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1793@localhost' to='bob_add_and_remove_some_contacts_properly_1793@localhost/res1' id='pushdb363070be2fb5c8' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_properly_1793@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-12 09:41:23.655 ***🔗
REST request:
Code: 204
Req: {<0.54754.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"43ddc14fe6d8361f">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTc5M0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_1793@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:41:22 GMT">>}],
<<>>,80,5171}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1793@localhost">>,
<<"makrolika">>},
method => <<"POST">>,
body =>
<<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_1793@localhost\"}">>,
role => client,return_headers => true}
*** User 2024-04-12 09:41:23.655 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1793@localhost' to='bob_add_and_remove_some_contacts_properly_1793@localhost/res1' id='push78eed2feaf0e4a40' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='mike_add_and_remove_some_contacts_properly_1793@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-12 09:41:23.662 ***🔗
REST request:
Code: 200
Req: {<0.54778.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1f8ef6d6af45a444">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTc5M0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_1793@localhost\",\"kate_add_and_remove_some_contacts_properly_1793@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:41:22 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"18">>}],
<<"{\"not_deleted\":[]}">>,142,2511}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1793@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_1793@localhost\",\"kate_add_and_remove_some_contacts_properly_1793@localhost\"]}">>,
role => client,return_headers => true}
*** User 2024-04-12 09:41:23.668 ***🔗
REST request:
Code: 200
Req: {<0.54802.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"206e7a699a93769d">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTc5M0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 12 Apr 2024 09:41:22 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"104">>}],
<<"[{\"ask\":\"none\",\"subscription\":\"none\",\"jid\":\"mike_add_and_remove_some_contacts_properly_1793@localhost\"}]">>,
229,1578}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1793@localhost">>,
<<"makrolika">>},
method => <<"GET">>,body => <<>>,role => client,
return_headers => true}
*** User 2024-04-12 09:41:23.668 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1793@localhost' to='bob_add_and_remove_some_contacts_properly_1793@localhost/res1' id='pushf5b7aa5ca5d510f5' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_properly_1793@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-12 09:41:23.668 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 out
</stream:stream>
*** User 2024-04-12 09:41:23.669 ***🔗
mike_add_and_remove_some_contacts_properly_1793@localhost/res1 in
</stream:stream>
*** User 2024-04-12 09:41:23.669 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 out
</stream:stream>
*** User 2024-04-12 09:41:23.669 ***🔗
kate_add_and_remove_some_contacts_properly_1793@localhost/res1 in
</stream:stream>
*** User 2024-04-12 09:41:23.669 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 out
</stream:stream>
*** User 2024-04-12 09:41:23.669 ***🔗
bob_add_and_remove_some_contacts_properly_1793@localhost/res1 in
</stream:stream>
*** User 2024-04-12 09:41:23.669 ***🔗
alice_add_and_remove_some_contacts_properly_1793@localhost/res1 out
</stream:stream>
*** User 2024-04-12 09:41:23.669 ***🔗
alice_add_and_remove_some_contacts_properly_1793@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-12 09:41:23
=== successfully completed test case
=== === Returned value: ok