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

=== Config value:

    [{watchdog,<0.19119.0>},
     {inbox_opts,[{aff_changes,true},
                  {remove_on_kicked,true},
                  {groupchat,[]},
                  {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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.inbox_SUITE.logs/run.2022-02-03_16.31.34/inbox_suite.reset_unread_counter_with_reset_chat_marker.html"},
     {tc_group_properties,[{name,one_to_one}]},
     {tc_group_path,[]},
     {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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.inbox_SUITE.logs/run.2022-02-03_16.31.34/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{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}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c0783a4ae5cf.2022-02-03_16.28.29"

=== Started at 2022-02-03 16:31:36


*** CT 2022-02-03 16:31:36.322 *** View log from node mongooseim@localhost when started mongooseim@localhost_937.html
*** CT 2022-02-03 16:31:36.323 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_506.html

*** User 2022-02-03 16:31:36.331 ***
kate_reset_unread_counter_with_reset_chat_marker_800@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-02-03 16:31:36.332 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9efdec88f7b4f9a7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:31:36.332 ***
kate_reset_unread_counter_with_reset_chat_marker_800@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-02-03 16:31:36.332 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfd2l0aF9yZXNldF9jaGF0X21hcmtlcl84MDAAbWFrcm93ZTtw</auth>



*** User 2022-02-03 16:31:36.333 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-03 16:31:36.333 ***
kate_reset_unread_counter_with_reset_chat_marker_800@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-02-03 16:31:36.333 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f71186f0c0739d9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:31:36.333 ***
kate_reset_unread_counter_with_reset_chat_marker_800@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-02-03 16:31:36.333 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<iq type='set' id='c518a765f8547288e6c1fc54e0b7dedb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-03 16:31:36.334 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<iq id='c518a765f8547288e6c1fc54e0b7dedb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-02-03 16:31:36.334 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<iq type='set' id='6ea760225d97f10f8170116b05267077'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:31:36.334 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<iq type='result' id='6ea760225d97f10f8170116b05267077'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:31:36.334 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<presence/>



*** User 2022-02-03 16:31:36.336 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<presence from='kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' to='kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' xml:lang='en'/>



*** User 2022-02-03 16:31:36.336 ***
mike_reset_unread_counter_with_reset_chat_marker_800@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-02-03 16:31:36.337 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='57732a3da6482165' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:31:36.337 ***
mike_reset_unread_counter_with_reset_chat_marker_800@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-02-03 16:31:36.337 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfd2l0aF9yZXNldF9jaGF0X21hcmtlcl84MDAAbmljbmllbWE=</auth>



*** User 2022-02-03 16:31:36.338 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-03 16:31:36.338 ***
mike_reset_unread_counter_with_reset_chat_marker_800@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-02-03 16:31:36.338 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4307a83652f7cf53' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:31:36.338 ***
mike_reset_unread_counter_with_reset_chat_marker_800@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-02-03 16:31:36.338 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<iq type='set' id='e429ab5753f60830911b4af0b2c5316c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-03 16:31:36.338 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<iq id='e429ab5753f60830911b4af0b2c5316c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-02-03 16:31:36.339 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<iq type='set' id='381685dcb04a28eda1a5629c31609e15'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:31:36.339 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<iq type='result' id='381685dcb04a28eda1a5629c31609e15'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:31:36.339 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<presence/>



*** User 2022-02-03 16:31:36.341 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<presence from='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' xml:lang='en'/>



*** User 2022-02-03 16:31:36.341 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<message to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' type='chat' id='ef7c7e2eb7c65bdbad241ca8a35eddc3'>
	<body>Hi mike</body>
</message>



*** User 2022-02-03 16:31:36.348 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<message from='kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' xml:lang='en' type='chat' id='ef7c7e2eb7c65bdbad241ca8a35eddc3'>
	<body>Hi mike</body>
</message>



*** User 2022-02-03 16:31:36.348 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<iq type='set' id='4ff6156feb72c02a634570cd302b91be'>
	<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-02-03 16:31:36.349 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<message from='mike_reset_unread_counter_with_reset_chat_marker_800@localhost' to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' id='1d1e663b-6f8f-4e8c-9338-eeb48fb560dc'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='4ff6156feb72c02a634570cd302b91be'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-03T16:31:36.341484Z'/>
			<message from='kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' type='chat' id='ef7c7e2eb7c65bdbad241ca8a35eddc3'>
				<body>Hi mike</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-03 16:31:36.349 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_chat_marker_800@localhost' to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' id='4ff6156feb72c02a634570cd302b91be' 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-02-03 16:31:36.349 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<message to='kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='ef7c7e2eb7c65bdbad241ca8a35eddc3'/>
</message>



*** User 2022-02-03 16:31:36.349 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
<iq type='set' id='163d9470b887cc170852599abff4a2c9'>
	<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-02-03 16:31:36.355 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<message from='mike_reset_unread_counter_with_reset_chat_marker_800@localhost' to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' id='3d6984bc-a9c9-477e-81fb-f5ceb8b753fd'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='163d9470b887cc170852599abff4a2c9'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-03T16:31:36.341484Z'/>
			<message from='kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' type='chat' id='ef7c7e2eb7c65bdbad241ca8a35eddc3'>
				<body>Hi mike</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-03 16:31:36.356 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_chat_marker_800@localhost' to='mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1' id='163d9470b887cc170852599abff4a2c9' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-02-03 16:31:36.356 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
</stream:stream>

*** User 2022-02-03 16:31:36.356 ***
mike_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
</stream:stream>

*** User 2022-02-03 16:31:36.356 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 out
</stream:stream>

*** User 2022-02-03 16:31:36.356 ***
kate_reset_unread_counter_with_reset_chat_marker_800@localhost/res1 in
</stream:stream>
*** CT 2022-02-03 16:31:36.357 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_506.html
*** CT 2022-02-03 16:31:36.358 *** View log from node mongooseim@localhost when finished mongooseim@localhost_937.html



=== Ended at 2022-02-03 16:31:36
=== successfully completed test case
=== === Returned value: ok


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