Hi,
I am trying to use _StringFromFile to read values for parameters of an HTTP Request.
For instance, for the request parameter I can have:
Name: parameterName
Value: ${_StringFromFile(data.txt,)}
where "data.txt" resides in the JMeter bin folder. "data.txt" contains values for
parameterName, one value on each line. In the "View Results Tree" listener I notice
that the function returned an **ERR**. In the simplest case, I am having just one
parameter value in the "data.txt" file. I am running the test with just one thread,
looping just once. The test runs fine when I specify the actual parameter value in the
HTTP Request panel. I tried to specify an absolute path for the data file as well,
e.g. "C:\data.txt", and I got the same problem.
I also tried to achieve the desired result using the __CSVRead function, and
apparently in this case the file was opened, but no value was retrieved.
I am using JMeter 1.9.1.
Thanks a lot for any help,
Veronica