=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.53760.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@89b846a8b46e.2024-03-11_11.28.50/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.40.39/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.70403.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@89b846a8b46e.2024-03-11_11.28.50/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.40.39/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">>,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">>}],
deref => never,
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">>]}],
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 => []},
backend => ldap,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@89b846a8b46e.2024-03-11_11.28.50"
=== Started at 2024-03-11 11:40:41
*** User 2024-03-11 11:40:41.157 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.157 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='10b4d0ac0d3df49e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:40:41.157 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@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-03-11 11:40:41.157 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzQ4AG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 11:40:41.158 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:40:41.159 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.159 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12aedfebb69226fb' from='localhost' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost'>
*** User 2024-03-11 11:40:41.159 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.159 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<iq type='set' id='e0b7a91e2e7407d9de48a933bba0bde7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:40:41.159 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq id='e0b7a91e2e7407d9de48a933bba0bde7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:40:41.159 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<iq type='set' id='e6ff0b23d827785d4109e228c92d02b4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:41.160 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq from='localhost' to='alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' id='e6ff0b23d827785d4109e228c92d02b4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:41.160 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<presence/>
*** User 2024-03-11 11:40:41.161 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1'/>
*** User 2024-03-11 11:40:41.161 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.162 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7cb4feab425fadf8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:40:41.162 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@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-03-11 11:40:41.162 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTc0OABtYWtyb2xpa2E=</auth>
*** User 2024-03-11 11:40:41.164 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:40:41.164 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.164 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbb7113cfc0a8e10' from='localhost' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost'>
*** User 2024-03-11 11:40:41.164 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.164 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<iq type='set' id='e28c3fa3e9db5ef7bfc6970bc4678de5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:40:41.164 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq id='e28c3fa3e9db5ef7bfc6970bc4678de5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:40:41.165 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<iq type='set' id='9ee0689ad8485f9bb67525e706d8a74e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:41.165 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq from='localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' id='9ee0689ad8485f9bb67525e706d8a74e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:41.165 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<presence/>
*** User 2024-03-11 11:40:41.166 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1'/>
*** User 2024-03-11 11:40:41.166 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.167 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c3d7594b54f4d00' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:40:41.167 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@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-03-11 11:40:41.167 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE3NDgAbWFrcm93ZTtw</auth>
*** User 2024-03-11 11:40:41.169 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:40:41.169 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.170 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ac8af851bb7f2edd' from='localhost' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost'>
*** User 2024-03-11 11:40:41.170 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.170 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<iq type='set' id='ee35ee5522069b6672f6e868f67a7946'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:40:41.170 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq id='ee35ee5522069b6672f6e868f67a7946' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:40:41.170 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<iq type='set' id='ab3f909738bba835bb24af6629a00d94'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:41.171 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq from='localhost' to='kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' id='ab3f909738bba835bb24af6629a00d94' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:41.171 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<presence/>
*** User 2024-03-11 11:40:41.172 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1'/>
*** User 2024-03-11 11:40:41.172 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.173 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5df8e4802e6dfeb' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:40:41.174 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@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-03-11 11:40:41.174 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE3NDgAbmljbmllbWE=</auth>
*** User 2024-03-11 11:40:41.175 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:40:41.175 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.176 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a21f26d69b6ef99' from='localhost' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost'>
*** User 2024-03-11 11:40:41.176 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@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:40:41.176 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<iq type='set' id='2c31128b89018de4e1b6ad328eefa37e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:40:41.182 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq id='2c31128b89018de4e1b6ad328eefa37e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:40:41.182 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<iq type='set' id='ba473ea73a8129b59573f5ad058affc3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:41.183 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq from='localhost' to='mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' id='ba473ea73a8129b59573f5ad058affc3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:41.183 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
<presence/>
*** User 2024-03-11 11:40:41.184 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1'/>
*** User 2024-03-11 11:40:41.229 ***🔗
REST request:
Code: 204
Req: {<0.53920.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3b7fe0954cb229cd">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzQ4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:40 GMT">>}],
<<>>,80,3157}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost\"}">>,
return_headers => true}
*** User 2024-03-11 11:40:41.230 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' id='pushb6524ad6cb7e1370' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:40:41.238 ***🔗
REST request:
Code: 204
Req: {<0.53955.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"36a5c2de10258888">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzQ4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:40 GMT">>}],
<<>>,80,3087}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost\"}">>,
return_headers => true}
*** User 2024-03-11 11:40:41.238 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' id='push383b84194da1561c' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-03-11 11:40:41.247 ***🔗
REST request:
Code: 200
Req: {<0.53988.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"6dfd9dca053acb9b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzQ4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:40 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost\"]}">>,
209,2104}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"DELETE">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost">>,
<<"makrolika">>},
role => client,
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost\"]}">>,
return_headers => true}
*** User 2024-03-11 11:40:41.253 ***🔗
REST request:
Code: 200
Req: {<0.54011.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4102e975ed872c27">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzQ4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:40 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1886}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost">>,
<<"makrolika">>},
role => client,body => <<>>,return_headers => true}
*** User 2024-03-11 11:40:41.253 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1' id='push16e744d3e17b85f6' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost' subscription='remove'/>
</query>
</iq>
*** User 2024-03-11 11:40:41.253 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:40:41.254 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:40:41.254 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:40:41.254 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:40:41.254 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:40:41.254 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:40:41.254 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:40:41.255 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1748@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:40:41
=== successfully completed test case
=== === Returned value: ok