jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lu, Tao (MTO)" <Tao...@mto.gov.on.ca>
Subject how to use jmeter-results-report.xsl(www.programmerplanet.org)
Date Fri, 11 Aug 2006 21:40:31 GMT
Hi, All, 
I am using <jmeter> ANT task and jmeter-results-report.xsl(from
http://www.programmerplanet.org) to format the output result. But I noticed
that jmeter-results-report.xsl looks for XML elements like "sampleResult"
and attributes like "time", "success", while JMeter output file looks like
as below:

<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<httpSample t="30" lt="30" ts="1155248729607" s="true"
lb="/audit/login/login.jsp" rc="200" rm="OK" tn="Audit 1-1" dt="text"/>
<httpSample t="2644" lt="2634" ts="1155248729687" s="true"
lb="/audit/login/j_security_check" rc="302" rm="Moved Temporarily" tn="Audit
1-1" dt="text"/>
<httpSample t="250" lt="230" ts="1155248732331" s="true"
lb="/audit/auditInquirySearch.do" rc="200" rm="OK" tn="Audit 1-1"
dt="text"/>
<httpSample t="201" lt="201" ts="1155248732581" s="true"
lb="/audit/auditInquiryItemDetails.do" rc="200" rm="OK" tn="Audit 1-1"
dt="text"/>
</testResults>

This XML result seems not to match the XSL. Am I using it correctly?

Here is my task:
<taskdef name="jmeter"
classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask" />
<xslt in="${basedir}/logs/${test_module}.jtl"
out="${basedir}/logs/${test_module}_ResultReport.html"
style="${basedir}/jmx/jmeter-results-report.xsl" />

Thank you in advance!
Best Regards,
Tao


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message