=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.27651.1>},
{muc_light_host,<<"muclight2.domain.example.com">>},
{mam_backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.rest_client_SUITE.logs/run.2022-02-02_15.15.09/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.138370.html"},
{tc_group_properties,[{name,roster},{repeat_until_all_ok,3},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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.rest_client_SUITE.logs/run.2022-02-02_15.15.09/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:15:11
*** User 2022-02-02 15:15:11.770 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@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 2022-02-02 15:15:11.770 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='952d044f016a5b85' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.771 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:15:11.771 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5AG1hdHlncnlzYQ==</auth>
*** User 2022-02-02 15:15:11.771 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:15:11.771 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@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 2022-02-02 15:15:11.772 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29751fa5e9f5b070' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.772 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:15:11.772 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<iq type='set' id='b2591eb18da858aaf40a8595b162cab1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:15:11.772 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq id='b2591eb18da858aaf40a8595b162cab1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:15:11.772 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<iq type='set' id='5ae238bf09fab11ef14fa8c70cf9a7e8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:15:11.773 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq type='result' id='5ae238bf09fab11ef14fa8c70cf9a7e8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:15:11.773 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:15:11.774 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:15:11.775 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@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 2022-02-02 15:15:11.775 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='006f573f1ea07cb0' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.775 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:15:11.775 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTY0OQBtYWtyb2xpa2E=</auth>
*** User 2022-02-02 15:15:11.776 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:15:11.776 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@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 2022-02-02 15:15:11.776 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6b76fed75f3e6cc' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.776 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:15:11.776 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<iq type='set' id='15a87b19f788195e8f761686626b737d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:15:11.777 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq id='15a87b19f788195e8f761686626b737d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:15:11.777 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<iq type='set' id='0bf575b1eb3f3d2f9e19e04292793fb1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:15:11.777 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq type='result' id='0bf575b1eb3f3d2f9e19e04292793fb1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:15:11.777 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:15:11.780 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:15:11.781 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@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 2022-02-02 15:15:11.782 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0970332a0c859e37' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.782 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:15:11.782 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE2NDkAbWFrcm93ZTtw</auth>
*** User 2022-02-02 15:15:11.783 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:15:11.783 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@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 2022-02-02 15:15:11.783 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f178ec0b8050268f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.784 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:15:11.784 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<iq type='set' id='674772c0728c244221249e5b7c684d96'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:15:11.784 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq id='674772c0728c244221249e5b7c684d96' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:15:11.784 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<iq type='set' id='c7cb6336ea237ca0ed2c7fcbbad3eef3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:15:11.784 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq type='result' id='c7cb6336ea237ca0ed2c7fcbbad3eef3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:15:11.784 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:15:11.787 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:15:11.787 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@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 2022-02-02 15:15:11.788 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4fd45433e4166b77' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.788 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:15:11.788 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE2NDkAbmljbmllbWE=</auth>
*** User 2022-02-02 15:15:11.789 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:15:11.790 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@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 2022-02-02 15:15:11.790 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e68822b467cdace6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:15:11.790 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-02-02 15:15:11.790 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<iq type='set' id='6ccc30b4c636ba58b5940e7f201a608e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:15:11.791 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq id='6ccc30b4c636ba58b5940e7f201a608e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:15:11.791 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<iq type='set' id='c70ea641f94358f04fd173f0a48b63a3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:15:11.791 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq type='result' id='c70ea641f94358f04fd173f0a48b63a3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:15:11.792 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:15:11.794 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:15:11.806 ***
REST request:
Code: 204
Req: {<0.27788.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b616bcc37c63b25e">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:15:11 GMT">>}],
<<>>,80,2378}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:15:11.806 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' id='push38224bdc0796f627' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:11.863 ***
REST request:
Code: 204
Req: {<0.27832.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"aefc9d39788f0501">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:15:11 GMT">>}],
<<>>,80,48626}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:15:11.863 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' id='push7a53767ddd5b1939' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:11.874 ***
REST request:
Code: 200
Req: {<0.27855.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3333d31b0c102f83">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:15:11 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\"]}">>,
218,4193}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\",\"kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\",\"mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:15:11.882 ***
REST request:
Code: 200
Req: {<0.27888.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d1cc4efdd345882a">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNjQ5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 02 Feb 2022 15:15:11 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,1198}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-02-02 15:15:11.882 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com' to='bob_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1' id='push3bb2f109a6c04c24' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com'/>
</query>
</iq>
*** User 2022-02-02 15:15:11.882 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:15:11.883 ***
mike_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:15:11.883 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:15:11.883 ***
kate_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:15:11.883 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:15:11.883 ***
bOb_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:15:11.883 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:15:11.883 ***
alicE_add_and_remove_some_contacts_with_nonexisting_1649@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:15:11
=== successfully completed test case
=== === Returned value: ok