Thanatoz
Thanatoz

Reputation: 51

How to increase upload file size in JMeter

I have a script that is uploading file through API rest POST request. I can upload only file with size less than 1048576

An error is

HTTP Status 500 - Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException: The field filestream exceeds its maximum permitted size of 1048576 bytes.

Maybe someone knows how to increase that size?

Thank you

Upvotes: 2

Views: 2145

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34526

No limit on Jmeter side. From the response you show, it's a server limitation, error is triggered by Tomcat , see:

  • The field filestream exceeds its maximum permitted size of 1048576 bytes.

See:

Upvotes: 2

Related Questions