mercredi 1 novembre 2017

Jmeter-Ant xslt-report: BUILD FAILED Test.jtl does not exist error although i have Test.jtl

I am trying to run my Test.jmx file through below ant cmd: C:\apache-ant-1.10.1-bin\bin>ant

I get the following error:

C:\apache-ant-1.10.1-bin\bin>ant
Buildfile: C:\apache-ant-1.10.1-bin\bin\build.xml

run:
     [echo] funcMode = false
   [jmeter] Executing test plan: C:\apache-ant-1.10.1-bin\bin\Test.jmx ==> C:\apache-ant-1.10.1-bin\bin\Test.jtl

_message_xalan:

xslt-report:

BUILD FAILED
C:\apache-ant-1.10.1-bin\bin\build.xml:124: input file C:\apache-ant-1.10.1-bin\bin\Test.jtl does not exist

Total time: 4 seconds

C:\apache-ant-1.10.1-bin\bin>

This is the error that i see

Build.xml:

  <target name="xslt-report" depends="_message_xalan">
        <tstamp><format property="report.datestamp" pattern="yyyy/MM/dd HH:mm"/></tstamp>
        <xslt
            classpathref="xslt.classpath"
            force="true"
            in="${testpath}/${test}.jtl"
            out="${testpath}/${test}.html"
            style="${basedir}/jmeter-results-detail-report${style_version}.xsl">
            <param name="showData" expression="${show-data}"/>
            <param name="titleReport" expression="${report.title}"/>
            <param name="dateReport" expression="${report.datestamp}"/>
        </xslt>
    </target>

Should i add the path of test.jtl here?

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire