All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lazerycode.jmeter.analyzer.templates.text.aggregatedResponse.ftl Maven / Gradle / Ivy

Go to download

Parses JMeter result files and computes performance indicators such as average request duration

There is a newer version: 1.0.6
Show newest version
<#ftl/>
<#setting locale="en_US">
<#-- @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" -->
${key}
  time: ${aggregatedResponses.startDate?date?string} - ${aggregatedResponses.endDate?date?string}
  total duration:       ${requests.duration}
  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}
  <#assign statusCodes=aggregatedResponses.statusCodes.codes/>
  <#assign total=requests.successCount + requests.errorsCount/>
  response status codes
    <#list statusCodes?keys as statusCode>
    <#assign statusCodeCount=statusCodes(statusCode)/>
    ${statusCode?string}:             ${statusCodeCount?string?left_pad(7)} (${(statusCodeCount/total*PERCENT_100)?string("###.##")}%)
    
  <#else>
  errors:               100%
  




© 2015 - 2024 Weber Informatics LLC | Privacy Policy