I'm writing several AbstractJavaSamplerClient implementations to do some
remote EJB testing. I'd like to pass in a property on jmeter start up like:

./jmeter -Jprovider_url=d3npp.foobar.com:1099

Is there an easy way to access this property from my Sampler implementation?
I thought I'd be able to get a handle to it with

public SampleResult runTest(JavaSamplerContext context) {
  String provider_url = context.getParameter("provider_url", "");

But the above doesn't work (always null.)

Any help appreciated.

-- 
Rick R

Reply via email to