Hi All,
Just wanted to share what I've been doing to interpret the JMeter
results after load testing our application. I wanted to group a series
of HTTP results (i.e. a series of requests which make up a frameset) and
display an average time for each request, as well as the average time
for each frameset, as well as the average time for the test overall.
After playing around with the jmeter-results-detail-report.xsl in the
"extras" directory, I came up with the following:
First I need a standard method for naming each request sample:
$TESTNUM. $FRAMESET;$REQUESTNAME
Examples:
1. Start;Start.do
2. Login;Login.do
3. SummaryPage;Navigation.do
4. SummaryPage;LeftMenu.do
5. SummaryPage;MainContent.do
6. DetailedSummary;Navigation.do
7. DetailedSummary;DetailedMenu.do
8. DetailedSummary;DetailedContent.do
9. Logout;Logout.do
The delimiter to split the $FRAMESET and $REQUESTNAME (i.e. the
semicolon) can be passed in as a parameter to the stylesheet, but it
defaults to a semicolon. I decided to number each request in order to be
able to sort the framesets numerically after grouping all the results.
Then I can apply the stylesheet to the XML to create a nice HTML page
presenting my results.
An example of the resulting HTML can be seen at:
http://www.garethwestern.com/jmeter/group-example.html
If anyone is interested in the stylesheet, get it from
http://www.garethwestern.com/jmeter/grouped-report.xsl
There's also a tiny ant script to do the transformation:
http://www.garethwestern.com/jmeter/build.xml
If anyone has any suggestions for improvements or modifications then
please let me know! I'm only a beginner with XSLT and i'm always eager
to learn more.
Thanks,
Gareth
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]