Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This plugin allows you to capture report fromJMeter. Hudson will generate the trend report of performance and robustness.   Usage with Freestyle project 
1. You can use ant and jmeter task for ant to launch tests on your web application
2. Your ant file may similar to something like that:
 
 <project>
<property name="jmeter" location="$

Unknown macro: {env.JMETER_DIR}

" />
      
    <!-- jmeter task definition -->
    <taskdef
        name="jmeter"
        classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"
        classpathref="ant.classpath"/>
<target name="jmeter.init">
        <echo message="jmeter init..." />
        <mkdir  dir="$

Unknown macro: {basedir}

/loadtests/results/"/>
        <delete includeemptydirs="true">
            <fileset dir="$

/loadtests/results/" includes="*/" />
        </delete>       
    </target>
   
    <target name="jmeter.tests" depends="jmeter.init" description="launch jmeter load tests">
        <echo message="Starting jmeter tests..." />       
        <jmeter
            jmeterhome="$

Unknown macro: {jmeter}

"               
            resultlog="$

Unknown macro: {basedir}

/loadtests/results/LoadTestResults.jtl">               
            <testplans dir="$

/loadtests" includes="*.jmx"/>   
        </jmeter>
    </target>

 </project>

  • No labels