I'm using this guide to send a multipart POST request to a server with JMeter: https://www.blazemeter.com/blog/testing-advanced-rest-api-file-uploads-jmeter
In this request there are several parts like a file, some strings and JSON.
The problem is, although I specify the boundary in the "Content type" field, JMeter set whatever it wants and the result is the server (Wildfly 10) correctly rejects the request with a "RESTEASY007500: Could find no Content-Disposition header within part".
Here the request configuration:
And here the generated request:
I set "jmeter_is_great" but JMeter generates a random boundary. Is someone having the same problem? Am i doing something wrong?
Thanks
UPDATE
I asked how to set the boundary because at the beginning of my test the first error throwed by the server was "RESTEASY007550: Unable to get boundary for multipart". So I added the "Content type" field, which can contain the boundary value, but that doesn't seem to work. I was not really interested to set a specific boundary at the beginning.
Now, I found a configuration which work although without specify the boundary, maybe someone can find it useful: