2uzhan.com
Advertisement
Now Place:2uzhan.com » taskdef class org.programmerplanet.ant.taskdefs.jmeter.JMeterTask cannot be

taskdef class org.programmerplanet.ant.taskdefs.jmeter.JMeterTask cannot be

Software Development @ November 6, 2012   Views:0
<project basedir="/home/ubuntu/apache-jmeter-2.7">

 <property environment="env"/>
  <property name="jmeter-home" location="/home/ubuntu/apache-jmeter-2.7"/>

  <path id="ant.jmeter.classpath">
    <pathelement
       location="${jmeter-home}/lib/ant-jmeter-1.8.4.jar" />
  </path>

      <taskdef
        name="jmeter"
        classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"
        classpathref="ant.jmeter.classpath" />

  <target name="clean">
    <delete dir="results"/>
    <delete file="jmeter.log"/>
    <mkdir dir="results/jtl"/>
    <mkdir dir="results/html"/>
    </target>

 <target name="test1" depends="clean" >
     <jmeter jmeterhome="/home/ubuntu/apache-jmeter-2.7"
        resultlogdir="results/jtl"
       testplan="/home/ubuntu/pt/********.jmx" />
 <xslt
    in="${basedir}/results/jtl/********.jtl"
     out="${basedir}/results/html/*********.xml"
     style="${jmeter-home}/extras/jmeter-results-report_21.xsl"/>
 </target>
   </project>

when i build this file its showing the error asbuild.xml:14: taskdef class org.programmerplanet.ant.taskdefs.jmeter.JMeterTask cannot be found using the classloader AntClassLoader[]

any ideas regarding this will be of great help.

Regards,
SD

--------------Solutions-------------

Yes, WPF. The learning curve is steep, but what amazing things you can do with it!
Look at this hexagon window for instance. Serves no purpose in a business environment ...

Before I get into the specific issues, I want to provide some other details:

  • Normally, I work on a live, paid server (even in dev); I realize that is ...

Hey there,

I am trying to create a register code. So basicly im making a quiz and every time a user starts up my program he/she needs to register (making ...

Tags:java
© 2018 2uzhan.com Contact