=== Test case: inbox_SUITE:reset_unread_counter_and_show_only_unread/1 (click for source code)

=== Config value:

    [{watchdog,<0.20672.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 4},
                   backend => rdbms_async,
                   groupchat => [muclight],
                   iqdisc => no_queue,remove_on_kicked => true,
                   reset_markers => [<<"displayed">>]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_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.inbox_SUITE.logs/run.2022-03-07_16.00.49/inbox_suite.reset_unread_counter_and_show_only_unread.43266.html"},
     {tc_group_properties,[{name,one_to_one},parallel]},
     {tc_group_path,[[{name,async_pools}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.inbox_SUITE.logs/run.2022-03-07_16.00.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},{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}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{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_last => #{backend => mnesia,iqdisc => one_queue},
        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:00:54


*** CT 2022-03-07 16:00:54.772 *** View log from node mongooseim@localhost when started mongooseim@localhost_740.html
*** CT 2022-03-07 16:00:54.773 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_110.html

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

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



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



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

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



*** User 2022-03-07 16:00:54.856 ***
kate_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq id='f4bb032b206d26deff76fdd79aa8bebc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_and_show_only_unread_877@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:00:54.856 ***
kate_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='355ba56702b9d6fc8124ecb8a209ab7c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:00:54.856 ***
kate_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq type='result' id='355ba56702b9d6fc8124ecb8a209ab7c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:00:54.856 ***
kate_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<presence/>



*** User 2022-03-07 16:00:54.884 ***
kate_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<presence from='kate_reset_unread_counter_and_show_only_unread_877@localhost/res1' to='kate_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en'/>



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

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



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



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

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



*** User 2022-03-07 16:00:54.891 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq id='fb60e5fbf8d0843e56ff36cbe8ad02ce' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_and_show_only_unread_877@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:00:54.891 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='70b020ddeea0027f615ec21428d1f5f8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:00:54.892 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq type='result' id='70b020ddeea0027f615ec21428d1f5f8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:00:54.892 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<presence/>



*** User 2022-03-07 16:00:54.904 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<presence from='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:00:54.905 ***
alicE_reset_unread_counter_and_show_only_unread_877@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:00:54.906 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06a09a44a79a989e' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-03-07 16:00:54.961 ***
alicE_reset_unread_counter_and_show_only_unread_877@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:00:54.961 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='21bf6a7068f2bdf57e35c5f0a95ed2e1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:00:54.961 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq id='21bf6a7068f2bdf57e35c5f0a95ed2e1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:00:54.961 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='f1557a68ffc8308871d761a388c87c6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:00:54.962 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq type='result' id='f1557a68ffc8308871d761a388c87c6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:00:54.962 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<presence/>



*** User 2022-03-07 16:00:54.971 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<presence from='alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1' to='alice_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:00:54.971 ***
kate_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<message to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' type='chat' id='3aac980edc5c31675b6de405cc02c3f1'>
	<body>Test</body>
</message>



*** User 2022-03-07 16:00:54.978 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<message from='kate_reset_unread_counter_and_show_only_unread_877@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en' type='chat' id='3aac980edc5c31675b6de405cc02c3f1'>
	<body>Test</body>
</message>



*** User 2022-03-07 16:00:54.978 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='cfaf77d6e6b20e488b8a4fc021198ccb'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-07 16:00:54.980 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='f9a340fa-f3cb-465a-810b-a1b3f95694d8'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='cfaf77d6e6b20e488b8a4fc021198ccb'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:00:54.971943Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' type='chat' id='3aac980edc5c31675b6de405cc02c3f1'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-07 16:00:54.980 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='cfaf77d6e6b20e488b8a4fc021198ccb' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-03-07 16:00:54.980 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<message to='kate_reset_unread_counter_and_show_only_unread_877@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='3aac980edc5c31675b6de405cc02c3f1'/>
</message>



*** User 2022-03-07 16:00:54.980 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='c5bcaa49a155de3b2ac910e3493b3871'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-07 16:00:54.983 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='c5bcaa49a155de3b2ac910e3493b3871' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-03-07 16:00:54.983 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<message to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' type='chat' id='00603b0a646ca388a63bd2037741b62b'>
	<body>Test</body>
</message>



*** User 2022-03-07 16:00:54.993 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<message from='alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en' type='chat' id='00603b0a646ca388a63bd2037741b62b'>
	<body>Test</body>
</message>



*** User 2022-03-07 16:00:54.993 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='cd1636e479489b5287556b52f02e205b'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-07 16:00:55.055 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='cd1636e479489b5287556b52f02e205b' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-03-07 16:00:55.156 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='cd1636e479489b5287556b52f02e205b'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-07 16:00:55.158 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='fdc3ecd3-0c7d-468d-8c1d-e61cc272569f'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='cd1636e479489b5287556b52f02e205b'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:00:54.984047Z'/>
			<message from='alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' type='chat' id='00603b0a646ca388a63bd2037741b62b'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-07 16:00:55.159 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='cd1636e479489b5287556b52f02e205b' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-03-07 16:00:55.159 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
<iq type='set' id='df65dd912247c79dfc38235e8831820e'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-07 16:00:55.442 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='ef8daa0a-d8f0-4d71-9056-0239f95e6f9e'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='df65dd912247c79dfc38235e8831820e'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:00:54.984047Z'/>
			<message from='alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' type='chat' id='00603b0a646ca388a63bd2037741b62b'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-07 16:00:55.442 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='f4c358cb-1bff-4905-a13a-aed228d3f68c'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='df65dd912247c79dfc38235e8831820e'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:00:54.971943Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_877@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' type='chat' id='3aac980edc5c31675b6de405cc02c3f1'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-07 16:00:55.442 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_877@localhost' to='mike_reset_unread_counter_and_show_only_unread_877@localhost/res1' id='df65dd912247c79dfc38235e8831820e' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>2</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-03-07 16:00:55.442 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:00:55.442 ***
alicE_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:00:55.442 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:00:55.762 ***
mike_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:00:55.762 ***
kate_reset_unread_counter_and_show_only_unread_877@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:00:55.763 ***
kate_reset_unread_counter_and_show_only_unread_877@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:00:55.765 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_110.html
*** CT 2022-03-07 16:00:55.765 *** View log from node mongooseim@localhost when finished mongooseim@localhost_740.html



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