jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Spisser <>
Subject Running a Jmeter Testplan from an Ant task
Date Mon, 30 Sep 2002 14:00:42 GMT
Hi all,

I am trying to run a Jmeter test plan from Ant.

I have defined the following target for Ant:

<target name="jmeter-test">
        <path id="jmetertestclasses" path="tests/"/>
        <java classpathref="jmetertestclasses" fork="true"
            <arg value="-n"/>
            <arg value="-t tests/mytestplan.jmx"/>
            <jvmarg value="-Xincgc"/>

but I am getting an error:
Could not open tests/mytestplan.jmx

Running the testplan from the shell with 
java -Xincgc -jar tests/jakarta-jmeter/bin/ApacheJMeter.jar -n -t
works fine.

What is wrong in the Ant target?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message