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

com.lazerycode.jmeter.analyzer.templates.json.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/>
<#-- @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" -->
<#assign quantiles=requests.getQuantiles(Q_QUANTILES)/>
<#assign statusCodes=aggregatedResponses.statusCodes.codes/>
<#assign total=requests.successCount + requests.errorsCount/>
    {
      "min": ${requests.min},
      "max": ${requests.max},
      "quantile90": ${quantiles.getQuantile(900)},
      "average": ${requests.average},
      "total": ${total},
      "statusCodes":{
                  <#list statusCodes?keys as statusCode>
                    <#assign statusCodeCount=statusCodes(statusCode)/>
                      "${statusCode?string}": ${statusCodeCount}<#if statusCode_has_next>,
                  
                    }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy