=== Test case: inbox_extensions_SUITE:returns_error_when_read_valid_request_but_not_in_inbox/1 (click for source code)

=== Config value:

    [{watchdog,<0.18989.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_extensions_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-02-02_15.10.38/inbox_extensions_suite.returns_error_when_read_valid_request_but_not_in_inbox.17796.html"},
     {tc_group_properties,[{name,generic},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_extensions_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-02-02_15.10.38/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:10:38


*** CT 2022-02-02 15:10:38.222 *** View log from node mongooseim@localhost when started mongooseim@localhost_892.html
*** CT 2022-02-02 15:10:38.222 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_519.html

*** User 2022-02-02 15:10:38.239 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@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 2022-02-02 15:10:38.239 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2840d955a7c4d5d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.240 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/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-02 15:10:38.240 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHVybnNfZXJyb3Jfd2hlbl9yZWFkX3ZhbGlkX3JlcXVlc3RfYnV0X25vdF9pbl9pbmJveF83MTQAbWF0eWdyeXNh</auth>



*** User 2022-02-02 15:10:38.241 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:10:38.241 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@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 2022-02-02 15:10:38.242 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33c28381d3d8291c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:10:38.242 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/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-02 15:10:38.242 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 out
<iq type='set' id='2ca20bed7a3fea6c7c614c9eef1b843e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.242 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 in
<iq id='2ca20bed7a3fea6c7c614c9eef1b843e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:10:38.242 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 out
<iq type='set' id='98ba3e725ccfb256de9000541f09ddf2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.243 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 in
<iq type='result' id='98ba3e725ccfb256de9000541f09ddf2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:10:38.243 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:10:38.246 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 in
<presence from='alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1' to='alice_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:10:38.246 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 out
<iq type='set' id='c6481af91aa908a04c07cc9727a63e25'>
	<query xmlns='erlang-solutions.com:xmpp:inbox:0#conversation' jid='mike@localhost'>
		<read>true</read>
	</query>
</iq>



*** User 2022-02-02 15:10:38.249 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 in
<iq from='alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com' to='alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1' id='c6481af91aa908a04c07cc9727a63e25' type='error'>
	<error code='400' type='modify'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>item-not-found</text>
	</error>
</iq>



*** User 2022-02-02 15:10:38.249 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:10:38.249 ***
alicE_returns_error_when_read_valid_request_but_not_in_inbox_714@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:10:38.261 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_519.html
*** CT 2022-02-02 15:10:38.262 *** View log from node mongooseim@localhost when finished mongooseim@localhost_893.html



=== Ended at 2022-02-02 15:10:38
=== successfully completed test case
=== === Returned value: ok