Instead of copying and pasting the file contents into the .jmx script itself you can use __FileToString() function <https://jmeter.apache.org/usermanual/functions.html#__FileToString> which reads the file from file system. This approach is way more robust and VCS <https://en.wikipedia.org/wiki/Version_control> -friendly.
You can also check out Testing REST API File Uploads in JMeter <https://www.blazemeter.com/blog/testing-advanced-rest-api-file-uploads-jmeter> for an example of manually building a file upload request. -- Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
