Hello
I hope I'v got the correct address here for the JMeter users discussion
list - apologies if not.
I'm using JMeter 2.5.1
I want to run a test which requires a different external file to be sent
with each
request. I had hoped to do this by passing a variable into the File Path
(the one
under 'send files with the request'). this variable is read in from a csv
file
and would allow me to construct the unique part of the file name.
the variable is specified like this
ID ${_StringFromFile(collnumsonly.txt)}
But this doesnt seem to work, because when I look at the error
message the variable hasnt been expanded - see below:
<responseData class="java.lang.String">java.io.FileNotFoundException:
C:\Jmeter2.5\jakarta-jmeter-2.5.1\bin\${ID}.txt (The system cannot find the
file
specified)
Is there any means by which I can do this in JMeter? Have i got my syntax
wrong or
am I simply trying to do something which wont work in jmeter? I'v googled
like a
very googly thing but cant seem to find an answer to this
Cheers!