jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Havard Blok <>
Subject Re: how to access jmeter home during runtime?
Date Thu, 22 Mar 2012 14:27:54 GMT
I think JMeterUtils.getJMeterHome() is what you're looking for? There's
also a few other get-methods in that class for different paths.


On 22 March 2012 15:17, Adrian Speteanu <> 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-<----

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message