com.lazerycode.jmeter.analyzer.templates.json.main.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
The newest version!
<#ftl/>
<#-- @ftlvariable name="self" type="java.util.Map" -->
<#-- @ftlvariable name="bytes" type="com.lazerycode.jmeter.analyzer.statistics.Samples" -->
<#-- @ftlvariable name="requests" type="com.lazerycode.jmeter.analyzer.statistics.Samples" -->
{
"performanceData":
<#if !self?keys?has_content>
[]
<#else>
[
<#list self?keys as key>
<#assign aggregatedResponses=self(key)/>
<#assign bytes=aggregatedResponses.size/>
<#assign requests=aggregatedResponses.duration/>
<#if (requests.successCount > 0) >
<#include "aggregatedResponse.ftl" />
#if>
#list>
]
#if>
}