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

=== Config value:

    [{watchdog,<0.20361.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-04_11.20.11/inbox_extensions_suite.returns_error_when_archive_field_is_invalid.html"},
     {tc_group_properties,[{name,generic}]},
     {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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-04_11.20.11/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:20:12


*** CT 2022-03-04 11:20:12.038 *** View log from node mongooseim@localhost when started mongooseim@localhost_919.html
*** CT 2022-03-04 11:20:12.039 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_529.html

*** User 2022-03-04 11:20:12.044 ***
alicE_returns_error_when_archive_field_is_invalid_833@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-03-04 11:20:12.044 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='21299609ba71516d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:20:12.044 ***
alicE_returns_error_when_archive_field_is_invalid_833@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-03-04 11:20:12.044 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JldHVybnNfZXJyb3Jfd2hlbl9hcmNoaXZlX2ZpZWxkX2lzX2ludmFsaWRfODMzAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:20:12.046 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:20:12.046 ***
alicE_returns_error_when_archive_field_is_invalid_833@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-03-04 11:20:12.046 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2883ef3e25a42b50' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:20:12.046 ***
alicE_returns_error_when_archive_field_is_invalid_833@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-03-04 11:20:12.046 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 out
<iq type='set' id='e12b82424c26799f583ea55bb98955bd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:20:12.046 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 in
<iq id='e12b82424c26799f583ea55bb98955bd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:20:12.046 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 out
<iq type='set' id='f48f40c6fb52fec3ab3dbcf9f8eea75a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:20:12.047 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 in
<iq type='result' id='f48f40c6fb52fec3ab3dbcf9f8eea75a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:20:12.047 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:20:12.048 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 in
<presence from='alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1' to='alice_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:20:12.048 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 out
<iq type='set' id='4a4eefca312ed4c03ede7d5092319d58'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='text-single' var='archive'>
				<value>invalid</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-04 11:20:12.049 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 in
<iq from='alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com' to='alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1' id='4a4eefca312ed4c03ede7d5092319d58' 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'>Invalid inbox form field value, field=archive, value=invalid</text>
	</error>
</iq>



*** User 2022-03-04 11:20:12.049 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:20:12.050 ***
alicE_returns_error_when_archive_field_is_invalid_833@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:20:12.051 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_529.html
*** CT 2022-03-04 11:20:12.052 *** View log from node mongooseim@localhost when finished mongooseim@localhost_919.html



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


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