If Concatenating  the result files gives you what you want(all the averages
and percentages are then wrong) , then its trivial to do in ANT (you might
need to modify the XSLT to strip out the  HTML, HEAD , BODY and add them at
the end , during concatenation)
http://ant.apache.org/manual/CoreTasks/concat.html

>Regarding modifying XSLT can you give me an example how to do that
Like you would modify any other file :). You would need to read up XSLT.
e.g.
http://www.xml.com/pub/a/2002/03/06/xslt.html
Though if you say your files are large , you might run into memory issues.

Large files are better processed as CSV 's or loaded into a structure like a
DB

regards
deepak

On Mon, Dec 7, 2009 at 4:38 AM, Harry_ <[email protected]> wrote:

>
> Thanks for the reply deepak,
>
> The output xml files are too big to be merged, So I do not think merging
> all
> output files would be a viable option.
>
> Regarding modifying XSLT can you give me an example how to do that. I am
> using jmeter-results-report.xsl present in extras directory within jmeter
> directory.
>
>
> Long time back I was trying to generate reports in ant in which after each
> run, the results of new result files were appended in the html files.
>
> Now when I do the same, if the output report html file is already present,
> nothing happens.
>
> You might have an idea about how this could be done. There might be some
> parameters settings which needs to be done.
>
> If this could be done then I can easily pass output file names in loop with
> same report file name and get a single report.
>
> Thanks and Regards
>
>
> Deepak Shetty wrote:
> >
> > either make a combined XML file (wrapped with a new root element) and
> make
> > corresponding changes to the stylesheet or modifyt the XSLT to use the
> > XSLT
> > document function to load multiple documents
> > or use CSV as your output format and concatenate all files and then
> > process
> > as you wish
> >
> > regards
> > deepak
> >
> > On Fri, Dec 4, 2009 at 8:08 AM, Harry_ <[email protected]> wrote:
> >
> >>
> >> Hi,
> >>
> >> I want to generate reports from multiple result files of jmeter.
> >>
> >> For one file I do it using the following:
> >>    <target name="generate-reports">
> >>        <echo message="Generating Reports..."/>
> >>
> >>        <xslt in="${results}/filenameX.jtl"
> >>         out="${results}/jmeter-results-report_21.html"
> >>         style="${jmeter.dir}/extras/jmeter-results-report_21.xsl"/>
> >>    </target>
> >>
> >> But as i need to merge results of multiple output files results. How
> >> should
> >> I do it?
> >>
> >> Thanks and Regards
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/How-to-generetae-reports-using-ant-from-multiple-files-tp26635936p26635936.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]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/How-to-generetae-reports-using-ant-from-multiple-files-tp26635936p26676662.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]
>
>

Reply via email to