=== Test case: mod_http_upload_SUITE:rejects_negative_filesize/1 (click for source code)

=== Config value:

    [{watchdog,<0.21399.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_http_upload_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-01-27_15.32.00/mod_http_upload_suite.rejects_negative_filesize.html"},
     {tc_group_properties,[{name,mod_http_upload_s3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mod_http_upload_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-01-27_15.32.00/log_private/"},
     {escalus_users,[{bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:32:01


*** CT 2022-01-27 15:32:01.418 *** View log from node mongooseim@localhost when started mongooseim@localhost_4985.html
*** CT 2022-01-27 15:32:01.419 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2348.html

*** User 2022-01-27 15:32:01.421 ***
bOb@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-01-27 15:32:01.422 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77f1c39977b15199' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:01.422 ***
bOb@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-01-27 15:32:01.422 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:32:01.423 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:32:01.423 ***
bOb@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-01-27 15:32:01.424 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12e9cdce43c82666' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:01.424 ***
bOb@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-01-27 15:32:01.424 ***
bOb@localhost/res1 out
<iq type='set' id='960475409fc28c867d48ca098a4ff3c5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:01.424 ***
bOb@localhost/res1 in
<iq id='960475409fc28c867d48ca098a4ff3c5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:01.424 ***
bOb@localhost/res1 out
<iq type='set' id='ad7c4f384e382f278876df92313afb13'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:01.425 ***
bOb@localhost/res1 in
<iq type='result' id='ad7c4f384e382f278876df92313afb13'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:01.425 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:01.426 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:01.426 ***
bOb@localhost/res1 out
<iq type='get' to='upload.localhost'>
	<request xmlns='urn:xmpp:http:upload:0' filename='filename.jpg' size='-1'/>
</iq>



*** User 2022-01-27 15:32:01.427 ***
bOb@localhost/res1 in
<iq from='upload.localhost' to='bOb@localhost/res1' id='' type='error'>
	<request xmlns='urn:xmpp:http:upload:0' filename='filename.jpg' size='-1'/>
	<error code='400' type='modify'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2022-01-27 15:32:01.427 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:01.427 ***
bOb@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:01.430 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2348.html
*** CT 2022-01-27 15:32:01.430 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4985.html



=== Ended at 2022-01-27 15:32:01
=== successfully completed test case
=== === Returned value: ok


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