Hi
the XSLT task doesnt take a wildcard. What do you want , 1 report or
multiple reports?
If multiple reports then just call this task repeatedly (you can loop in ant
using ant-contrib)
If single report then either
a. Concatenate all files into one and wrap by a containing element (and
strip out PI's like <?xml) and modify the stylesheet accordingly
b. Create a custom stylesheet and utilise the document() function
e.g. <xsl:for-each select="document('whatever.jtl')/whatever">
CSV format is the easiest to use (you can still generate HTML using a your
favorite programming language).
regards
deepak
On Fri, Nov 13, 2009 at 8:53 AM, Harry_ <[email protected]> wrote:
>
> Hi,
>
> Can Any tell me how to generate reports from multiple jMeter result file.
>
> I did the following but the wildcard character * is not picking up jtl
> files
> in directory. Instead it throws error described below:
>
> Target for Generating Reports
>
> <target name="genReports">
> <echo message="Generating Reports..."/>
>
> <property name="jmeter.dir" value="${jMeterDir}"/>
>
> <xslt in="/home/harry/FilesDirectory/Results/*.jtl"
> out="/home/harry/FilesDirectory/Results/All.html"
> style="${jmeter.dir}/extras/jmeter-results-report_21.xsl"/>
>
> </target>
>
>
> Error returned by Ant
>
> /home/harry/NetBeansProjects/AntPerformance/Scrap/GeneratingReportsWithMultipleResultFiles.xml:12:
> input file /home/harry/FilesDirectory/Results/*.jtl does not exist
> BUILD FAILED (total time: 0 seconds)
>
>
> Thanks and Regards
> --
> View this message in context:
> http://old.nabble.com/How-to-generate-html-report-from-multiple-jMeter-Result-files-tp26339726p26339726.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>