NIHVIVO-1129 Force the XSLT step to use JAR files that actually work.

This commit is contained in:
jeb228 2011-01-03 20:02:20 +00:00
parent cd0bac16da
commit 18c7ae52ef
2 changed files with 16 additions and 2 deletions

View file

@ -66,6 +66,11 @@ report - Just summarize output from previously run tests.
<fail unless="jmeter.home.dir"
message="${properties.file} must contain a value for jmeter.home.dir" />
<fail unless="jmeter.serializer.jar"
message="${properties.file} must contain a value for jmeter.serializer.jar" />
<fail unless="jmeter.xalan.jar"
message="${properties.file} must contain a value for jmeter.xalan.jar" />
<fail unless="webapp.host"
message="${properties.file} must contain a value for webapp.host" />
<fail unless="webapp.port"
@ -74,6 +79,11 @@ report - Just summarize output from previously run tests.
message="${properties.file} must contain a value for webapp.name" />
<property name="webapp.url" value="http://${webapp.host}:${webapp.port}/${webapp.name}" />
<path id="xslt.classpath">
<pathelement location="${jmeter.serializer.jar}" />
<pathelement location="${jmeter.xalan.jar}" />
</path>
</target>
<!-- - - - - - - - - - - - - - - - - -
@ -123,6 +133,8 @@ report - Just summarize output from previously run tests.
<target name="report" depends="prepare" description="--> Just summarize the output.">
<xslt in="${results.dir}/${test.name}.jtl"
out="${results.dir}/${test.name}.html"
style="jmeter-results-report.xsl" />
style="jmeter-results-report.xsl"
classpathref="xslt.classpath" />
</target>
</project>

View file

@ -10,9 +10,11 @@
# -----------------------------------------------------------------------------
#
# The base install directory for JMeter.
# The base install directory for JMeter, and some JARs required by XSLT
#
jmeter.home.dir = /Users/jeb228/Downloads/JMeter/jakarta-jmeter-2.4
jmeter.serializer.jar = ${jmeter.home.dir}/lib/serializer-2.7.1.jar
jmeter.xalan.jar = ${jmeter.home.dir}/lib/xalan-2.7.1.jar
#
# Where do we find the Vivo instance that we are testing?