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

=== Config value:

    [{watchdog,<0.17671.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@65765adaff9e.2022-05-25_10.37.59/big_tests.tests.rest_client_SUITE.logs/run.2022-05-25_10.50.49/rest_client_suite.add_and_remove_some_contacts_with_nonexisting.167042.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@65765adaff9e.2022-05-25_10.37.59/big_tests.tests.rest_client_SUITE.logs/run.2022-05-25_10.50.49/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 => rdbms,iqdisc => one_queue,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 => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@65765adaff9e.2022-05-25_10.37.59"

=== Started at 2022-05-25 10:50:52


*** CT 2022-05-25 10:50:52.400 *** View log from node mongooseim@localhost when started mongooseim@localhost_5453.html
*** CT 2022-05-25 10:50:52.400 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1972.html

*** User 2022-05-25 10:50:52.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='be8f0e89c7e7087a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:52.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.415 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNDYzAG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 10:50:52.417 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:50:52.417 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.418 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d051b134901333b1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:52.418 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.418 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<iq type='set' id='b046926387d2d3afd88f55cad583f8b6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:50:52.418 ***
alicE_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq id='b046926387d2d3afd88f55cad583f8b6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:50:52.418 ***
alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<iq type='set' id='1a367fd96f0a29520673f6b9953b33ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:52.418 ***
alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq type='result' id='1a367fd96f0a29520673f6b9953b33ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:52.419 ***
alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<presence/>



*** User 2022-05-25 10:50:52.421 ***
alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<presence from='alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' to='alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:50:52.421 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.421 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='49541f377c765eb7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:52.421 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.421 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3dpdGhfbm9uZXhpc3RpbmdfMjQ2MwBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 10:50:52.422 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:50:52.422 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.422 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6296cf0f7a291834' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:52.422 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.423 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<iq type='set' id='2370c447089c8f0fc665ad04851a375d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:50:52.423 ***
bOb_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq id='2370c447089c8f0fc665ad04851a375d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:50:52.423 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<iq type='set' id='6d16fcbcd3587ac4291511f206980d4d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:52.423 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq type='result' id='6d16fcbcd3587ac4291511f206980d4d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:52.423 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<presence/>



*** User 2022-05-25 10:50:52.425 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<presence from='bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' to='bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:50:52.425 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.426 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ab45532ecacf8ae' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:52.426 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.426 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI0NjMAbWFrcm93ZTtw</auth>



*** User 2022-05-25 10:50:52.428 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:50:52.428 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.428 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3008dec4ef9fcffa' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:52.428 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.428 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<iq type='set' id='27d55cb58aaafea0a52a66b4f809507d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:50:52.429 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq id='27d55cb58aaafea0a52a66b4f809507d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:50:52.429 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<iq type='set' id='37517125d6ab2010c5d1ff60e00a52d2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:52.429 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq type='result' id='37517125d6ab2010c5d1ff60e00a52d2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:52.429 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<presence/>



*** User 2022-05-25 10:50:52.431 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' to='kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:50:52.431 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.432 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b3c2ddf21c0e40e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:52.432 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.432 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c193aXRoX25vbmV4aXN0aW5nXzI0NjMAbmljbmllbWE=</auth>



*** User 2022-05-25 10:50:52.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:50:52.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c837ee953496724' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:52.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@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-05-25 10:50:52.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<iq type='set' id='a30ba8f72401fc2e2d557f55233e74af'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:50:52.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq id='a30ba8f72401fc2e2d557f55233e74af' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:50:52.436 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<iq type='set' id='65738905d8f6fd89f436aab6841119e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:52.437 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq type='result' id='65738905d8f6fd89f436aab6841119e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:52.437 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
<presence/>



*** User 2022-05-25 10:50:52.438 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' to='mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:50:52.470 ***
REST request:
Code: 204
Req: {<0.17794.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dd4eb02920b91036">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNDYzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:50:52 GMT">>}],
         <<>>,80,6207}
Params: #{body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 10:50:52.470 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' id='push20b76719f02c7228' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:50:52.484 ***
REST request:
Code: 204
Req: {<0.17822.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"26873fc443527141">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNDYzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:50:52 GMT">>}],
         <<>>,80,5853}
Params: #{body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 10:50:52.484 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' id='pushbd831fc11e5e1f3b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:50:52.497 ***
REST request:
Code: 200
Req: {<0.17851.2>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"80b9c2490ad8b62f">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNDYzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:50:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"85">>}],
         <<"{\"not_deleted\":[\"mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost\"]}">>,
         209,5939}
Params: #{body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost\",\"kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost\",\"mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost\"]}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 10:50:52.505 ***
REST request:
Code: 200
Req: {<0.17888.2>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9b10ba56462615e9">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfd2l0aF9ub25leGlzdGluZ18yNDYzQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:50:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,1774}
Params: #{body => <<>>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 10:50:52.505 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost' to='bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1' id='push6b62474b6a560e10' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost'/>
	</query>
</iq>



*** User 2022-05-25 10:50:52.505 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:50:52.505 ***
mike_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:50:52.505 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:50:52.506 ***
kate_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:50:52.506 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:50:52.506 ***
bob_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:50:52.506 ***
alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:50:52.506 ***
alice_add_and_remove_some_contacts_with_nonexisting_2463@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:50:52.542 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1972.html
*** CT 2022-05-25 10:50:52.543 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5453.html



=== Ended at 2022-05-25 10:50:52
=== successfully completed test case
=== === Returned value: ok