NIHVIVO-1129 tweak the report file to add a timestamp
This commit is contained in:
parent
aa625004da
commit
facea76266
1 changed files with 10 additions and 14 deletions
|
@ -16,6 +16,10 @@
|
||||||
classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"
|
classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"
|
||||||
classpath="lib/ant-jmeter-1.0.9.jar" />
|
classpath="lib/ant-jmeter-1.0.9.jar" />
|
||||||
|
|
||||||
|
<tstamp>
|
||||||
|
<format property="TIMESTAMP" pattern="MMMM dd, yyyy hh:mm a" />
|
||||||
|
</tstamp>
|
||||||
|
|
||||||
<!-- =================================
|
<!-- =================================
|
||||||
target: describe
|
target: describe
|
||||||
================================= -->
|
================================= -->
|
||||||
|
@ -160,6 +164,7 @@ report - Just summarize output from previously run tests.
|
||||||
<property name="summariser.log" value="true" />
|
<property name="summariser.log" value="true" />
|
||||||
<property name="summariser.interval" value="10" />
|
<property name="summariser.interval" value="10" />
|
||||||
</jmeter>
|
</jmeter>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- =================================
|
<!-- =================================
|
||||||
|
@ -180,17 +185,9 @@ report - Just summarize output from previously run tests.
|
||||||
<arg value="${report.style}" />
|
<arg value="${report.style}" />
|
||||||
</java>
|
</java>
|
||||||
|
|
||||||
<property name="report2.out" location="${results.dir}/${test.name}-detail.html" />
|
<echo append="true" file="${report.out}">
|
||||||
<property name="report2.style" location="${basedir}/jmeter-results-detail-report.xsl" />
|
<![CDATA[<p>${TIMESTAMP}</p>]]>
|
||||||
|
</echo>
|
||||||
<java classname="org.apache.xalan.xslt.Process" classpathref="xslt.classpath">
|
|
||||||
<arg value="-in" />
|
|
||||||
<arg value="${report.in}" />
|
|
||||||
<arg value="-out" />
|
|
||||||
<arg value="${report2.out}" />
|
|
||||||
<arg value="-xsl" />
|
|
||||||
<arg value="${report2.style}" />
|
|
||||||
</java>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- =================================
|
<!-- =================================
|
||||||
|
@ -221,8 +218,7 @@ report - Just summarize output from previously run tests.
|
||||||
<arg value="${merge.input.filenames}" />
|
<arg value="${merge.input.filenames}" />
|
||||||
</java>
|
</java>
|
||||||
|
|
||||||
<copy file="mergedResults.css"
|
<copy file="mergedResults.css" todir="${merge.output.dir}" />
|
||||||
todir="${merge.output.dir}" />
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Add table
Reference in a new issue