templates.report.twig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junitperf-core Show documentation
Show all versions of junitperf-core Show documentation
API performance testing framework built using JUnit
JUnit Performance Report
JUnit Performance Report
Tests
{% for context in contextData %}
{{ context.testName }}
{% endfor %}
{% for context in contextData %}
{{ context.testName }}
Download as csv
Started at: {{ context.startTime }}
Invocations:
{{ number_format(context.evaluationCount, 0, ".", ",") }}
- Success:
{{ number_format(context.evaluationCount - context.errorCount, 0, ".", ",") }}
{% set colour = (context.isErrorThresholdAchieved) ? "#2b67a4" : "#d9534f" %}
- Errors:
{{ number_format(context.errorCount, 0, ".", ",") }}
{{ number_format(context.errorPercentage, 2, ".", ",") }}%
Thread Count:
{{ context.configuredThreads }}
Warm up:
{{ number_format(context.configuredWarmUp, 0, ".", ",") }} ms
Ramp up:
{{ number_format(context.configuredRampUpPeriodMs, 0, ".", ",") }} ms
Measured
(system)
Required
Execution time:
{{ number_format(context.configuredDuration, 0, ".", ",") }} ms
{% set colour = (context.isThroughputAchieved) ? "#2b67a4" : "#d9534f" %}
Throughput:
{{ number_format(context.getThroughputQps, 0, ".", ",") }} / s
{{ number_format(context.requiredThroughput, 0, ".", ",") }} / s
{% set colour = (context.isMinLatencyAchieved) ? "#2b67a4" : "#d9534f" %}
Min latency:
{{ number_format(context.getMinLatencyMs(), 2, ".", " ") }} ms
{% set minLatency = (context.requiredMinLatency < 0) ? "N/A" :number_format(context.requiredMinLatency, 2, ".", " ") %}
{{ minLatency }} ms
{% set colour = (context.isMeanLatencyAchieved) ? "#2b67a4" : "#d9534f" %}
Average latency:
{{ number_format(context.getMeanLatencyMs(), 2, ".", " ") }} ms
{% set meanLatency = (context.requiredMeanLatency < 0) ? "N/A" :number_format(context.requiredMeanLatency, 2, ".", " ") %}
{{ meanLatency }} ms
{% for percentile, target in context.requiredPercentiles %}
{% for i in [percentile .. percentile] %}
{% set colour = (context.getPercentileResults().get(i)) ? "#2b67a4" : "#d9534f" %}
{{ percentile }}:
{{ number_format(context.getLatencyPercentileMs(i), 2, ".", ",") }} ms
{{ number_format(target, 2, ".", ",") }} ms
{% endfor %}
{% endfor %}
{% set colour = (context.isMaxLatencyAchieved) ? "#2b67a4" : "#d9534f" %}
Max latency:
{{ number_format(context.getMaxLatencyMs(), 2, ".", ",") }} ms
{% set maxLatency = (context.requiredMaxLatency < 0) ? "N/A" :number_format(context.requiredMaxLatency, 2, ".", " ") %}
{{ maxLatency }} ms
{% endfor %}
Report created by JunitPerf
© 2015 - 2025 Weber Informatics LLC | Privacy Policy