It is, take a look at  __FileToString() function
<https://jmeter.apache.org/usermanual/functions.html#__FileToString>   which
you can use directly in the HTTP Request sampler "Body Data" tab where it is
required to add this header. 

Given you have nested functions inside the payload you will also need to
wrap it into  __eval() function
<https://jmeter.apache.org/usermanual/functions.html#__eval>   so they would
be evaluated in the runtime


> ${__eval(${__FileToString(/path/to/your/file,,)})}  

More information:  Here’s What to Do to Combine Multiple JMeter Variables
<https://www.blazemeter.com/blog/here%E2%80%99s-what-do-combine-multiple-jmeter-variables>
  



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to