com.lazerycode.jmeter.analyzer.templates.html.aggregatedResponse.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmeter-analysis-maven-plugin Show documentation
Show all versions of jmeter-analysis-maven-plugin Show documentation
Parses JMeter result files and computes performance indicators such as average request duration
<#ftl/>
<#-- @ftlvariable name="key" type="java.lang.String" -->
<#-- @ftlvariable name="aggregatedResponses" type="com.lazerycode.jmeter.analyzer.parser.AggregatedResponses" -->
<#-- @ftlvariable name="bytes" type="com.lazerycode.jmeter.analyzer.statistics.Samples" -->
<#-- @ftlvariable name="requests" type="com.lazerycode.jmeter.analyzer.statistics.Samples" -->
<#-- @ftlvariable name="Q_QUANTILES" type="java.lang.Integer" -->
<#-- @ftlvariable name="K_99_PERCENT" type="java.lang.Integer" -->
<#-- @ftlvariable name="K_99_PONT_9_PERCENT" type="java.lang.Integer" -->
<#-- @ftlvariable name="PERCENT_100" type="java.lang.Integer" -->
<#-- @ftlvariable name="CHARTS" type="java.lang.Boolean" -->
<#-- @ftlvariable name="DETAILS" type="java.lang.Boolean" -->
Group ${key}
Summary
General
Time
${aggregatedResponses.startDate?date?string} - ${aggregatedResponses.endDate?date?string}
Duration in seconds
${requests.duration}
Number of requests
${requests.successCount}
Requests per second
${requests.successPerSecond}
<#if (requests.successCount > 0) >
Response duration (ms)
Min
${requests.min}
Average
${requests.average}
Max
${requests.max}
Standard deviation
${requests.standardDeviation}
<#include "quantiles.ftl" />
Response size (bytes)
Total
${bytes.total}
Min
${bytes.min}
Average
${bytes.average}
Max
${bytes.max}
Standard deviation
${bytes.standardDeviation}
Status codes
<#assign statusCodes=aggregatedResponses.statusCodes.codes/>
<#assign total=requests.successCount + requests.errorsCount/>
<#list statusCodes?keys as statusCode>
<#assign statusCodeCount=statusCodes(statusCode)/>
${statusCode?string}
${statusCodeCount?string?left_pad(7)} (${(statusCodeCount/total*PERCENT_100)?string("###.##")}%)
#list>
<#else>
Errors
100%
#if>
<#if CHARTS >
Response duration
#if>
<#if DETAILS>
Detailed response information
#if>