public PerformanceTest
Mark the test as a JPut performance test, allowing to assert test execution time and analyze execution time trends
| Modifier and Type | Method and Description |
|---|---|
long |
averageTimeLimit()
Upper limit for average execution time when using
|
long |
delay()
Delay between test repeats,
|
long |
maxTimeLimit()
Upper limit for test execution time in milliseconds
|
long[] |
percentiles() |
int |
repeats()
Count of test execution repeats
|
java.lang.String |
testId()
Unique test id,
|
int |
threads()
Tests will run in parallel if threads count is greater than 1
|
PerformanceTrend[] |
trends()
Performance trend analyzing
|
int |
warmUp()
Count of warm up test executions
|
java.lang.String testId()
Unique test id,
used to distinguish different tests. Default to testClassName#testMethodName
int warmUp()
Count of warm up test executions
int repeats()
Count of test execution repeats
long delay()
Delay between test repeats,
in ms
long maxTimeLimit()
Upper limit for test execution time in milliseconds
long averageTimeLimit()
Upper limit for average execution time when using
repeats > 1, in milliseconds
long[] percentiles()
int threads()
Tests will run in parallel if threads count is greater than 1
PerformanceTrend[] trends()
Performance trend analyzing