Gabriel
Gabriel

Reputation: 962

Apache JMeter 3.0 Multipart Request works for POST but not for PUT

When I make a multipart request using the POST method to my server, the request works fine.

Below is how I've set up my JMeter:

POST REQUEST

POST Request POST Response

However, when I try to make a PUT request to the same URL, the request does not work.

PUT REQUEST

PUT Request PUT Response

And the error on the server is

org.springframework.web.multipart.MultipartException: Current request is not a multipart request

This seems to be an issue on the JMeter, since that when I try to do the same request using Postman, the request using POST or PUT works correctly.

However, I want to use JMeter to test my application performance.

The question is: How to make PUT multipart request using JMeter?

Upvotes: 1

Views: 699

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34536

As of JMeter 3.0 multipart/form is only available for POST method, while it appears to be possible for other http methods.

So it's a bug:

See also:

It should be fixed in next releases.

Upvotes: 1

Related Questions