=== Test case: inbox_SUITE:reset_unread_counter_and_show_only_unread/1 (click for source code)
=== Config value:
[{watchdog,<0.34172.0>},
{inbox_opts,#{backend => rdbms,
async_writer => #{pool_size => 8},
max_result_limit => infinity,
delete_domain_limit => infinity,iqdisc => no_queue,
groupchat => [muclight],
boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
reset_markers => [<<"displayed">>],
aff_changes => true,remove_on_kicked => true,bin_ttl => 30,
bin_clean_after => 3600000}},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@388b6600685a.2024-04-25_12.01.30/big_tests.tests.inbox_SUITE.logs/run.2024-04-25_12.07.51/inbox_suite.reset_unread_counter_and_show_only_unread.85378.html"},
{tc_group_properties,[{name,one_to_one},parallel]},
{tc_group_path,[[{name,regular}]]},
{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@388b6600685a.2024-04-25_12.01.30/big_tests.tests.inbox_SUITE.logs/run.2024-04-25_12.07.51/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_amp => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@388b6600685a.2024-04-25_12.01.30"
=== Started at 2024-04-25 12:07:51
*** User 2024-04-25 12:07:51.801 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@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 2024-04-25 12:07:51.801 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='675e79516b48b4da' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:07:51.801 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-25 12:07:51.801 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwMwBtYWtyb3dlO3A=</auth>
*** User 2024-04-25 12:07:51.802 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:07:51.802 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@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 2024-04-25 12:07:51.803 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a393c73850e6cbc8' from='domain.example.com' version='1.0' xml:lang='en' to='kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com'>
*** User 2024-04-25 12:07:51.803 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-25 12:07:51.803 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='e769bf7312974482e611f07ae351e57a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:07:51.803 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq id='e769bf7312974482e611f07ae351e57a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:07:51.803 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='de9eb8b488c27723524cc53263ec08e9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:07:51.804 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='de9eb8b488c27723524cc53263ec08e9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:07:51.804 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 12:07:51.881 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<presence from='kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' to='kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1'/>
*** User 2024-04-25 12:07:51.882 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@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 2024-04-25 12:07:51.882 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='155772f9602ab641' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:07:51.883 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-25 12:07:51.883 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwMwBuaWNuaWVtYQ==</auth>
*** User 2024-04-25 12:07:51.884 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:07:51.884 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@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 2024-04-25 12:07:51.884 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9c7571c1278dafb' from='domain.example.com' version='1.0' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com'>
*** User 2024-04-25 12:07:51.884 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-25 12:07:51.884 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='1153bb0c4f398ed278f411d813d62d83'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:07:51.885 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq id='1153bb0c4f398ed278f411d813d62d83' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:07:51.885 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='ad1c8dfbeb1cf154cd1e2b529a25c2fb'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:07:51.886 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='ad1c8dfbeb1cf154cd1e2b529a25c2fb' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:07:51.886 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 12:07:51.913 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<presence from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1'/>
*** User 2024-04-25 12:07:51.914 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@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 2024-04-25 12:07:51.914 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52bd46c2efba5ae9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:07:51.915 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-25 12:07:51.915 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc2V0X3VucmVhZF9jb3VudGVyX2FuZF9zaG93X29ubHlfdW5yZWFkXzE0MDMAbWF0eWdyeXNh</auth>
*** User 2024-04-25 12:07:51.916 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:07:51.916 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@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 2024-04-25 12:07:51.916 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2021e4da6517b2ab' from='domain.example.com' version='1.0' xml:lang='en' to='alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com'>
*** User 2024-04-25 12:07:51.916 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-25 12:07:51.917 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='4fcaa6a055c0b709b7e34d44138ba4f3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:07:51.917 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq id='4fcaa6a055c0b709b7e34d44138ba4f3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:07:51.917 ***🔗
alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='150c84bf73a1e7ea35a1ea183c21ec68'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:07:51.918 ***🔗
alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='150c84bf73a1e7ea35a1ea183c21ec68' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:07:51.918 ***🔗
alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<presence/>
*** User 2024-04-25 12:07:51.988 ***🔗
alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<presence from='alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' to='alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1'/>
*** User 2024-04-25 12:07:51.988 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<message type='chat' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='c0b31cd8069550d683fccc72215ab7b2'>
<body>Test</body>
</message>
*** User 2024-04-25 12:07:51.994 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<message from='kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' type='chat' id='c0b31cd8069550d683fccc72215ab7b2'>
<body>Test</body>
</message>
*** User 2024-04-25 12:07:51.994 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='4c7b76913d8821eccedac9e10c53c76a'>
<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 2024-04-25 12:07:52.002 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='1714-46872-1569'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='4c7b76913d8821eccedac9e10c53c76a'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T12:07:51.989137Z'/>
<message from='kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='c0b31cd8069550d683fccc72215ab7b2'>
<body>Test</body>
</message>
</forwarded>
<read>false</read>
<box>inbox</box>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2024-04-25 12:07:52.002 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='4c7b76913d8821eccedac9e10c53c76a' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first>1714046871989137/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDAzQGRvbWFpbi5leGFtcGxlLmNvbQ==</first>
<last>1714046871989137/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDAzQGRvbWFpbi5leGFtcGxlLmNvbQ==</last>
</set>
<active-conversations>1</active-conversations>
<count>1</count>
<unread-messages>1</unread-messages>
</fin>
</iq>
*** User 2024-04-25 12:07:52.002 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2024-04-25 12:07:52.002 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<message to='kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='c0b31cd8069550d683fccc72215ab7b2'/>
</message>
*** User 2024-04-25 12:07:52.002 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='a4e31189b579ada0f1bf941c19757224'>
<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 2024-04-25 12:07:52.007 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='a4e31189b579ada0f1bf941c19757224' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'/>
<active-conversations>0</active-conversations>
<count>0</count>
<unread-messages>0</unread-messages>
</fin>
</iq>
*** User 2024-04-25 12:07:52.007 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2024-04-25 12:07:52.007 ***🔗
alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<message type='chat' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='27add12297a1a979257ac4d5296bb4eb'>
<body>Test</body>
</message>
*** User 2024-04-25 12:07:52.012 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<message from='alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' type='chat' id='27add12297a1a979257ac4d5296bb4eb'>
<body>Test</body>
</message>
*** User 2024-04-25 12:07:52.012 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='d13dde39e1620594040289564839c6da'>
<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 2024-04-25 12:07:52.014 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='1714-46872-13773'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='d13dde39e1620594040289564839c6da'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T12:07:52.007762Z'/>
<message from='alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='27add12297a1a979257ac4d5296bb4eb'>
<body>Test</body>
</message>
</forwarded>
<read>false</read>
<box>inbox</box>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2024-04-25 12:07:52.014 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='d13dde39e1620594040289564839c6da' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first>1714046872007762/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwM0Bkb21haW4uZXhhbXBsZS5jb20=</first>
<last>1714046872007762/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwM0Bkb21haW4uZXhhbXBsZS5jb20=</last>
</set>
<active-conversations>1</active-conversations>
<count>1</count>
<unread-messages>1</unread-messages>
</fin>
</iq>
*** User 2024-04-25 12:07:52.014 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2024-04-25 12:07:52.014 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
<iq type='set' id='5a210bb70efa0a0ebee8fa614cc887a7'>
<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 2024-04-25 12:07:52.016 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='1714-46872-15882'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='5a210bb70efa0a0ebee8fa614cc887a7'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T12:07:52.007762Z'/>
<message from='alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='27add12297a1a979257ac4d5296bb4eb'>
<body>Test</body>
</message>
</forwarded>
<read>false</read>
<box>inbox</box>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2024-04-25 12:07:52.016 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='1714-46872-15896'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='5a210bb70efa0a0ebee8fa614cc887a7'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T12:07:51.989137Z'/>
<message from='kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='c0b31cd8069550d683fccc72215ab7b2'>
<body>Test</body>
</message>
</forwarded>
<read>true</read>
<box>inbox</box>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2024-04-25 12:07:52.016 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1' id='5a210bb70efa0a0ebee8fa614cc887a7' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first>1714046872007762/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQwM0Bkb21haW4uZXhhbXBsZS5jb20=</first>
<last>1714046871989137/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDAzQGRvbWFpbi5leGFtcGxlLmNvbQ==</last>
</set>
<active-conversations>1</active-conversations>
<count>2</count>
<unread-messages>1</unread-messages>
</fin>
</iq>
*** User 2024-04-25 12:07:52.016 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2024-04-25 12:07:52.016 ***🔗
alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 12:07:52.017 ***🔗
alice_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 12:07:52.017 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 12:07:52.017 ***🔗
mike_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-25 12:07:52.017 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-25 12:07:52.017 ***🔗
kate_reset_unread_counter_and_show_only_unread_1403@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-25 12:07:52
=== successfully completed test case
=== === Returned value: ok