=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.77482.0>},
{muc_light_host,<<"muclight.domain.example.com">>},
{mam_backend,rdbms},
{preset,"mysql_redis"},
{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@55d20a7e6e08.2024-03-21_07.45.40/big_tests.tests.rest_client_SUITE.logs/run.2024-03-21_08.00.20/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.211202.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@55d20a7e6e08.2024-03-21_07.45.40/big_tests.tests.rest_client_SUITE.logs/run.2024-03-21_08.00.20/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
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_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
backend => mnesia,buffer_max => 100,ack_freq => 1,
resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
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},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@55d20a7e6e08.2024-03-21_07.45.40"
=== Started at 2024-03-21 08:00:22
*** User 2024-03-21 08:00:22.741 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-21 08:00:22.742 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9d1564575fe652f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:00:22.742 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-21 08:00:22.742 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDI1AG1hdHlncnlzYQ==</auth>
*** User 2024-03-21 08:00:22.743 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:00:22.743 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-21 08:00:22.743 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b9febdd0c3d7604' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com'>
*** User 2024-03-21 08:00:22.743 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/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-21 08:00:22.743 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<iq type='set' id='7abc56341caad25d1d78fb358e2876e6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:00:22.744 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq id='7abc56341caad25d1d78fb358e2876e6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:00:22.744 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<iq type='set' id='b6145259dcfec833a5c357e6e3b2162d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:22.745 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' id='b6145259dcfec833a5c357e6e3b2162d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:22.745 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<presence/>
*** User 2024-03-21 08:00:22.747 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1'/>
*** User 2024-03-21 08:00:22.747 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-21 08:00:22.747 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17a4550a93dfe05c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:00:22.748 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-21 08:00:22.748 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMzAyNQBtYWtyb2xpa2E=</auth>
*** User 2024-03-21 08:00:22.749 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:00:22.749 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-21 08:00:22.749 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e055d38160d39d5' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com'>
*** User 2024-03-21 08:00:22.749 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/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-21 08:00:22.750 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<iq type='set' id='4b2dbdde35fb7d9612e7b1fa8bb8f602'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:00:22.750 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq id='4b2dbdde35fb7d9612e7b1fa8bb8f602' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:00:22.750 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<iq type='set' id='5f6d0934279951f8fb0c695a770a30ca'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:22.751 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' id='5f6d0934279951f8fb0c695a770a30ca' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:22.751 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<presence/>
*** User 2024-03-21 08:00:22.754 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1'/>
*** User 2024-03-21 08:00:22.755 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-21 08:00:22.755 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b84f2d735476b044' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:00:22.755 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-21 08:00:22.755 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMwMjUAbWFrcm93ZTtw</auth>
*** User 2024-03-21 08:00:22.760 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:00:22.760 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-21 08:00:22.760 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1494e79215e49789' from='domain.example.com' version='1.0' xml:lang='en' to='kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com'>
*** User 2024-03-21 08:00:22.760 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/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-21 08:00:22.760 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<iq type='set' id='70ed355b5c4235b9570f619524d29972'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:00:22.761 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq id='70ed355b5c4235b9570f619524d29972' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:00:22.761 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<iq type='set' id='6172debd6572244cd124f0c14c8a2dd9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:22.761 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' id='6172debd6572244cd124f0c14c8a2dd9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:22.761 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<presence/>
*** User 2024-03-21 08:00:22.764 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1'/>
*** User 2024-03-21 08:00:22.764 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-21 08:00:22.765 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef5d97a36ba30eed' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:00:22.765 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-03-21 08:00:22.765 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzMwMjUAbmljbmllbWE=</auth>
*** User 2024-03-21 08:00:22.766 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:00:22.766 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-21 08:00:22.766 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9d1e3d079473463' from='domain.example.com' version='1.0' xml:lang='en' to='mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com'>
*** User 2024-03-21 08:00:22.767 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/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-21 08:00:22.767 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<iq type='set' id='dc85e109cbf633b0dc5f776cec7dfdff'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:00:22.767 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq id='dc85e109cbf633b0dc5f776cec7dfdff' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:00:22.767 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<iq type='set' id='271441d857cf1b98e6c8cb8e49fb4a06'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:22.768 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' id='271441d857cf1b98e6c8cb8e49fb4a06' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:22.768 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
<presence/>
*** User 2024-03-21 08:00:22.770 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1'/>
*** User 2024-03-21 08:00:22.780 ***🔗
REST request:
Code: 204
Req: {<0.77607.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1144f19554578f3d">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDI1QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:00:22 GMT">>}],
<<>>,80,5430}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-21 08:00:22.780 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' id='push0d085b5c18df58ed' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 08:00:22.789 ***🔗
REST request:
Code: 204
Req: {<0.77647.0>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"24a9cd83c4053e2c">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDI1QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:00:22 GMT">>}],
<<>>,80,4013}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-21 08:00:22.789 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' id='pusheb62046550cdefe1' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com' subscription='none'/>
</query>
</iq>
*** User 2024-03-21 08:00:22.804 ***🔗
REST request:
Code: 200
Req: {<0.77675.0>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"49c06fbdf70df3dd">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDI1QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:00:22 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\"]}">>,
218,9184}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com\"]}">>,
method => <<"DELETE">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-21 08:00:22.860 ***🔗
REST request:
Code: 200
Req: {<0.77724.0>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c94a72f472b19853">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18zMDI1QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:00:22 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,51876}
Params: #{path => <<"/api/contacts">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => client,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-21 08:00:22.860 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1' id='push0719068e979c8fc2' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com' subscription='remove'/>
</query>
</iq>
*** User 2024-03-21 08:00:22.861 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-21 08:00:22.861 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-21 08:00:22.861 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-21 08:00:22.861 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-21 08:00:22.861 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-21 08:00:22.862 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-21 08:00:22.862 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-21 08:00:22.862 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_3025@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-21 08:00:22
=== successfully completed test case
=== === Returned value: ok