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

=== Config value:

    [{watchdog,<0.12485.2>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.rest_client_SUITE.logs/run.2022-03-07_16.09.36/rest_client_suite.add_and_remove_some_contacts_properly.76548.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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.rest_client_SUITE.logs/run.2022-03-07_16.09.36/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},{time_to_live,2}],
        mod_carboncopy => [],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"}]},
             {welcome_message,{[],[]}}],
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management => [],
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,ldap_binary_search_fields => [],
              ldap_pool_tag => default,
              ldap_search_fields =>
                  [{<<"User">>,<<"%u">>},
                   {<<"Full Name">>,<<"displayName">>},
                   {<<"Given Name">>,<<"givenName">>},
                   {<<"Middle Name">>,<<"initials">>},
                   {<<"Family Name">>,<<"sn">>},
                   {<<"Nickname">>,<<"%u">>},
                   {<<"Birthday">>,<<"birthDay">>},
                   {<<"Country">>,<<"c">>},
                   {<<"City">>,<<"l">>},
                   {<<"Email">>,<<"mail">>},
                   {<<"Organization Name">>,<<"o">>},
                   {<<"Organization Unit">>,<<"ou">>}],
              ldap_search_operator => 'and',
              ldap_search_reported =>
                  [{<<"Full Name">>,<<"FN">>},
                   {<<"Given Name">>,<<"FIRST">>},
                   {<<"Middle Name">>,<<"MIDDLE">>},
                   {<<"Family Name">>,<<"LAST">>},
                   {<<"Nickname">>,<<"NICK">>},
                   {<<"Birthday">>,<<"BDAY">>},
                   {<<"Country">>,<<"CTRY">>},
                   {<<"City">>,<<"LOCALITY">>},
                   {<<"Email">>,<<"EMAIL">>},
                   {<<"Organization Name">>,<<"ORGNAME">>},
                   {<<"Organization Unit">>,<<"ORGUNIT">>}],
              ldap_uids => [{<<"uid">>,<<"%u">>}],
              ldap_vcard_map =>
                  [{<<"NICKNAME">>,<<"%u">>,[]},
                   {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                   {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                   {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                   {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                   {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                   {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                   {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                   {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                   {<<"STREET">>,<<"%s">>,[<<"street">>]},
                   {<<"REGION">>,<<"%s">>,[<<"st">>]},
                   {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                   {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                   {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                   {<<"DESC">>,<<"%s">>,[<<"description">>]},
                   {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                   {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                   {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                   {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                   {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
              matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:09:39


*** CT 2022-03-07 16:09:39.227 *** View log from node mongooseim@localhost when started mongooseim@localhost_4927.html
*** CT 2022-03-07 16:09:39.228 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1909.html

*** User 2022-03-07 16:09:39.241 ***
alicE_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.241 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8269cba764d9741e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:39.241 ***
alicE_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.241 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjI1OABtYXR5Z3J5c2E=</auth>



*** User 2022-03-07 16:09:39.242 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:09:39.242 ***
alicE_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.243 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='46e0c86a8c0e4008' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:39.243 ***
alicE_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.243 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<iq type='set' id='cd21460500808dd540439d3d05a56d25'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:09:39.243 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq id='cd21460500808dd540439d3d05a56d25' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_add_and_remove_some_contacts_properly_2258@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:09:39.243 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<iq type='set' id='fab48fd4324b288d902233e0ebfa6010'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:39.244 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq type='result' id='fab48fd4324b288d902233e0ebfa6010'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:39.244 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<presence/>



*** User 2022-03-07 16:09:39.248 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<presence from='alicE_add_and_remove_some_contacts_properly_2258@localhost/res1' to='alice_add_and_remove_some_contacts_properly_2258@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:09:39.249 ***
bOb_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.249 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='88fd12a29d8c4030' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:39.249 ***
bOb_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.249 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfYW5kX3JlbW92ZV9zb21lX2NvbnRhY3RzX3Byb3Blcmx5XzIyNTgAbWFrcm9saWth</auth>



*** User 2022-03-07 16:09:39.250 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:09:39.251 ***
bOb_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.251 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33f64f352527d00f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:39.251 ***
bOb_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.251 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<iq type='set' id='8a9bc73171cf88e00f66ef9f427e48c4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:09:39.251 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq id='8a9bc73171cf88e00f66ef9f427e48c4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_add_and_remove_some_contacts_properly_2258@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:09:39.252 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<iq type='set' id='9587732a55e6fa3aaae06aa1d7549e92'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:39.252 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq type='result' id='9587732a55e6fa3aaae06aa1d7549e92'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:39.252 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<presence/>



*** User 2022-03-07 16:09:39.258 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<presence from='bOb_add_and_remove_some_contacts_properly_2258@localhost/res1' to='bob_add_and_remove_some_contacts_properly_2258@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:09:39.259 ***
kate_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.259 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78017702bc8e5653' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:39.259 ***
kate_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.259 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8yMjU4AG1ha3Jvd2U7cA==</auth>



*** User 2022-03-07 16:09:39.260 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:09:39.260 ***
kate_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.260 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7d18483934c9f11' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:39.261 ***
kate_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.261 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<iq type='set' id='185250a05298ab8763e63ef5499146a2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:09:39.261 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq id='185250a05298ab8763e63ef5499146a2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_add_and_remove_some_contacts_properly_2258@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:09:39.261 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<iq type='set' id='9b7445431a0d0776b3e1812d1d07785b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:39.261 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq type='result' id='9b7445431a0d0776b3e1812d1d07785b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:39.261 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<presence/>



*** User 2022-03-07 16:09:39.265 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<presence from='kate_add_and_remove_some_contacts_properly_2258@localhost/res1' to='kate_add_and_remove_some_contacts_properly_2258@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:09:39.266 ***
mike_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.268 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e5451ca006a248e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:39.268 ***
mike_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.268 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfYWRkX2FuZF9yZW1vdmVfc29tZV9jb250YWN0c19wcm9wZXJseV8yMjU4AG5pY25pZW1h</auth>



*** User 2022-03-07 16:09:39.269 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:09:39.269 ***
mike_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.270 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e1ed3943a834852' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:09:39.270 ***
mike_add_and_remove_some_contacts_properly_2258@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-03-07 16:09:39.270 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<iq type='set' id='92d1d06a6dbc6e0cb3dd0c79e65ad95b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:09:39.270 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq id='92d1d06a6dbc6e0cb3dd0c79e65ad95b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_add_and_remove_some_contacts_properly_2258@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:09:39.270 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<iq type='set' id='edc75209758afad62b519bbc8d730c41'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:39.270 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq type='result' id='edc75209758afad62b519bbc8d730c41'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:09:39.271 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 out
<presence/>



*** User 2022-03-07 16:09:39.277 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<presence from='mike_add_and_remove_some_contacts_properly_2258@localhost/res1' to='mike_add_and_remove_some_contacts_properly_2258@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:09:39.289 ***
REST request:
Code: 204
Req: {<0.12628.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3f7b9f82c68bdc7e">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjI1OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_2258@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:39 GMT">>}],
         <<>>,80,3564}
Params: #{body =>
              <<"{\"jid\":\"alice_add_and_remove_some_contacts_properly_2258@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2258@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:39.289 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_2258@localhost' to='bob_add_and_remove_some_contacts_properly_2258@localhost/res1' id='push36929644c821a64e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='alice_add_and_remove_some_contacts_properly_2258@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:39.304 ***
REST request:
Code: 204
Req: {<0.12649.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"839bd4af7fdf9e32">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjI1OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_2258@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:39 GMT">>}],
         <<>>,80,6348}
Params: #{body =>
              <<"{\"jid\":\"kate_add_and_remove_some_contacts_properly_2258@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2258@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:39.305 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_2258@localhost' to='bob_add_and_remove_some_contacts_properly_2258@localhost/res1' id='pushb3de2cf7d98b3301' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='kate_add_and_remove_some_contacts_properly_2258@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:39.365 ***
REST request:
Code: 204
Req: {<0.12682.2>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"70b0da6e659a206a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjI1OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_2258@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:39 GMT">>}],
         <<>>,80,3265}
Params: #{body =>
              <<"{\"jid\":\"mike_add_and_remove_some_contacts_properly_2258@localhost\"}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2258@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:39.365 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_2258@localhost' to='bob_add_and_remove_some_contacts_properly_2258@localhost/res1' id='pushc8e852cd5763ff80' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' jid='mike_add_and_remove_some_contacts_properly_2258@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:39.380 ***
REST request:
Code: 200
Req: {<0.12698.2>,<<"/api/contacts">>,<<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0d7a7c5c8e707d5e">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjI1OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_2258@localhost\",\"kate_add_and_remove_some_contacts_properly_2258@localhost\"]}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:39 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"18">>}],
         <<"{\"not_deleted\":[]}">>,142,6909}
Params: #{body =>
              <<"{\"to_delete\":[\"alice_add_and_remove_some_contacts_properly_2258@localhost\",\"kate_add_and_remove_some_contacts_properly_2258@localhost\"]}">>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2258@localhost">>,
               <<"makrolika">>},
          method => <<"DELETE">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:39.390 ***
REST request:
Code: 200
Req: {<0.12719.2>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f361a596b4ebabe3">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9hbmRfcmVtb3ZlX3NvbWVfY29udGFjdHNfcHJvcGVybHlfMjI1OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:39 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"104">>}],
         <<"[{\"subscription\":\"none\",\"jid\":\"mike_add_and_remove_some_contacts_properly_2258@localhost\",\"ask\":\"none\"}]">>,
         229,1967}
Params: #{body => <<>>,
          creds =>
              {<<"bob_add_and_remove_some_contacts_properly_2258@localhost">>,
               <<"makrolika">>},
          method => <<"GET">>,path => <<"/api/contacts">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:09:39.390 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
<iq from='bob_add_and_remove_some_contacts_properly_2258@localhost' to='bob_add_and_remove_some_contacts_properly_2258@localhost/res1' id='push7d0df2ad76553c38' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' jid='alice_add_and_remove_some_contacts_properly_2258@localhost'/>
	</query>
</iq>



*** User 2022-03-07 16:09:39.390 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:09:39.390 ***
mike_add_and_remove_some_contacts_properly_2258@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:09:39.390 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:09:39.390 ***
kate_add_and_remove_some_contacts_properly_2258@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:09:39.390 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:09:39.391 ***
bOb_add_and_remove_some_contacts_properly_2258@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:09:39.391 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:09:39.391 ***
alicE_add_and_remove_some_contacts_properly_2258@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:09:39.393 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1909.html
*** CT 2022-03-07 16:09:39.394 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4927.html



=== Ended at 2022-03-07 16:09:39
=== successfully completed test case
=== === Returned value: ok