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

=== Config value:

    [{watchdog,<0.21115.0>},
     {inbox_opts,[{aff_changes,true},
                  {remove_on_kicked,true},
                  {groupchat,[muclight]},
                  {reset_markers,[<<"displayed">>]}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.26/inbox_suite.get_with_end_timestamp.15492.html"},
     {tc_group_properties,[{name,timestamps},parallel]},
     {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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.26/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:19:31


*** CT 2022-03-04 11:19:31.625 *** View log from node mongooseim@localhost when started mongooseim@localhost_938.html
*** CT 2022-03-04 11:19:31.626 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-03-04 11:19:31.652 ***
alicE_get_with_end_timestamp_783@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-03-04 11:19:31.655 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e459aedbbf5bf060' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.655 ***
alicE_get_with_end_timestamp_783@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-03-04 11:19:31.655 ***
alicE_get_with_end_timestamp_783@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2dldF93aXRoX2VuZF90aW1lc3RhbXBfNzgzAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:19:31.657 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:31.658 ***
alicE_get_with_end_timestamp_783@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-03-04 11:19:31.659 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3059b38bdf1cdb6b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.659 ***
alicE_get_with_end_timestamp_783@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-03-04 11:19:31.659 ***
alicE_get_with_end_timestamp_783@localhost/res1 out
<iq type='set' id='86d80fd7cf39d0c7dc250c162be3a97c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.660 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
<iq id='86d80fd7cf39d0c7dc250c162be3a97c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_get_with_end_timestamp_783@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.660 ***
alicE_get_with_end_timestamp_783@localhost/res1 out
<iq type='set' id='6199756d3d32a11dbf02e3346dba6eb3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.663 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
<iq type='result' id='6199756d3d32a11dbf02e3346dba6eb3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.663 ***
alicE_get_with_end_timestamp_783@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:31.677 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
<presence from='alicE_get_with_end_timestamp_783@localhost/res1' to='alice_get_with_end_timestamp_783@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:31.678 ***
bOb_get_with_end_timestamp_783@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-03-04 11:19:31.678 ***
bOb_get_with_end_timestamp_783@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc373dc2601d0b01' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.679 ***
bOb_get_with_end_timestamp_783@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-03-04 11:19:31.679 ***
bOb_get_with_end_timestamp_783@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9nZXRfd2l0aF9lbmRfdGltZXN0YW1wXzc4MwBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:19:31.680 ***
bOb_get_with_end_timestamp_783@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:31.680 ***
bOb_get_with_end_timestamp_783@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-03-04 11:19:31.681 ***
bOb_get_with_end_timestamp_783@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ad76f12ed9008f7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.681 ***
bOb_get_with_end_timestamp_783@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-03-04 11:19:31.681 ***
bOb_get_with_end_timestamp_783@localhost/res1 out
<iq type='set' id='f6a3bebd315e81d35c1c0094e32d65b3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.681 ***
bOb_get_with_end_timestamp_783@localhost/res1 in
<iq id='f6a3bebd315e81d35c1c0094e32d65b3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_get_with_end_timestamp_783@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.682 ***
bOb_get_with_end_timestamp_783@localhost/res1 out
<iq type='set' id='6c13a4fdc93376cf27b0de46f7da61cb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.682 ***
bOb_get_with_end_timestamp_783@localhost/res1 in
<iq type='result' id='6c13a4fdc93376cf27b0de46f7da61cb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.682 ***
bOb_get_with_end_timestamp_783@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:31.684 ***
bOb_get_with_end_timestamp_783@localhost/res1 in
<presence from='bOb_get_with_end_timestamp_783@localhost/res1' to='bob_get_with_end_timestamp_783@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:31.685 ***
kate_get_with_end_timestamp_783@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-03-04 11:19:31.686 ***
kate_get_with_end_timestamp_783@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d01979882ce5de8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.686 ***
kate_get_with_end_timestamp_783@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-03-04 11:19:31.686 ***
kate_get_with_end_timestamp_783@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZ2V0X3dpdGhfZW5kX3RpbWVzdGFtcF83ODMAbWFrcm93ZTtw</auth>



*** User 2022-03-04 11:19:31.687 ***
kate_get_with_end_timestamp_783@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:31.688 ***
kate_get_with_end_timestamp_783@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-03-04 11:19:31.688 ***
kate_get_with_end_timestamp_783@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29f770b2977b55df' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:31.688 ***
kate_get_with_end_timestamp_783@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-03-04 11:19:31.688 ***
kate_get_with_end_timestamp_783@localhost/res1 out
<iq type='set' id='343e217713f547f986e5801de03ea30e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.689 ***
kate_get_with_end_timestamp_783@localhost/res1 in
<iq id='343e217713f547f986e5801de03ea30e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_get_with_end_timestamp_783@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:31.689 ***
kate_get_with_end_timestamp_783@localhost/res1 out
<iq type='set' id='5784ad83f5841737fec7f0fdad8fc5b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.689 ***
kate_get_with_end_timestamp_783@localhost/res1 in
<iq type='result' id='5784ad83f5841737fec7f0fdad8fc5b0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:31.689 ***
kate_get_with_end_timestamp_783@localhost/res1 out
<presence/>



*** User 2022-03-04 11:19:31.692 ***
kate_get_with_end_timestamp_783@localhost/res1 in
<presence from='kate_get_with_end_timestamp_783@localhost/res1' to='kate_get_with_end_timestamp_783@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:31.693 ***
alicE_get_with_end_timestamp_783@localhost/res1 out
<message to='bOb_get_with_end_timestamp_783@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2022-03-04 11:19:31.700 ***
bOb_get_with_end_timestamp_783@localhost/res1 in
<message from='alicE_get_with_end_timestamp_783@localhost/res1' to='bOb_get_with_end_timestamp_783@localhost/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2022-03-04 11:19:31.701 ***
alicE_get_with_end_timestamp_783@localhost/res1 out
<message to='kate_get_with_end_timestamp_783@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2022-03-04 11:19:31.707 ***
kate_get_with_end_timestamp_783@localhost/res1 in
<message from='alicE_get_with_end_timestamp_783@localhost/res1' to='kate_get_with_end_timestamp_783@localhost/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2022-03-04 11:19:31.709 ***
alicE_get_with_end_timestamp_783@localhost/res1 out
<iq type='set' id='366fd7ba60673f72abf5e323f16cdf51'>
	<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='end'>
				<value>2022-03-04T11:19:31.701093Z</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-04 11:19:31.711 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
<message from='alicE_get_with_end_timestamp_783@localhost' to='alicE_get_with_end_timestamp_783@localhost/res1' id='8e13b90d-3fea-43cf-8b68-4619e109757e'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='366fd7ba60673f72abf5e323f16cdf51'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:31.693437Z'/>
			<message from='alicE_get_with_end_timestamp_783@localhost/res1' xml:lang='en' to='bOb_get_with_end_timestamp_783@localhost/res1' type='chat' xmlns='jabber:client'>
				<body>Msg 1</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:31.712 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
<iq from='alicE_get_with_end_timestamp_783@localhost' to='alicE_get_with_end_timestamp_783@localhost/res1' id='366fd7ba60673f72abf5e323f16cdf51' 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-03-04 11:19:31.712 ***
kate_get_with_end_timestamp_783@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:31.712 ***
kate_get_with_end_timestamp_783@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:19:31.712 ***
bOb_get_with_end_timestamp_783@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:31.713 ***
bOb_get_with_end_timestamp_783@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:19:31.713 ***
alicE_get_with_end_timestamp_783@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:19:31.713 ***
alicE_get_with_end_timestamp_783@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:19:31.718 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-03-04 11:19:31.719 *** View log from node mongooseim@localhost when finished mongooseim@localhost_938.html



=== Ended at 2022-03-04 11:19:31
=== successfully completed test case
=== === Returned value: ok