=== Test case: inbox_SUITE:reset_unread_counter_with_reset_stanza/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_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@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.383 *** View log from node mongooseim@localhost when started mongooseim@localhost_937.html
*** CT 2022-02-03 16:31:36.383 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_506.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



*** User 2022-02-03 16:31:36.399 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 out
<iq type='set' id='38a0fdaa7fa74309d3c2cd55ef34b116'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:31:36.399 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 in
<iq type='result' id='38a0fdaa7fa74309d3c2cd55ef34b116'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-02-03 16:31:36.402 ***
kate_reset_unread_counter_with_reset_stanza_801@localhost/res1 out
<message to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' type='chat' id='6db14a339ca8fb95480fdee25b4cef68'>
	<body>Hi mike</body>
</message>



*** User 2022-02-03 16:31:36.410 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 in
<message from='kate_reset_unread_counter_with_reset_stanza_801@localhost/res1' to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' xml:lang='en' type='chat' id='6db14a339ca8fb95480fdee25b4cef68'>
	<body>Hi mike</body>
</message>



*** User 2022-02-03 16:31:36.410 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 out
<iq type='set' id='748115db4502cfd297a1e04c194f3d2b'>
	<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.412 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 in
<message from='mike_reset_unread_counter_with_reset_stanza_801@localhost' to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' id='a32a402e-9c0b-4740-ba1e-a1d4f3725df2'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='748115db4502cfd297a1e04c194f3d2b'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-03T16:31:36.402214Z'/>
			<message from='kate_reset_unread_counter_with_reset_stanza_801@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' type='chat' id='6db14a339ca8fb95480fdee25b4cef68'>
				<body>Hi mike</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-03 16:31:36.412 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_801@localhost' to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' id='748115db4502cfd297a1e04c194f3d2b' 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.412 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 out
<iq type='set' id='16d15aceb2867c7fde0faffa9e2e5dff'>
	<reset xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='kate_reset_unread_counter_with_reset_stanza_801@localhost'/>
</iq>



*** User 2022-02-03 16:31:36.423 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_801@localhost' to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' id='16d15aceb2867c7fde0faffa9e2e5dff' type='result'>
	<reset xmlns='erlang-solutions.com:xmpp:inbox:0#conversation'/>
</iq>



*** User 2022-02-03 16:31:36.423 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 out
<iq type='set' id='c5039771a1c18cb6a8e2dab08e94d943'>
	<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.425 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 in
<message from='mike_reset_unread_counter_with_reset_stanza_801@localhost' to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' id='46c581f9-106f-4e32-b1dc-887b7840b548'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='c5039771a1c18cb6a8e2dab08e94d943'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-03T16:31:36.402214Z'/>
			<message from='kate_reset_unread_counter_with_reset_stanza_801@localhost/res1' xml:lang='en' to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' type='chat' id='6db14a339ca8fb95480fdee25b4cef68'>
				<body>Hi mike</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-02-03 16:31:36.425 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 in
<iq from='mike_reset_unread_counter_with_reset_stanza_801@localhost' to='mike_reset_unread_counter_with_reset_stanza_801@localhost/res1' id='c5039771a1c18cb6a8e2dab08e94d943' 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.425 ***
mike_reset_unread_counter_with_reset_stanza_801@localhost/res1 out
</stream:stream>

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

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

*** User 2022-02-03 16:31:36.426 ***
kate_reset_unread_counter_with_reset_stanza_801@localhost/res1 in
</stream:stream>
*** CT 2022-02-03 16:31:36.427 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_506.html
*** CT 2022-02-03 16:31:36.428 *** 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