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

=== Config value:

    [{watchdog,<0.21656.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.inbox_SUITE.logs/run.2022-03-18_10.53.19/inbox_suite.reset_unread_counter_and_show_only_unread.27011.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.inbox_SUITE.logs/run.2022-03-18_10.53.19/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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 => [],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 =>
            #{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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:53:24


*** CT 2022-03-18 10:53:24.344 *** View log from node mongooseim@localhost when started mongooseim@localhost_822.html
*** CT 2022-03-18 10:53:24.345 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_437.html

*** User 2022-03-18 10:53:24.373 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:24.374 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='055197fde8a0692f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:24.375 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/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-18 10:53:24.375 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfOTA3AG1ha3Jvd2U7cA==</auth>



*** User 2022-03-18 10:53:24.377 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:24.377 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:24.378 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9cd9deccfc8c605b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:24.378 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/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-18 10:53:24.378 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='9da84ecd96b5252bbca2676a90ee385c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:24.379 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq id='9da84ecd96b5252bbca2676a90ee385c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:24.379 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='d72ee6b595afcb79f0da6aa9f094ab42'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:24.380 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq type='result' id='d72ee6b595afcb79f0da6aa9f094ab42'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:24.381 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:24.391 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<presence from='kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' to='kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:24.394 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:24.396 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5023d31ee699d6b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:24.396 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/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-18 10:53:24.396 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfOTA3AG5pY25pZW1h</auth>



*** User 2022-03-18 10:53:24.399 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:24.400 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:24.400 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='36039ad570a4def9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:24.400 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/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-18 10:53:24.400 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='84589a7ee0a96ca3a8ddcc5b5d78b314'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:24.401 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq id='84589a7ee0a96ca3a8ddcc5b5d78b314' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:24.401 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='bb1420c9e98cdfb8816c957764853278'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:24.453 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq type='result' id='bb1420c9e98cdfb8816c957764853278'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:24.453 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:24.457 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<presence from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:24.458 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:24.460 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c7a39fe5c545f98' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:24.461 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/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-18 10:53:24.461 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc2V0X3VucmVhZF9jb3VudGVyX2FuZF9zaG93X29ubHlfdW5yZWFkXzkwNwBtYXR5Z3J5c2E=</auth>



*** User 2022-03-18 10:53:24.463 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:24.463 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:24.464 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='948e5aedaf48c612' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:24.464 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/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-18 10:53:24.464 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='8aaa9d376444ab1566e8796dee7f6f1b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:24.464 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq id='8aaa9d376444ab1566e8796dee7f6f1b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:24.465 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='73a931be96880c867121d15a35cd09e4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:24.465 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq type='result' id='73a931be96880c867121d15a35cd09e4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:24.465 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:24.467 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<presence from='alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' to='alice_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:24.467 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<message to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' type='chat' id='7268250dad0a3158ab2fb6104ea1388c'>
	<body>Test</body>
</message>



*** User 2022-03-18 10:53:24.470 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<message from='kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en' type='chat' id='7268250dad0a3158ab2fb6104ea1388c'>
	<body>Test</body>
</message>



*** User 2022-03-18 10:53:24.470 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='560561512f0dd2b4b299cfbbe85e65a2'>
	<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-18 10:53:24.471 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='560561512f0dd2b4b299cfbbe85e65a2' 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-18 10:53:24.572 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='560561512f0dd2b4b299cfbbe85e65a2'>
	<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-18 10:53:24.573 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='c46fd840-a0da-4148-96dc-d41b406fece6'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='560561512f0dd2b4b299cfbbe85e65a2'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:53:24.467979Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' type='chat' id='7268250dad0a3158ab2fb6104ea1388c'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-18 10:53:24.573 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='560561512f0dd2b4b299cfbbe85e65a2' 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-18 10:53:24.573 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<message to='kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='7268250dad0a3158ab2fb6104ea1388c'/>
</message>



*** User 2022-03-18 10:53:24.573 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='d88811ca9850050bbbea0d5b3b779f89'>
	<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-18 10:53:24.575 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='d88811ca9850050bbbea0d5b3b779f89' 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-18 10:53:24.575 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<message to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' type='chat' id='75255898bf6399acb44e31015018f03f'>
	<body>Test</body>
</message>



*** User 2022-03-18 10:53:24.576 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<message from='alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en' type='chat' id='75255898bf6399acb44e31015018f03f'>
	<body>Test</body>
</message>



*** User 2022-03-18 10:53:24.576 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='8352db0ecbdf73e0e421f59f1e0207c1'>
	<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-18 10:53:24.619 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='3ce15c25-a7fd-4bb6-9f5e-17ec17e77d02'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='8352db0ecbdf73e0e421f59f1e0207c1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:53:24.575611Z'/>
			<message from='alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' type='chat' id='75255898bf6399acb44e31015018f03f'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-18 10:53:24.619 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='8352db0ecbdf73e0e421f59f1e0207c1' 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-18 10:53:24.619 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
<iq type='set' id='3ec9dcc45761fb9e7410ea277d7c75a0'>
	<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-18 10:53:24.941 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='5153ae77-8b79-434c-8c6c-66562fe31bc4'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='3ec9dcc45761fb9e7410ea277d7c75a0'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:53:24.575611Z'/>
			<message from='alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' type='chat' id='75255898bf6399acb44e31015018f03f'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-18 10:53:24.941 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='b18f7ee9-659a-4cb5-b184-928a4ae2eccd'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='3ec9dcc45761fb9e7410ea277d7c75a0'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:53:24.467979Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' type='chat' id='7268250dad0a3158ab2fb6104ea1388c'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-18 10:53:24.941 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1' id='3ec9dcc45761fb9e7410ea277d7c75a0' 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-18 10:53:24.941 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:24.941 ***
alicE_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:53:24.941 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:25.263 ***
mike_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:53:25.263 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:25.263 ***
kate_reset_unread_counter_and_show_only_unread_907@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:53:25.265 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_437.html
*** CT 2022-03-18 10:53:25.266 *** View log from node mongooseim@localhost when finished mongooseim@localhost_822.html



=== Ended at 2022-03-18 10:53:25
=== successfully completed test case
=== === Returned value: ok