JMeter: Log reporting from XML log format
Francis J. Lacoste
flacoste at logreport.org
Sun Dec 29 20:27:28 CET 2002
On lun, 2002-12-23 at 08:55, Atif Ghaffar wrote:
> Hi all,
>
> I would like to inquire if anyone has got Jmeter's logfile (XML format)
> to work with Lire.
Not that we heard of.
>
> Jmeter is used to loadtest a webserver or web application.
> A number of threads can be set and each thread can send x amount of hits
> to the server.
>
> Any pointers to have support for reporting from this format would be
> very much appreciated. I have tons of logs for application stress
> testing that I would like to generate some meaningful reports and graphs
> from.
>
> Thanks in advance.
Lire is meant to be used for that kind of purpose. Unfortunately, we
currently lack good tutorial material which explains how to start. You
can take a look at the developer's manual which contains a lot of
reference material but not much in the area of practical examples. You
can read the first chapter which gives an high-level overview of
the concepts involved.
After that, the best solution is to learn by copying. You can inspire
yourself from one of the simpler superservice like firewall.
To be able to generate reports for the JMeter application, here are the
basic steps involved:
1- Define a schema for the log data (this is an XML file, look at
firewall.xml for an example).
2- Write a converter from the application log format to Lire's DLF. This
is a script which reads the log file on STDIN and writes the DLF on
STDOUT. You can take a look at ipchains2dlf for an example. A converter
for JMeter's log file would be a little more complicated since it would
probably use XML::Parser to parse the log file.
3- Write report specifications and combine them in a report
configuration file (you can look at the files under firewall/reports for
example specifications and firewall.cfg for the report configuration).
The report configuration format is described at length in the User's
manual. The developer's manual contains the description of all the
elements available in the report specification markup language.
Hope this helps you get started. If you need more help, don't hesitate
to post on our development mailing list development at logreport.org
Thanks for your interest in LogReport, kind Regards,
Francis J. Lacoste
--
Francis J. Lacoste . . http://www.logreport.org
/^LogReport$/ . . flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20021229/9530e486/attachment.bin
More information about the Questions
mailing list