jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glinius@live.com" <glin...@live.com>
Subject Re: Multipart/form-data request manually with JSF viewstate
Date Mon, 25 Jun 2018 05:46:30 GMT
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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message