=== Test case: rest_client_SUITE:add_and_remove_some_contacts_with_nonexisting/1 (click for source code)

=== Config value:

    [{watchdog,<0.9767.2>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.152578.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:34:35


*** CT 2022-01-25 16:34:35.384 *** View log from node mongooseim@localhost when started mongooseim@localhost_5826.html
*** CT 2022-01-25 16:34:35.385 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:34:35.401 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.401 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3dfe0107f2f25c5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:35.401 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.401 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMjU2AG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:34:35.402 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:34:35.402 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.403 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6f2082107118b3b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:35.403 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.403 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<iq type='set' id='4e6a11b744a2f9f5dfb9ec7e9fd7feb5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:35.403 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq id='4e6a11b744a2f9f5dfb9ec7e9fd7feb5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:35.403 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<iq type='set' id='632f55bc227fe4b8d519c8a454d2f12f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:35.403 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq type='result' id='632f55bc227fe4b8d519c8a454d2f12f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:35.404 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:35.406 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:34:35.407 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.407 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a9064b07b19840d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:35.407 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.407 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjI1NgBtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:34:35.408 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:34:35.408 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.408 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34ab35c650fab407' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:35.408 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.408 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<iq type='set' id='d04728949fbfee530a0755c8af5b9a3c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:35.409 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq id='d04728949fbfee530a0755c8af5b9a3c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:35.409 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<iq type='set' id='97ccb13763310f8c4588ff591a682fa3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:35.411 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq type='result' id='97ccb13763310f8c4588ff591a682fa3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:35.411 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:35.414 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:34:35.415 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.415 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c3b20bcd54adfd9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:35.416 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.416 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzIyNTYAbWFrcm93ZTtw</auth>



*** User 2022-01-25 16:34:35.420 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:34:35.420 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.420 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7fc0f135d60443c2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:35.420 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.420 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<iq type='set' id='631217e0e3c962546d5c9ec50bee2adc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:35.429 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq id='631217e0e3c962546d5c9ec50bee2adc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:35.429 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<iq type='set' id='e271ea033d9d8207f52de389f23897a7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:35.430 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq type='result' id='e271ea033d9d8207f52de389f23897a7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:35.430 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:35.435 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:34:35.435 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14d14dc8a4197bf9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:35.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzIyNTYAbmljbmllbWE=</auth>



*** User 2022-01-25 16:34:35.439 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:34:35.439 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.440 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b097d63c96434803' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:35.440 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@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-01-25 16:34:35.440 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<iq type='set' id='cedb1838ce040bcaa99e1fc7672b03d4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:35.440 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq id='cedb1838ce040bcaa99e1fc7672b03d4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:35.441 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<iq type='set' id='c6f0e7078dbd07537ff4500368d75885'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:35.441 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq type='result' id='c6f0e7078dbd07537ff4500368d75885'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:35.441 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:35.444 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:34:35.462 ***
REST request:
Code: 204
Req: {<0.9910.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"91fd527ba286719e">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMjU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2256@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:35 GMT">>}],
         <<>>,80,6981}
Params: #{body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2256@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:35.462 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' id='pushafc813226d46efce' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_2256@localhost'/>
	</query>
</iq>



*** User 2022-01-25 16:34:35.476 ***
REST request:
Code: 204
Req: {<0.9938.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cebc2d74a84470d6">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMjU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:35 GMT">>}],
         <<>>,80,4643}
Params: #{body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:35.476 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' id='push57b5522e5b16d727' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost'/>
	</query>
</iq>



*** User 2022-01-25 16:34:35.549 ***
REST request:
Code: 200
Req: {<0.9969.2>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8239d6dd90011871">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMjU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2256@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:35 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost\"]}">>,
         209,12580}
Params: #{body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2256@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost\"]}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:35.560 ***
REST request:
Code: 200
Req: {<0.9989.2>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"941a7bd74e04f939">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yMjU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:35 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,2643}
Params: #{body => <<>>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:35.561 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1' id='push57199e86375a3a87' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_2256@localhost'/>
	</query>
</iq>



*** User 2022-01-25 16:34:35.561 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:35.561 ***
mike_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:34:35.561 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:35.561 ***
kate_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:34:35.561 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:35.562 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:34:35.562 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:35.562 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2256@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:34:35.568 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:34:35.569 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5826.html



=== Ended at 2022-01-25 16:34:35
=== successfully completed test case
=== === Returned value: ok