=== Test case: rest_client_SUITE:add_and_remove_some_contacts_properly/1 (click for source code)
=== Config value:
[{watchdog,<0.20729.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@10142ef37af8.2023-11-16_10.13.42/big_tests.tests.rest_client_SUITE.logs/run.2023-11-16_10.24.34/rest_client_suite.add_and_remove_some_contacts_properly.117506.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@10142ef37af8.2023-11-16_10.13.42/big_tests.tests.rest_client_SUITE.logs/run.2023-11-16_10.24.34/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@10142ef37af8.2023-11-16_10.13.42"
=== Started at 2023-11-16 10:24:36
*** User 2023-11-16 10:24:36.041 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@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 10:24:36.041 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8442f27cd6fabc47' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 10:24:36.041 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@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 2023-11-16 10:24:36.041 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTcyNQBtYXR5Z3J5c2E=</auth>
*** User 2023-11-16 10:24:36.045 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 10:24:36.045 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@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 10:24:36.046 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='147dded8ce6e3624' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_properly_1725@localhost'>
*** User 2023-11-16 10:24:36.046 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@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 10:24:36.046 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<iq type='set' id='53882d53f99ebaba8931db947697503f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 10:24:36.046 ***🔗
alicE_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq id='53882d53f99ebaba8931db947697503f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_properly_1725@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 10:24:36.046 ***🔗
alice_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<iq type='set' id='9f628808567b4d1fc9a9f3023361d58a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:24:36.047 ***🔗
alice_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_properly_1725@localhost/res1' id='9f628808567b4d1fc9a9f3023361d58a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:24:36.047 ***🔗
alice_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<presence/>
*** User 2023-11-16 10:24:36.047 ***🔗
alice_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_properly_1725@localhost/res1' to='alice_add_and_remove_some_contacts_properly_1725@localhost/res1'/>
*** User 2023-11-16 10:24:36.048 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@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 10:24:36.048 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2124dc6a8cb50ebe' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 10:24:36.048 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@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 2023-11-16 10:24:36.049 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3Byb3Blcmx5XzE3MjUAbWFrcm9saWth</auth>
*** User 2023-11-16 10:24:36.050 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 10:24:36.050 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@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 10:24:36.050 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6266acd0af15fec' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_properly_1725@localhost'>
*** User 2023-11-16 10:24:36.050 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@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 10:24:36.050 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<iq type='set' id='f5c6031fb6b39b578d45395f4109e2f9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 10:24:36.051 ***🔗
bOb_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq id='f5c6031fb6b39b578d45395f4109e2f9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_properly_1725@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 10:24:36.051 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<iq type='set' id='d6b3a018041477de683ebb2a2fd7305a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:24:36.052 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_properly_1725@localhost/res1' id='d6b3a018041477de683ebb2a2fd7305a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:24:36.052 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<presence/>
*** User 2023-11-16 10:24:36.052 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_properly_1725@localhost/res1' to='bob_add_and_remove_some_contacts_properly_1725@localhost/res1'/>
*** User 2023-11-16 10:24:36.053 ***🔗
kate_add_and_remove_some_contacts_properly_1725@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 10:24:36.053 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bda480130926522e' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 10:24:36.053 ***🔗
kate_add_and_remove_some_contacts_properly_1725@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 2023-11-16 10:24:36.053 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8xNzI1AG1ha3Jvd2U7cA==</auth>
*** User 2023-11-16 10:24:36.055 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 10:24:36.055 ***🔗
kate_add_and_remove_some_contacts_properly_1725@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 10:24:36.055 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a786061f66e98c4' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_properly_1725@localhost'>
*** User 2023-11-16 10:24:36.055 ***🔗
kate_add_and_remove_some_contacts_properly_1725@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 10:24:36.055 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<iq type='set' id='8a59a256cf71f263bfa2e388136c1c83'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 10:24:36.056 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq id='8a59a256cf71f263bfa2e388136c1c83' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_properly_1725@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 10:24:36.056 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<iq type='set' id='6a1e45e878e312dc34f69b8db19fab62'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:24:36.056 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_properly_1725@localhost/res1' id='6a1e45e878e312dc34f69b8db19fab62' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:24:36.057 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<presence/>
*** User 2023-11-16 10:24:36.057 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_properly_1725@localhost/res1' to='kate_add_and_remove_some_contacts_properly_1725@localhost/res1'/>
*** User 2023-11-16 10:24:36.058 ***🔗
mike_add_and_remove_some_contacts_properly_1725@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 10:24:36.058 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a8398d2c1c545ee' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 10:24:36.058 ***🔗
mike_add_and_remove_some_contacts_properly_1725@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 2023-11-16 10:24:36.058 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8xNzI1AG5pY25pZW1h</auth>
*** User 2023-11-16 10:24:36.060 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 10:24:36.060 ***🔗
mike_add_and_remove_some_contacts_properly_1725@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 10:24:36.061 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1eee80650b02f35b' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_properly_1725@localhost'>
*** User 2023-11-16 10:24:36.061 ***🔗
mike_add_and_remove_some_contacts_properly_1725@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 10:24:36.061 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<iq type='set' id='94c34e45cf5d15846bbe360ada511b22'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 10:24:36.061 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq id='94c34e45cf5d15846bbe360ada511b22' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_properly_1725@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 10:24:36.061 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<iq type='set' id='5c2480a55053fb66d46183e9012fd6b3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:24:36.062 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_properly_1725@localhost/res1' id='5c2480a55053fb66d46183e9012fd6b3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:24:36.062 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 out
<presence/>
*** User 2023-11-16 10:24:36.062 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_properly_1725@localhost/res1' to='mike_add_and_remove_some_contacts_properly_1725@localhost/res1'/>
*** User 2023-11-16 10:24:36.117 ***🔗
REST request:
Code: 204
Req: {<0.20880.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"21d4eb77f62956d1">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTcyNUBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_1725@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:24:35 GMT">>}],
<<>>,80,49108}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_1725@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1725@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:24:36.117 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1725@localhost' to='bob_add_and_remove_some_contacts_properly_1725@localhost/res1' id='push6267f6add8dd17a3' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_properly_1725@localhost'/>
</query>
</iq>
*** User 2023-11-16 10:24:36.124 ***🔗
REST request:
Code: 204
Req: {<0.20914.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3794b4336f4accb6">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTcyNUBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_1725@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:24:35 GMT">>}],
<<>>,80,2189}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_1725@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1725@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:24:36.124 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1725@localhost' to='bob_add_and_remove_some_contacts_properly_1725@localhost/res1' id='push3ae3e98d6d9caa23' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_properly_1725@localhost'/>
</query>
</iq>
*** User 2023-11-16 10:24:36.132 ***🔗
REST request:
Code: 204
Req: {<0.20947.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"13fd04dc70020ab5">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTcyNUBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_1725@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:24:35 GMT">>}],
<<>>,80,3081}
Params: #{body =>
<<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_1725@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1725@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:24:36.132 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1725@localhost' to='bob_add_and_remove_some_contacts_properly_1725@localhost/res1' id='push424b9227790c2749' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='mike_add_and_remove_some_contacts_properly_1725@localhost'/>
</query>
</iq>
*** User 2023-11-16 10:24:36.139 ***🔗
REST request:
Code: 200
Req: {<0.20974.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d1158e6dab396dad">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTcyNUBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_1725@localhost\",\"kate_add_and_remove_some_contacts_properly_1725@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:24:35 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"18">>}],
<<"{\"not_deleted\":[]}">>,142,1777}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_1725@localhost\",\"kate_add_and_remove_some_contacts_properly_1725@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1725@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:24:36.146 ***🔗
REST request:
Code: 200
Req: {<0.20995.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ff7153d2c68c0762">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMTcyNUBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:24:35 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"104">>}],
<<"[{\"subscription\":\"none\",\"jid\":\"mike_add_and_remove_some_contacts_properly_1725@localhost\",\"ask\":\"none\"}]">>,
229,2945}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_properly_1725@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:24:36.146 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_1725@localhost' to='bob_add_and_remove_some_contacts_properly_1725@localhost/res1' id='pushbd77eec6765da447' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_properly_1725@localhost'/>
</query>
</iq>
*** User 2023-11-16 10:24:36.147 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 out
</stream:stream>
*** User 2023-11-16 10:24:36.147 ***🔗
mike_add_and_remove_some_contacts_properly_1725@localhost/res1 in
</stream:stream>
*** User 2023-11-16 10:24:36.147 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 out
</stream:stream>
*** User 2023-11-16 10:24:36.147 ***🔗
kate_add_and_remove_some_contacts_properly_1725@localhost/res1 in
</stream:stream>
*** User 2023-11-16 10:24:36.148 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 out
</stream:stream>
*** User 2023-11-16 10:24:36.148 ***🔗
bob_add_and_remove_some_contacts_properly_1725@localhost/res1 in
</stream:stream>
*** User 2023-11-16 10:24:36.148 ***🔗
alice_add_and_remove_some_contacts_properly_1725@localhost/res1 out
</stream:stream>
*** User 2023-11-16 10:24:36.148 ***🔗
alice_add_and_remove_some_contacts_properly_1725@localhost/res1 in
</stream:stream>
=== Ended at 2023-11-16 10:24:36
=== successfully completed test case
=== === Returned value: ok