Hi, I am writing an Ant task to automate running JMeter test files as per the instructions given at
http://www.programmerplanet.org/ant-jmeter/ This is the build.xml file that I have written (essentially the same as the one in the website): <?xml version="1.0"?> <project name="test" default="compile" basedir="."> <taskdef name="jmeter" classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/> <jmeter jmeterhome="c:\jakarta-jmeter-1.9.1" testplan="c:\basic\correctlogin.jmx" resultlog="c:\basic\JMeterResults.jtl"/> </project> and also included the ant-jmeter.jar file in my ant classpath. However, when I run ant, I get the following error: file:C:/build.xml:8: Unexpected element "jmeter" at org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl .java:170) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav a:117) at org.apache.tools.ant.Main.runBuild(Main.java:596) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) I am not sure what I am doing wrong. Any help will be appreciated! Thanks, Archana ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It is better to be hated for what you are than to be loved for what you are not. -Andre Gide __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
