=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)
=== Config value:
[{watchdog,<0.25260.1>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,riak},
{archive_wait,2500},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"riak_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.rest_client_SUITE.logs/run.2022-06-22_08.57.32/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.101122.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.rest_client_SUITE.logs/run.2022-06-22_08.57.32/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_commands => #{},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
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"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => riak,iqdisc => one_queue,
riak =>
#{bucket_type => <<"rosters">>,
version_bucket_type => <<"roster_versions">>},
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 => riak,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,
riak =>
#{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"
=== Started at 2022-06-22 08:57:51
*** User 2022-06-22 08:57:51.878 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:57:51.878 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96528babd106e13f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:57:51.878 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/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-06-22 08:57:51.878 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzIzAG1hdHlncnlzYQ==</auth>
*** User 2022-06-22 08:57:51.891 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 08:57:51.891 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:57:51.892 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b0f72e1b81dd7c3' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:57:51.892 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/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-06-22 08:57:51.892 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<iq type='set' id='5072da18d16ad3c4164cd0fc9ea30154'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 08:57:51.956 ***🔗
alicE_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq id='5072da18d16ad3c4164cd0fc9ea30154' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 08:57:51.956 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<iq type='set' id='e0efe4bbc9422bcded15761a7f182249'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:57:51.957 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq type='result' id='e0efe4bbc9422bcded15761a7f182249'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:57:51.957 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<presence/>
*** User 2022-06-22 08:57:51.961 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 08:57:51.962 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:57:51.962 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e757a834cd86866' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:57:51.962 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/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-06-22 08:57:51.962 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMTcyMwBtYWtyb2xpa2E=</auth>
*** User 2022-06-22 08:57:51.965 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 08:57:51.965 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:57:51.965 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3d8e352d7e9577f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:57:51.965 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/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-06-22 08:57:51.966 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<iq type='set' id='dfc2597fdb6978a43ff9e59ba28a80fa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 08:57:51.966 ***🔗
bOb_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq id='dfc2597fdb6978a43ff9e59ba28a80fa' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 08:57:51.966 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<iq type='set' id='0ff61aa99776b4918dd12910f5712f17'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:57:51.966 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq type='result' id='0ff61aa99776b4918dd12910f5712f17'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:57:51.966 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<presence/>
*** User 2022-06-22 08:57:51.973 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 08:57:51.973 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:57:51.974 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f5d6058858c02ae0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:57:51.974 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/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-06-22 08:57:51.974 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE3MjMAbWFrcm93ZTtw</auth>
*** User 2022-06-22 08:57:51.976 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 08:57:51.976 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:57:51.977 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c66b649e900f2614' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:57:51.977 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/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-06-22 08:57:51.977 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<iq type='set' id='f9931b34bb7bcc889608db43e5b2875f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 08:57:51.977 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq id='f9931b34bb7bcc889608db43e5b2875f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 08:57:51.977 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<iq type='set' id='70f4140c5ce9b11b3a6d2014c9056071'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:57:51.977 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq type='result' id='70f4140c5ce9b11b3a6d2014c9056071'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:57:51.978 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<presence/>
*** User 2022-06-22 08:57:51.985 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 08:57:52.056 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:57:52.057 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04aef23cb97a9e22' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:57:52.058 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/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-06-22 08:57:52.058 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzE3MjMAbmljbmllbWE=</auth>
*** User 2022-06-22 08:57:52.060 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-06-22 08:57:52.060 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-06-22 08:57:52.062 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='400ed59602cdcaa0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-06-22 08:57:52.062 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/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-06-22 08:57:52.062 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<iq type='set' id='cf6d6ad374b5c5a60069fd1812dc057c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-06-22 08:57:52.062 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq id='cf6d6ad374b5c5a60069fd1812dc057c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1</jid>
</bind>
</iq>
*** User 2022-06-22 08:57:52.063 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<iq type='set' id='ca49e1c9fb321faab4b95032fc07b9fd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:57:52.063 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq type='result' id='ca49e1c9fb321faab4b95032fc07b9fd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-06-22 08:57:52.063 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
<presence/>
*** User 2022-06-22 08:57:52.069 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' xml:lang='en'/>
*** User 2022-06-22 08:57:52.160 ***🔗
REST request:
Code: 204
Req: {<0.25393.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ec9e9a8606291dfe">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzIzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 22 Jun 2022 08:57:51 GMT">>}],
<<>>,80,78838}
Params: #{body =>
<<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-06-22 08:57:52.160 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' id='push5ad902210af9f742' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:57:52.183 ***🔗
REST request:
Code: 204
Req: {<0.25425.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"acbf77f8561b4ded">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzIzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 22 Jun 2022 08:57:51 GMT">>}],
<<>>,80,12515}
Params: #{body =>
<<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost\"}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-06-22 08:57:52.183 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' id='pusha9b14f9dad2e01c2' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:57:52.271 ***🔗
REST request:
Code: 200
Req: {<0.25462.1>,<<"/api/contacts">>,<<"DELETE">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"79d7b48a8e700ee7">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzIzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 22 Jun 2022 08:57:51 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"85">>}],
<<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost\"]}">>,
209,7040}
Params: #{body =>
<<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost\"]}">>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost">>,
<<"makrolika">>},
method => <<"DELETE">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-06-22 08:57:52.358 ***🔗
REST request:
Code: 200
Req: {<0.25480.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"011bce24bcdb64cd">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18xNzIzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 22 Jun 2022 08:57:51 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,78140}
Params: #{body => <<>>,
creds =>
{<<"bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-06-22 08:57:52.358 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1' id='push0bbd04ec601e7315' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost'/>
</query>
</iq>
*** User 2022-06-22 08:57:52.359 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
</stream:stream>
*** User 2022-06-22 08:57:52.359 ***🔗
mike_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
</stream:stream>
*** User 2022-06-22 08:57:52.359 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
</stream:stream>
*** User 2022-06-22 08:57:52.360 ***🔗
kate_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
</stream:stream>
*** User 2022-06-22 08:57:52.360 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
</stream:stream>
*** User 2022-06-22 08:57:52.360 ***🔗
bob_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
</stream:stream>
*** User 2022-06-22 08:57:52.360 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 out
</stream:stream>
*** User 2022-06-22 08:57:52.361 ***🔗
alice_add_and_remove_some_contacts_with_nonexisting_1723@localhost/res1 in
</stream:stream>
=== Ended at 2022-06-22 08:57:52
=== successfully completed test case
=== === Returned value: ok