=== Test case: rest_client_SUITE:add_and_remove_some_contacts_properly/1 (click for source code)
=== Config value:
[{watchdog,<0.21202.1>},
{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@19371561ec7c.2024-04-15_16.44.55/big_tests.tests.rest_client_SUITE.logs/run.2024-04-15_16.56.37/rest_client_suite.add_and_remove_some_contacts_properly.103810.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@19371561ec7c.2024-04-15_16.44.55/big_tests.tests.rest_client_SUITE.logs/run.2024-04-15_16.56.37/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 => mnesia,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 => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
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">>}],
search_operator => 'and',
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">>}],
uids => [{<<"uid">>,<<"%u">>}],
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">>]}]},
matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@19371561ec7c.2024-04-15_16.44.55"
=== Started at 2024-04-15 16:56:40
*** User 2024-04-15 16:56:40.472 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.478 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3afa088de0e98f6e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:56:40.478 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.478 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTgxNwBtYXR5Z3J5c2E=</auth>
*** User 2024-04-15 16:56:40.486 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:56:40.486 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.490 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed186b25fbd5db25' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_properly_1817@localhost'>
*** User 2024-04-15 16:56:40.490 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.490 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<iq type='set' id='8f1196b2a1578d44a4575d0327715301'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:56:40.497 ***🔗
alicE_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq id='8f1196b2a1578d44a4575d0327715301' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_properly_1817@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:56:40.497 ***🔗
alice_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<iq type='set' id='bc9a0067c43826f63302c547f346b34d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.503 ***🔗
alice_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_properly_1817@localhost/res1' id='bc9a0067c43826f63302c547f346b34d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.503 ***🔗
alice_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<presence/>
*** User 2024-04-15 16:56:40.505 ***🔗
alice_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_properly_1817@localhost/res1' to='alice_add_and_remove_some_contacts_properly_1817@localhost/res1'/>
*** User 2024-04-15 16:56:40.506 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.512 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e23e5e51f529da4c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:56:40.512 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.512 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3Byb3Blcmx5XzE4MTcAbWFrcm9saWth</auth>
*** User 2024-04-15 16:56:40.525 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:56:40.525 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.534 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c0aa637dce62ce5c' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_properly_1817@localhost'>
*** User 2024-04-15 16:56:40.545 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.545 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<iq type='set' id='249ba79d93adbe2a464146ca736e9bfd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:56:40.550 ***🔗
bOb_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq id='249ba79d93adbe2a464146ca736e9bfd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_properly_1817@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:56:40.550 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<iq type='set' id='ad60100f2ada832a91d29d8397b9208c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.553 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_properly_1817@localhost/res1' id='ad60100f2ada832a91d29d8397b9208c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.553 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<presence/>
*** User 2024-04-15 16:56:40.553 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_properly_1817@localhost/res1' to='bob_add_and_remove_some_contacts_properly_1817@localhost/res1'/>
*** User 2024-04-15 16:56:40.555 ***🔗
kate_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.557 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6321cb02e3a0305c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:56:40.557 ***🔗
kate_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.557 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8xODE3AG1ha3Jvd2U7cA==</auth>
*** User 2024-04-15 16:56:40.569 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:56:40.569 ***🔗
kate_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.570 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2322a759e81929f' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_properly_1817@localhost'>
*** User 2024-04-15 16:56:40.570 ***🔗
kate_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.570 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<iq type='set' id='f0e253f21b346ad6d7f48faf9f30ffd6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:56:40.572 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq id='f0e253f21b346ad6d7f48faf9f30ffd6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_properly_1817@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:56:40.572 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<iq type='set' id='443cf324a7704c687af357f23cbbc872'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.578 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_properly_1817@localhost/res1' id='443cf324a7704c687af357f23cbbc872' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.578 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<presence/>
*** User 2024-04-15 16:56:40.582 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_properly_1817@localhost/res1' to='kate_add_and_remove_some_contacts_properly_1817@localhost/res1'/>
*** User 2024-04-15 16:56:40.586 ***🔗
mike_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.588 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d79ea39ed4ac250' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:56:40.588 ***🔗
mike_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.588 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8xODE3AG5pY25pZW1h</auth>
*** User 2024-04-15 16:56:40.606 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:56:40.607 ***🔗
mike_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.607 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6f57ab262d65549' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_properly_1817@localhost'>
*** User 2024-04-15 16:56:40.607 ***🔗
mike_add_and_remove_some_contacts_properly_1817@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-15 16:56:40.607 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<iq type='set' id='4a079073f154ab7053d707903317074d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:56:40.610 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq id='4a079073f154ab7053d707903317074d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_properly_1817@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:56:40.610 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<iq type='set' id='c0a115e20006f0c23091fd270634d9a0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.612 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_properly_1817@localhost/res1' id='c0a115e20006f0c23091fd270634d9a0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.612 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 out
<presence/>
*** User 2024-04-15 16:56:40.615 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_properly_1817@localhost/res1' to='mike_add_and_remove_some_contacts_properly_1817@localhost/res1'/>
*** User 2024-04-15 16:56:40.685 ***🔗
REST request:
Code: 204
Req: {<0.21351.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c2536d3273f4c271">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTgxN0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_1817@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>}],
<<>>,80,33306}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_1817@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1817@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.685 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1817@localhost' to='bob_add_and_remove_some_contacts_properly_1817@localhost/res1' id='push3f262365cff9992e' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_properly_1817@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.756 ***🔗
REST request:
Code: 204
Req: {<0.21389.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"943cd3e1f07c47cd">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTgxN0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_1817@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>}],
<<>>,80,30418}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_1817@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1817@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.760 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1817@localhost' to='bob_add_and_remove_some_contacts_properly_1817@localhost/res1' id='push42034e0e939e5992' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_properly_1817@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.793 ***🔗
REST request:
Code: 204
Req: {<0.21414.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f5d61db874d09694">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTgxN0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_1817@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>}],
<<>>,80,10937}
Params: #{body =>
<<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_1817@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1817@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.793 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1817@localhost' to='bob_add_and_remove_some_contacts_properly_1817@localhost/res1' id='push5f0a2693d3d2ec7c' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='mike_add_and_remove_some_contacts_properly_1817@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.813 ***🔗
REST request:
Code: 200
Req: {<0.21441.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"00cf54980c60b301">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTgxN0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_1817@localhost\",\"kate_add_and_remove_some_contacts_properly_1817@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"18">>}],
<<"{\"not_deleted\":[]}">>,142,4764}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_1817@localhost\",\"kate_add_and_remove_some_contacts_properly_1817@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1817@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.839 ***🔗
REST request:
Code: 200
Req: {<0.21464.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b7cb862509fa4717">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTgxN0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"104">>}],
<<"[{\"subscription\":\"none\",\"jid\":\"mike_add_and_remove_some_contacts_properly_1817@localhost\",\"ask\":\"none\"}]">>,
229,3461}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1817@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.840 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1817@localhost' to='bob_add_and_remove_some_contacts_properly_1817@localhost/res1' id='push5b852a9161cae280' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_properly_1817@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.840 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 out
</stream:stream>
*** User 2024-04-15 16:56:40.845 ***🔗
mike_add_and_remove_some_contacts_properly_1817@localhost/res1 in
</stream:stream>
*** User 2024-04-15 16:56:40.845 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 out
</stream:stream>
*** User 2024-04-15 16:56:40.847 ***🔗
kate_add_and_remove_some_contacts_properly_1817@localhost/res1 in
</stream:stream>
*** User 2024-04-15 16:56:40.847 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 out
</stream:stream>
*** User 2024-04-15 16:56:40.847 ***🔗
bob_add_and_remove_some_contacts_properly_1817@localhost/res1 in
</stream:stream>
*** User 2024-04-15 16:56:40.848 ***🔗
alice_add_and_remove_some_contacts_properly_1817@localhost/res1 out
</stream:stream>
*** User 2024-04-15 16:56:40.848 ***🔗
alice_add_and_remove_some_contacts_properly_1817@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-15 16:56:40
=== successfully completed test case
=== === Returned value: ok