For
-Dtest.host=something
use
<property name="test.host" value="something"/>
On 19/11/2007, Joe Kramer <[EMAIL PROTECTED]> wrote:
> I did read that, but what is the property for "HTTP sampler request
> defaults host" ? request.host?
>
> On 11/19/07, sebb <[EMAIL PROTECTED]> wrote:
> > From the JMeter Ant doc in extras/ directory:
> >
> > "You can override JMeter properties (instead of modifying
> > jmeter.properties) like this:
> >
> > <jmeter
> > jmeterhome="c:\jakarta-jmeter-1.8.1"
> > testplan="${basedir}/loadtests/JMeterLoadTest.jmx"
> > resultlog="${basedir}/loadtests/JMeterResults.jtl">
> > <property name="request.threads" value="1"/>
> > <property name="request.loop" value="10"/>
> > </jmeter>
> > "
> >
> > On 18/11/2007, Joe Kramer <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > How can we configure HTTP Request defaults in Jmeter ant task?
> > > This is needed for example if you have multiple hosts and want to use
> > > same JMX file running against different hosts.
> > >
> > > I imagine it should work like this: you pass -Dtest.host=something.com
> > > to Ant and then use this variable in Jmeter ant task. But how to pass
> > > that into Jmeter Ant task is not described.
> > >
> > > Thanks.
> > > Joe.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]