sebb wrote:
<snip>
File names are relative to the default (launch) directory.

The jmeter unix shell script works out the location of the JMeter bin
directory and uses it to find the initial jar file; it does not change
the current working directory.

However, the JMeter.bat command file changes directory to the bin
directory before starting JMeter, so any files are relative to the bin
directory.

I think originally JMeter had problems (on Windows) finding its jar
files if the starting directory was not the bin directory. This is why
the batch file changes directory if necessary.

Looks like this is no longer a problem, so it should be possible to
start JMeter anywhere. The only requirement is that it needs to find
the starting jar (obviously!).
Thanks - I had assumed that jmeter.bat changed directories for some good reason, so hadn't tried changing it. I made a modified jmeter.bat that doesn't change directories, and now file loads/saves are relative to the start directory, which makes my file handling much simpler.

- Korny
p.s. the nightly jmeter build still doesn't quite fix the proxy problem - both the host and domain parameters of NTCredentials() have to be "", the latest build fixes the domain but not the host.
--
Kornelis Sietsma e-mail: korny at my surname dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to