On 21/07/2009, manbeing <[email protected]> wrote:
>
> I have some difficulties to evaluate variables either in property file or
> jmeter test case. Can someone help me out?
>
> In User.Properties file:
>
> Num=1
> Address=URL${num}.go.com
The above are both properties, not variables.
> Jmeter is uanble to evaluate {num} here and complaines URL${num}.go.com is
> bad
That is expected behaviour.
> --------------------
> In test plan (User Defined Variables):
>
> Variable: FileName Value: ${__P(sFileName,test.cvs)}
> variable: FullPath Value: ${__P(sFullPath,c:\${FileName})}
Variables in UDVs are not available until the element has been fully processed.
> error message: unable to find file "C:\${FileName}"
>
> Then I use V function like this: ${__P(sFullPath,${__V(c:\${FileName})})}
> error message: cannot save it. Please see log file.
>
> Any suggestions? Thanks a lot!
>
> --
> View this message in context:
> http://www.nabble.com/evaluate-variables-tp24593394p24593394.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]