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 Show documentation
Show all versions of junitperf 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.statistics.evaluationCount, 0, ".", ",") }}
- Success:
{{ number_format(context.statistics.evaluationCount - context.statistics.errorCount, 0, ".", ",") }}
{% set colour = (context.isErrorThresholdAchieved) ? "#2b67a4" : "#d9534f" %}
- Errors:
{{ number_format(context.statistics.errorCount, 0, ".", ",") }}
{{ number_format(context.statistics.errorPercentage, 2, ".", ",") }}%
Thread Count:
{{ context.configuredThreads }}
Warm up:
{{ number_format(context.configuredWarmUp, 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
Min. latency:
{{ number_format(context.statistics.getMinLatency(milliseconds), 2, ".", " ") }} ms
Average latency:
{{ number_format(context.statistics.getMeanLatency(milliseconds), 2, ".", " ") }} ms
{% for percentile, target in context.requiredPercentiles %}
{% for i in [percentile .. percentile] %}
{% set colour = (context.getPercentileResults().get(i)) ? "#2b67a4" : "#d9534f" %}
{{ percentile }}:
{{ number_format(context.statistics.getLatencyPercentile(i, milliseconds), 2, ".", ",") }} ms
{{ number_format(target, 2, ".", ",") }} ms
{% endfor %}
{% endfor %}
Max latency:
{{ number_format(context.statistics.getMaxLatency(milliseconds), 2, ".", ",") }} ms
{% endfor %}
Report created by JunitPerf
© 2015 - 2025 Weber Informatics LLC | Privacy Policy