You may want to try and open a DOS prompt, navigate to the folder
containing your jmx file and launch jmeter from there.

Alternatively, you could possibly manipulate Windows's executable
options for Jmeter to use the working dir you want, but I'm not
proficient enough with Windows to elaborate on that.

HTH,
Felix

On 08/17/10 16:58, EricPortelance wrote:
> 
> Hello
> 
> I have a problem with relative paths.
> I read in other posts
> (http://jmeter.512774.n5.nabble.com/Relative-Path-Issue-td523826.html#a523827
> ) that JMeter looks up relative files based on the current working
> directory. 
> But in my case, it doesn't seem to work, it seems to start at my C:­\
> 
> I need to send a file (test01.jpg) in an http request. The only way it works
> is if I put the image in C:\ and put "/test01.jpg" in the filepath field.
> 
> Is there any way to make it relative to the jmx file or the jmeter.bat file?
> 
> Thank you.
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to