Hi,

 

I am trying to create a data driven test in JMETER using the instructions on
http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-87f846dad28fd6b2ad5eb0d
44d527d572f810653 under the question "How do I use external data files to in
my Test scripts?".

 

1-       I am not clear with the format for specifying value of the
parameter when using the "User Parameters" preprocessor.  I have given value
the parameter "fName" as "${_StringFromFile(user.dat)}".  Is the format for
specifying value of the parameter correct? However, JMETER doesn't attempt
to read from the data file user.dat. As a result, data posted for my
subsequent request is evaluated as firstName=${fName}.  The ${fName} is not
getting substituted by the value in the data file. Is _StringFromFile a
JMETER function that is invoked to read the data from the mentioned file?

 

2-       I have specified the data in "user.dat" with the first line reading
as FNAME & subsequent lines have values in it.  Is the data file format
correct?

 

What could be the problem?

 

Thanks in advance,

Rajendra

 

 

 


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Pvt. Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Pvt. Ltd. does not accept any liability for virus infected mails.

Reply via email to