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

=== Config value:

    [{watchdog,<0.18696.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.inbox_SUITE.logs/run.2022-01-27_15.28.17/inbox_suite.reset_unread_counter_with_reset_stanza.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.inbox_SUITE.logs/run.2022-01-27_15.28.17/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:28:18


*** CT 2022-01-27 15:28:18.486 *** View log from node mongooseim@localhost when started mongooseim@localhost_946.html
*** CT 2022-01-27 15:28:18.487 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_511.html

*** User 2022-01-27 15:28:18.492 ***
kate_reset_unread_counter_with_reset_stanza_774@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-01-27 15:28:18.492 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a0d1e00d8f9c11f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:28:18.493 ***
kate_reset_unread_counter_with_reset_stanza_774@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-01-27 15:28:18.493 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfd2l0aF9yZXNldF9zdGFuemFfNzc0AG1ha3Jvd2U7cA==</auth>



*** User 2022-01-27 15:28:18.494 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:28:18.494 ***
kate_reset_unread_counter_with_reset_stanza_774@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-01-27 15:28:18.494 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0caab1aa53ca0e29' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:28:18.494 ***
kate_reset_unread_counter_with_reset_stanza_774@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-01-27 15:28:18.494 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<iq type='set' id='941fb86d7f1e498a8c4a0e6a63213c6a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:28:18.494 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<iq id='941fb86d7f1e498a8c4a0e6a63213c6a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_with_reset_stanza_774@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:28:18.495 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<iq type='set' id='ee1fcdb62545769c3767fdf6553ba01b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:28:18.495 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<iq type='result' id='ee1fcdb62545769c3767fdf6553ba01b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:28:18.495 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<presence/>



*** User 2022-01-27 15:28:18.497 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<presence from='kate_reset_unread_counter_with_reset_stanza_774@localhost/res1' to='kate_reset_unread_counter_with_reset_stanza_774@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:28:18.497 ***
mike_reset_unread_counter_with_reset_stanza_774@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-01-27 15:28:18.498 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='350b47f4371bc1c5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:28:18.498 ***
mike_reset_unread_counter_with_reset_stanza_774@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-01-27 15:28:18.498 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfd2l0aF9yZXNldF9zdGFuemFfNzc0AG5pY25pZW1h</auth>



*** User 2022-01-27 15:28:18.499 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:28:18.499 ***
mike_reset_unread_counter_with_reset_stanza_774@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-01-27 15:28:18.499 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a641c1d23cd8fc9e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:28:18.500 ***
mike_reset_unread_counter_with_reset_stanza_774@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-01-27 15:28:18.500 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<iq type='set' id='c483fa88b87b0c4bd9c6f30d8bc9393a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:28:18.500 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<iq id='c483fa88b87b0c4bd9c6f30d8bc9393a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_with_reset_stanza_774@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:28:18.500 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<iq type='set' id='8a31408e9bd1b6212c36579fc5c23baf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:28:18.500 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<iq type='result' id='8a31408e9bd1b6212c36579fc5c23baf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:28:18.500 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<presence/>



*** User 2022-01-27 15:28:18.502 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<presence from='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:28:18.502 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<message to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' type='chat' id='34bbf7098c9c790e273a2bb129680032'>
	<body>Hi mike</body>
</message>



*** User 2022-01-27 15:28:18.506 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<message from='kate_reset_unread_counter_with_reset_stanza_774@localhost/res1' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' xml:lang='en' type='chat' id='34bbf7098c9c790e273a2bb129680032'>
	<body>Hi mike</body>
</message>



*** User 2022-01-27 15:28:18.507 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<iq type='set' id='7405eb5362f7a383dcdd998c9188427f'>
	<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-01-27 15:28:18.508 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<message from='mike_reset_unread_counter_with_reset_stanza_774@localhost' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' id='6f1e55f6-f32b-45e6-9a11-948080bd57e1'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='7405eb5362f7a383dcdd998c9188427f'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:28:18.502511Z'/>
			<message from='kate_reset_unread_counter_with_reset_stanza_774@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' type='chat' id='34bbf7098c9c790e273a2bb129680032'>
				<body>Hi mike</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-01-27 15:28:18.508 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_774@localhost' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' id='7405eb5362f7a383dcdd998c9188427f' 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-01-27 15:28:18.509 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<iq type='set' id='0d1e3302569df659568889204c4f68e2'>
	<reset xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='kate_reset_unread_counter_with_reset_stanza_774@localhost'/>
</iq>



*** User 2022-01-27 15:28:18.513 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_774@localhost' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' id='0d1e3302569df659568889204c4f68e2' type='result'>
	<reset xmlns='erlang-solutions.com:xmpp:inbox:0#conversation'/>
</iq>



*** User 2022-01-27 15:28:18.513 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
<iq type='set' id='2611cb829c4977be26bb4332545f0fec'>
	<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-01-27 15:28:18.515 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<message from='mike_reset_unread_counter_with_reset_stanza_774@localhost' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' id='5155a016-42b5-4a20-b27e-87948888b4e2'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='2611cb829c4977be26bb4332545f0fec'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:28:18.502511Z'/>
			<message from='kate_reset_unread_counter_with_reset_stanza_774@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' type='chat' id='34bbf7098c9c790e273a2bb129680032'>
				<body>Hi mike</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-01-27 15:28:18.515 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_774@localhost' to='mike_reset_unread_counter_with_reset_stanza_774@localhost/res1' id='2611cb829c4977be26bb4332545f0fec' 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-01-27 15:28:18.515 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:28:18.515 ***
mike_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:28:18.515 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:28:18.516 ***
kate_reset_unread_counter_with_reset_stanza_774@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:28:18.517 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_511.html
*** CT 2022-01-27 15:28:18.518 *** View log from node mongooseim@localhost when finished mongooseim@localhost_946.html



=== Ended at 2022-01-27 15:28:18
=== successfully completed test case
=== === Returned value: ok


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