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

=== Config value:

    [{watchdog,<0.23252.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.inbox_SUITE.logs/run.2022-04-04_15.05.59/inbox_suite.reset_unread_counter_and_show_only_unread.27011.html"},
     {tc_group_properties,[{name,one_to_one}]},
     {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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.inbox_SUITE.logs/run.2022-04-04_15.05.59/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 => [],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}}},
     {{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,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_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 =>
            #{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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:06:13


*** CT 2022-04-04 15:06:13.666 *** View log from node mongooseim@localhost when started mongooseim@localhost_1210.html
*** CT 2022-04-04 15:06:13.666 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_400.html

*** User 2022-04-04 15:06:13.678 ***
kate_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.678 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b64eb8802073c1d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:06:13.678 ***
kate_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.678 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfOTQ1AG1ha3Jvd2U7cA==</auth>



*** User 2022-04-04 15:06:13.679 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:06:13.679 ***
kate_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.680 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3e221ae49124b10' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:06:13.680 ***
kate_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.680 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='2ee870d88544128bce5475f12927f019'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:06:13.680 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq id='2ee870d88544128bce5475f12927f019' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_and_show_only_unread_945@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:06:13.680 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='ec613ea7f5163bf41f1749d075f72903'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:06:13.680 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq type='result' id='ec613ea7f5163bf41f1749d075f72903'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:06:13.680 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<presence/>



*** User 2022-04-04 15:06:13.682 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<presence from='kate_reset_unread_counter_and_show_only_unread_945@localhost/res1' to='kate_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:06:13.682 ***
mike_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.683 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c6ffc818925327a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:06:13.683 ***
mike_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.683 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfOTQ1AG5pY25pZW1h</auth>



*** User 2022-04-04 15:06:13.684 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:06:13.684 ***
mike_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.684 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62de4ca5ac54894c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:06:13.684 ***
mike_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.684 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='27f90e75b58dc93345485b47c9dfc4bd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:06:13.684 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq id='27f90e75b58dc93345485b47c9dfc4bd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_and_show_only_unread_945@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:06:13.684 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='c9602d7d696d395302a2590040ef22e3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:06:13.684 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq type='result' id='c9602d7d696d395302a2590040ef22e3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:06:13.685 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<presence/>



*** User 2022-04-04 15:06:13.686 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<presence from='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:06:13.687 ***
alicE_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.687 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='13bfb82a7cd3fb02' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:06:13.687 ***
alicE_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.687 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc2V0X3VucmVhZF9jb3VudGVyX2FuZF9zaG93X29ubHlfdW5yZWFkXzk0NQBtYXR5Z3J5c2E=</auth>



*** User 2022-04-04 15:06:13.688 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:06:13.688 ***
alicE_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.688 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='278223bc7b4483f6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:06:13.688 ***
alicE_reset_unread_counter_and_show_only_unread_945@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-04-04 15:06:13.688 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='9b3e55087887f9684979b0f2f5baac13'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:06:13.689 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq id='9b3e55087887f9684979b0f2f5baac13' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:06:13.689 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='49c6953f134984ed4278270bc6dfbe18'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:06:13.689 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq type='result' id='49c6953f134984ed4278270bc6dfbe18'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:06:13.689 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<presence/>



*** User 2022-04-04 15:06:13.690 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<presence from='alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1' to='alice_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:06:13.690 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<message to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' type='chat' id='adedace7e06a48ffe05c4e55907956ca'>
	<body>Test</body>
</message>



*** User 2022-04-04 15:06:13.694 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<message from='kate_reset_unread_counter_and_show_only_unread_945@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en' type='chat' id='adedace7e06a48ffe05c4e55907956ca'>
	<body>Test</body>
</message>



*** User 2022-04-04 15:06:13.694 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='0eee7beaddfcf147863828123ec7d613'>
	<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-04-04 15:06:13.696 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='4974f7a3-3f05-43d1-bd62-d08ac3ab9075'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='0eee7beaddfcf147863828123ec7d613'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-04-04T15:06:13.690742Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' type='chat' id='adedace7e06a48ffe05c4e55907956ca'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-04-04 15:06:13.696 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='0eee7beaddfcf147863828123ec7d613' 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-04-04 15:06:13.696 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<message to='kate_reset_unread_counter_and_show_only_unread_945@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='adedace7e06a48ffe05c4e55907956ca'/>
</message>



*** User 2022-04-04 15:06:13.696 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='63c1b77112da966e48da844b15c9155f'>
	<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-04-04 15:06:13.699 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='63c1b77112da966e48da844b15c9155f' 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-04-04 15:06:13.699 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<message to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' type='chat' id='ce1ed7dbb1702cd04401e388e333209d'>
	<body>Test</body>
</message>



*** User 2022-04-04 15:06:13.700 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<message from='alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en' type='chat' id='ce1ed7dbb1702cd04401e388e333209d'>
	<body>Test</body>
</message>



*** User 2022-04-04 15:06:13.700 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='1b45d144b942f8044aa9a6cced31538c'>
	<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-04-04 15:06:13.702 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='1b45d144b942f8044aa9a6cced31538c' 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-04-04 15:06:13.803 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='1b45d144b942f8044aa9a6cced31538c'>
	<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-04-04 15:06:13.837 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='5d8cae32-fcc6-409d-97a1-bfa0895827ea'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='1b45d144b942f8044aa9a6cced31538c'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-04-04T15:06:13.699823Z'/>
			<message from='alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' type='chat' id='ce1ed7dbb1702cd04401e388e333209d'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-04-04 15:06:13.838 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='1b45d144b942f8044aa9a6cced31538c' 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-04-04 15:06:13.838 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
<iq type='set' id='aa069d09936e0ee707db788c110f8cec'>
	<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-04-04 15:06:14.159 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='99613ee5-04eb-48e7-ba3b-3230b5bd39e6'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='aa069d09936e0ee707db788c110f8cec'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-04-04T15:06:13.699823Z'/>
			<message from='alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' type='chat' id='ce1ed7dbb1702cd04401e388e333209d'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-04-04 15:06:14.159 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='0db5f413-9cbd-4e2c-9784-3ffa7bfed189'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='aa069d09936e0ee707db788c110f8cec'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-04-04T15:06:13.690742Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_945@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' type='chat' id='adedace7e06a48ffe05c4e55907956ca'>
				<body>Test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-04-04 15:06:14.159 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_945@localhost' to='mike_reset_unread_counter_and_show_only_unread_945@localhost/res1' id='aa069d09936e0ee707db788c110f8cec' 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-04-04 15:06:14.159 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:06:14.159 ***
alicE_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:06:14.160 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:06:14.480 ***
mike_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:06:14.480 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:06:14.480 ***
kate_reset_unread_counter_and_show_only_unread_945@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:06:14.482 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_400.html
*** CT 2022-04-04 15:06:14.482 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1210.html



=== Ended at 2022-04-04 15:06:14
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result