I think JMeterUtils.getJMeterHome() is what you're looking for? There's
also a few other get-methods in that class for different paths.

Regards,
Havard

On 22 March 2012 15:17, Adrian Speteanu <[email protected]> wrote:

> Hi all,
>
> Is there a way of accessing jmeter home, or base folder during runtime?
>
> I don't want to define a variable, because location might change, and I
> want to reference files that are relative to jmeter's bin position, or the
> script's file position, either way is fine. But I don't know how. I see in
> logs that location of the scripts sets the base when is loaded... is there
> a way to use that?
>
> Adrian S
>



-- 
--->Google Switzerland GmbH Identifikationsnummer: CH-020.4.028.116-1<----

Reply via email to