jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: _StringFromFile problem
Date Sat, 19 May 2007 13:34:45 GMT
On 19/05/07, Anjaneyulu Aerrolla <aaerrolla@sapient.com> wrote:
> Hi
>
> I'm using _StringFromFile function to read values from a file
>
> _StringFromFile(file.dat)  is working fine
>
> _StringFormFile(file#'.'dat,var,1,2,3)  is failed, according to j-meter
> documentation it should read from files file1.dat ...file3.dat

That's not the correct syntax - it only accepts start and end sequence
numbers, not a sequence, see:

http://jakarta.apache.org/jmeter/usermanual/functions.html#__StringFromFile

Try:

__StringFromFile(file#'.'dat,var,1,3)

> In the jmeter log I found that it's trying to read from a file
> file#.dat
>
> Is there any setting I need to be made, this thing to work?

Yes, see above.

>
> Regards ,
> _________________________________________________________
> Anjan | Associate Technology | Sapient | Bangalore, India
> aaerrolla@sapient.com | +91 80 41047003 (work) | +91 9886619293 (cell)
>
>

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


Mime
View raw message