public class PerfTestConfiguration
Performance test configuration of a single junit test method
| Modifier and Type | Class and Description |
|---|---|
static class |
PerfTestConfiguration.Companion |
| Modifier and Type | Field and Description |
|---|---|
static PerfTestConfiguration.Companion |
Companion |
| Constructor and Description |
|---|
PerfTestConfiguration(java.lang.String testId,
int warmUp,
int repeats,
long delay,
long maxTimeLimit,
long avgTimeLimit,
int parallelCount,
long rampUp,
boolean isReactive,
TrendTestConfiguration trendConfiguration,
java.util.Map<java.lang.Long,java.lang.Double> percentiles)
Performance test configuration of a single junit test method
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
Unique test id,
|
TrendTestConfiguration |
component10()
Performance trend analyzing
|
java.util.Map<java.lang.Long,java.lang.Double> |
component11() |
int |
component2()
Count of warm up test executions
|
int |
component3()
Test execution repeats count
|
long |
component4()
Delay between test repeats,
|
long |
component5()
Upper limit for test execution time in milliseconds
|
long |
component6()
Upper limit for average execution time when using
|
int |
component7()
Count of maximum parallel executions
|
long |
component8()
Ramp-up in milliseconds.
|
boolean |
component9() |
PerfTestConfiguration |
copy(java.lang.String testId,
int warmUp,
int repeats,
long delay,
long maxTimeLimit,
long avgTimeLimit,
int parallelCount,
long rampUp,
boolean isReactive,
TrendTestConfiguration trendConfiguration,
java.util.Map<java.lang.Long,java.lang.Double> percentiles)
Performance test configuration of a single junit test method
|
boolean |
equals(java.lang.Object p) |
long |
getAvgTimeLimit()
Upper limit for average execution time when using
|
long |
getDelay()
Delay between test repeats,
|
long |
getMaxTimeLimit()
Upper limit for test execution time in milliseconds
|
int |
getParallelCount()
Count of maximum parallel executions
|
java.util.Map<java.lang.Long,java.lang.Double> |
getPercentiles() |
long |
getRampUp()
Ramp-up in milliseconds.
|
int |
getRepeats()
Test execution repeats count
|
java.lang.String |
getTestId()
Unique test id,
|
TrendTestConfiguration |
getTrendConfiguration()
Performance trend analyzing
|
int |
getWarmUp()
Count of warm up test executions
|
int |
hashCode() |
boolean |
isReactive() |
void |
setPercentiles(java.util.Map<java.lang.Long,java.lang.Double> p) |
java.lang.String |
toString() |
PerfTestConfiguration |
valid() |
public static PerfTestConfiguration.Companion Companion
public PerfTestConfiguration(java.lang.String testId,
int warmUp,
int repeats,
long delay,
long maxTimeLimit,
long avgTimeLimit,
int parallelCount,
long rampUp,
boolean isReactive,
TrendTestConfiguration trendConfiguration,
java.util.Map<java.lang.Long,java.lang.Double> percentiles)
Performance test configuration of a single junit test method
testId - Unique test id, used to distinguish different tests. Default to testClassName#testMethodNamewarmUp - Count of warm up test executionsrepeats - Test execution repeats countdelay - Delay between test repeats, in msmaxTimeLimit - Upper limit for test execution time in millisecondsavgTimeLimit - Upper limit for average execution time when using repeats > 1, in millisecondsparallelCount - Count of maximum parallel executions (e.g. java threads in case of base executor or coroutines/reactive executions)rampUp - Ramp-up in milliseconds. If parallel is 100, and the ramp-up period is 100000 (100 seconds),then JPut will take 100 seconds to get all 100 threads running, i.e. 1 second delay after each new threadtrendConfiguration - Performance trend analyzingpublic PerfTestConfiguration valid()
public java.lang.String toString()
public java.lang.String getTestId()
Unique test id,
used to distinguish different tests. Default to testClassName#testMethodName
public int getWarmUp()
Count of warm up test executions
public int getRepeats()
Test execution repeats count
public long getDelay()
Delay between test repeats,
in ms
public long getMaxTimeLimit()
Upper limit for test execution time in milliseconds
public long getAvgTimeLimit()
Upper limit for average execution time when using
repeats > 1, in milliseconds
public int getParallelCount()
Count of maximum parallel executions
(e.g. java threads in case of base executor or coroutines/reactive executions)
public long getRampUp()
Ramp-up in milliseconds.
If parallel is 100, and the ramp-up period is 100000 (100 seconds),then JPut will take 100 seconds to get all 100 threads running, i.e. 1 second delay after each new thread
public boolean isReactive()
public TrendTestConfiguration getTrendConfiguration()
Performance trend analyzing
public java.util.Map<java.lang.Long,java.lang.Double> getPercentiles()
public void setPercentiles(java.util.Map<java.lang.Long,java.lang.Double> p)
public java.lang.String component1()
Unique test id,
used to distinguish different tests. Default to testClassName#testMethodName
public int component2()
Count of warm up test executions
public int component3()
Test execution repeats count
public long component4()
Delay between test repeats,
in ms
public long component5()
Upper limit for test execution time in milliseconds
public long component6()
Upper limit for average execution time when using
repeats > 1, in milliseconds
public int component7()
Count of maximum parallel executions
(e.g. java threads in case of base executor or coroutines/reactive executions)
public long component8()
Ramp-up in milliseconds.
If parallel is 100, and the ramp-up period is 100000 (100 seconds),then JPut will take 100 seconds to get all 100 threads running, i.e. 1 second delay after each new thread
public boolean component9()
public TrendTestConfiguration component10()
Performance trend analyzing
public java.util.Map<java.lang.Long,java.lang.Double> component11()
public PerfTestConfiguration copy(java.lang.String testId, int warmUp, int repeats, long delay, long maxTimeLimit, long avgTimeLimit, int parallelCount, long rampUp, boolean isReactive, TrendTestConfiguration trendConfiguration, java.util.Map<java.lang.Long,java.lang.Double> percentiles)
Performance test configuration of a single junit test method
public int hashCode()
public boolean equals(java.lang.Object p)