- ClasspathFilePropertySource - Class in cz.encircled.jput.context
-
- ClasspathFilePropertySource() - Constructor for class cz.encircled.jput.context.ClasspathFilePropertySource
-
- close() - Method in interface cz.encircled.jput.recorder.ElasticsearchClient
-
- close() - Method in class cz.encircled.jput.recorder.ElasticsearchClientWrapper
-
- collectRuns(sample) - Method in class cz.encircled.jput.analyzer.SampleBasedTrendAnalyzer
-
- Companion - Static variable in class cz.encircled.jput.context.JPutContext
-
- Companion - Static variable in class cz.encircled.jput.model.SuiteConfiguration
-
- Companion - Static variable in class cz.encircled.jput.runner.JPutJUnit4Runner
-
- Companion - Static variable in class cz.encircled.jput.runner.JPutSpringRunner
-
- Companion - Static variable in class cz.encircled.jput.runner.Junit4TestExecutor
-
- component1() - Method in class cz.encircled.jput.model.ExecutionRun
-
Parent execution
- component1() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Unique test id,
- component1() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Configuration used for this execution
- component1() - Method in class cz.encircled.jput.model.RunResult
-
- component1() - Method in class cz.encircled.jput.model.SuiteConfiguration
-
- component1() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Sample size which will be used for trend analysis
- component10() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
- component11() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Unit test will be marked as failed,
- component12() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
TODO implement: reactive
- component13() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Performance trend analyzing
- component2() - Method in class cz.encircled.jput.model.ExecutionRun
-
Start time in nanoseconds relative to execution start time
- component2() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Count of warm up test executions
- component2() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Parameters related to the global execution
- component2() - Method in class cz.encircled.jput.model.RunResult
-
- component2() - Method in class cz.encircled.jput.model.SuiteConfiguration
-
- component2() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Static average time threshold.
- component3() - Method in class cz.encircled.jput.model.ExecutionRun
-
Elapsed time in ms
- component3() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Test execution repeats count
- component3() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Start time of this execution in nanoseconds
- component3() - Method in class cz.encircled.jput.model.RunResult
-
- component3() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
if true - use the sample variance as an average time threshold
- component4() - Method in class cz.encircled.jput.model.ExecutionRun
-
- component4() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Delay between test repeats,
- component4() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Repeat number to its execution
- component4() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Defines the strategy for sample selection
- component5() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Upper limit for test execution time in milliseconds
- component5() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Validation result is set after executions
- component5() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Only result from given percentile are counted for trend tests,
- component6() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Upper limit for average execution time when using
- component7() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Upper limits for test execution time in milliseconds within defined percentiles. Defining multiple percentiles allows
to have multiple validation constraints, for instance
200ms for 75% and
500ms for 95%.
- component8() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Count of maximum parallel executions
- component9() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Ramp-up in milliseconds.
- ConfigurationBuilder - Class in cz.encircled.jput.context
-
- continueOnException() - Method in interface cz.encircled.jput.annotation.PerformanceTest
-
If true,
- copy(execution, relativeStartTime, elapsedTime, resultDetails) - Method in class cz.encircled.jput.model.ExecutionRun
-
- copy(testId, warmUp, repeats, delay, maxTimeLimit, avgTimeLimit, percentiles, parallelCount, rampUp, isReactive, maxAllowedExceptionsCount, continueOnException, trendConfiguration) - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Performance test configuration of a single junit test method
- copy(conf, executionParams, startTime, executionResult, violations) - Method in class cz.encircled.jput.model.PerfTestExecution
-
Represents the execution state of a particular performance test
- copy(resultCode, error, errorMessage) - Method in class cz.encircled.jput.model.RunResult
-
- copy(clazz, isParallel) - Method in class cz.encircled.jput.model.SuiteConfiguration
-
- copy(sampleSize, averageTimeThreshold, useStandardDeviationAsThreshold, sampleSelectionStrategy, noisePercentile) - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Represents the configuration of a single trend performance test
- cz.encircled.jput - package cz.encircled.jput
-
- cz.encircled.jput.analyzer - package cz.encircled.jput.analyzer
-
- cz.encircled.jput.annotation - package cz.encircled.jput.annotation
-
- cz.encircled.jput.context - package cz.encircled.jput.context
-
- cz.encircled.jput.model - package cz.encircled.jput.model
-
- cz.encircled.jput.recorder - package cz.encircled.jput.recorder
-
- cz.encircled.jput.reporter - package cz.encircled.jput.reporter
-
- cz.encircled.jput.runner - package cz.encircled.jput.runner
-
- cz.encircled.jput.trend - package cz.encircled.jput.trend
-
- getAverageTimeThreshold() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Static average time threshold.
- getAvgTimeLimit() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Upper limit for average execution time when using
- getClazz() - Method in class cz.encircled.jput.model.SuiteConfiguration
-
- getCollectionProperty(key, defaultValue) - Static method in class cz.encircled.jput.context.PropertySourceKt
-
- getConf() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Configuration used for this execution
- getContext() - Static method in class cz.encircled.jput.context.JPutContextKt
-
- getContinueOnException() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
TODO implement: reactive
- getCurrentSuite() - Method in class cz.encircled.jput.context.JPutContext
-
Currently running class suite, should be set by org.junit.runner.Runner
- getCurrentSuiteMethod() - Method in class cz.encircled.jput.context.JPutContext
-
Currently running method of a suite, should be set by org.junit.runner.Runner
- getDelay() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Delay between test repeats,
- getElapsedTime() - Method in class cz.encircled.jput.model.ExecutionRun
-
Elapsed time in ms
- getElapsedTimes() - Method in class cz.encircled.jput.model.PerfTestExecution
-
List of elapsed times of all repeats
- getError() - Method in class cz.encircled.jput.model.RunResult
-
- getErrorMessage() - Method in class cz.encircled.jput.model.RunResult
-
- getExecution() - Method in class cz.encircled.jput.model.ExecutionRun
-
Parent execution
- getExecutionAvg() - Method in class cz.encircled.jput.model.PerfTestExecution
-
- getExecutionId() - Method in class cz.encircled.jput.context.JPutContext
-
Unique ID of current tests execution
- getExecutionMax() - Method in class cz.encircled.jput.model.PerfTestExecution
-
- getExecutionParams() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Parameters related to the global execution
- getExecutionResult() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Repeat number to its execution
- getExecutor() - Method in class cz.encircled.jput.runner.Junit4TestExecutor
-
- getJPut() - Method in class cz.encircled.jput.runner.Junit4TestExecutor.Companion
-
- getMaxAllowedExceptionsCount() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Unit test will be marked as failed,
- getMaxTimeLimit() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Upper limit for test execution time in milliseconds
- getMessageProducer() - Method in enum cz.encircled.jput.model.PerfConstraintViolation
-
- getMethod() - Method in class cz.encircled.jput.runner.InvokeMethodWithParams
-
- getNoisePercentile() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Only result from given percentile are counted for trend tests,
- getParallelCount() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Count of maximum parallel executions
- getPercentiles() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Upper limits for test execution time in milliseconds within defined percentiles. Defining multiple percentiles allows
to have multiple validation constraints, for instance
200ms for 75% and
500ms for 95%.
- getProperty(key) - Method in class cz.encircled.jput.context.ClasspathFilePropertySource
-
- getProperty(key) - Method in interface cz.encircled.jput.context.PropertySource
-
- getProperty(key) - Method in class cz.encircled.jput.context.SystemPropertySource
-
- getPropertySources() - Method in class cz.encircled.jput.context.JPutContext
-
- getRampUp() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Ramp-up in milliseconds.
- getRelativeStartTime() - Method in class cz.encircled.jput.model.ExecutionRun
-
Start time in nanoseconds relative to execution start time
- getRepeats() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Test execution repeats count
- getResult() - Method in class cz.encircled.jput.runner.Junit4TestExecutor.Companion
-
Hack for
class InvokeMethodWithParams - there is no other easy way how to receive return value from the unit test
and re-use existing JUnit Statements (like BeforeTest, AfterTest etc)
- getResultCode() - Method in class cz.encircled.jput.model.RunResult
-
- getResultDetails() - Method in class cz.encircled.jput.model.ExecutionRun
-
- getResultRecorders() - Method in class cz.encircled.jput.context.JPutContext
-
Test results recorders
- getResultReporters() - Method in class cz.encircled.jput.context.JPutContext
-
- getSample(execution) - Method in class cz.encircled.jput.recorder.ElasticsearchResultRecorder
-
Fetch execution times sample for the given execution
- getSample(execution) - Method in class cz.encircled.jput.recorder.FileSystemResultRecorder
-
Fetch execution times sample for the given execution
- getSample(execution) - Method in interface cz.encircled.jput.recorder.ResultRecorder
-
Fetch execution times sample for the given execution
- getSampleSelectionStrategy() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Defines the strategy for sample selection
- getSampleSize() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
Sample size which will be used for trend analysis
- getStartTime() - Method in class cz.encircled.jput.model.ExecutionRun
-
- getStartTime() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Start time of this execution in nanoseconds
- getTarget() - Method in class cz.encircled.jput.recorder.FileSystemResultRecorder
-
- getTestId() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Unique test id,
- getTrendAnalyzer() - Method in class cz.encircled.jput.context.JPutContext
-
- getTrendConfiguration() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Performance trend analyzing
- getUnitPerformanceAnalyzers() - Method in class cz.encircled.jput.context.JPutContext
-
- getUserDefinedEnvParams($this) - Static method in class cz.encircled.jput.recorder.ResultRecorder.DefaultImpls
-
Get user-defined environment parameters, which should be persisted along with test results
- getUserDefinedEnvParams() - Method in interface cz.encircled.jput.recorder.ResultRecorder
-
Get user-defined environment parameters, which should be persisted along with test results
- getUseStandardDeviationAsThreshold() - Method in class cz.encircled.jput.model.TrendTestConfiguration
-
if true - use the sample variance as an average time threshold
- getViolations() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Validation result is set after executions
- getViolationsErrorMessage() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Build error messages from violations
- getWarmUp() - Method in class cz.encircled.jput.model.PerfTestConfiguration
-
Count of warm up test executions
- parallel() - Method in interface cz.encircled.jput.annotation.PerformanceSuite
-
If true,
- parallel() - Method in interface cz.encircled.jput.annotation.PerformanceTest
-
Tests will run in parallel if threads count is greater than 1
- Percentile - Interface in cz.encircled.jput.annotation
-
Represents percentile rank and its execution time limit
- percentile($receiver, rank) - Static method in class cz.encircled.jput.StatisticsKt
-
- percentiles() - Method in interface cz.encircled.jput.annotation.PerformanceTest
-
Upper limits for test execution time in milliseconds within defined percentiles.
- PerfConstraintViolation - Enum in cz.encircled.jput.model
-
Enumeration of possible perf constraint violations
- PerfConstraintViolation(messageProducer) - Constructor for enum cz.encircled.jput.model.PerfConstraintViolation
-
Enumeration of possible perf constraint violations
- PerformanceSuite - Interface in cz.encircled.jput.annotation
-
Marker for class which contains multiple performance tests
- PerformanceTest - Interface in cz.encircled.jput.annotation
-
Mark the test as a JPut performance test, allowing to assert test execution time and analyze execution time trends
- PerformanceTrend - Interface in cz.encircled.jput.annotation
-
- performExecution(execution, statement) - Method in class cz.encircled.jput.runner.ThreadBasedTestExecutor
-
- PerfTestConfiguration - Class in cz.encircled.jput.model
-
Performance test configuration of a single junit test method
- PerfTestConfiguration(testId, warmUp, repeats, delay, maxTimeLimit, avgTimeLimit, percentiles, parallelCount, rampUp, isReactive, maxAllowedExceptionsCount, continueOnException, trendConfiguration) - Constructor for class cz.encircled.jput.model.PerfTestConfiguration
-
Performance test configuration of a single junit test method
- PerfTestExecution - Class in cz.encircled.jput.model
-
Represents the execution state of a particular performance test
- PerfTestExecution(conf, executionParams, startTime, executionResult, violations) - Constructor for class cz.encircled.jput.model.PerfTestExecution
-
Represents the execution state of a particular performance test
- prepareRunner(runner) - Method in class cz.encircled.jput.runner.JUnitTestRunnerSupport
-
- PROP_ELASTIC_CLEANUP_DAYS - Static variable in class cz.encircled.jput.context.JPutContext
-
Automatically delete data older than given days from Elasticsearch
- PROP_ELASTIC_ENABLED - Static variable in class cz.encircled.jput.context.JPutContext
-
Boolean - enables/disables elasticsearch as a Result Recorder
- PROP_ELASTIC_ENV_IDENTIFIERS - Static variable in class cz.encircled.jput.context.JPutContext
-
This property can be use to distinguish perf results from different environments or client machine.
For example when tested application is running on multiple servers each with different available resources (CPU/RAM/DISC)
which may affect the results.
- PROP_ELASTIC_HOST - Static variable in class cz.encircled.jput.context.JPutContext
-
Elasticsearch server host name
- PROP_ELASTIC_INDEX - Static variable in class cz.encircled.jput.context.JPutContext
-
Elasticsearch index name to be used
- PROP_ELASTIC_PORT - Static variable in class cz.encircled.jput.context.JPutContext
-
Elasticsearch server port
- PROP_ELASTIC_SCHEME - Static variable in class cz.encircled.jput.context.JPutContext
-
Network scheme, e.g. http/https
- PROP_ENABLED - Static variable in class cz.encircled.jput.context.JPutContext
-
Enables/disables execution of performance tests
- PROP_ENV_PARAMS - Static variable in class cz.encircled.jput.context.JPutContext
-
Custom parameters which will be passed to Result Recorders (for example to Kibana).
Might be used for example for tested application version, environment code, name of test runner etc. Format is key1:value1,key2:value2, i.e. value split by :, multiple values separated by ,.
- PROP_PATH_TO_STORAGE_FILE - Static variable in class cz.encircled.jput.context.JPutContext
-
Absolute path to the file which will be used a a storeage
- PROP_REPORTER_CLASS - Static variable in class cz.encircled.jput.context.JPutContext
-
Fully classified class name of custom Result Recorder
- PROP_STORAGE_FILE_ENABLED - Static variable in class cz.encircled.jput.context.JPutContext
-
Boolean - enables/disables file Result Recorder
- PROP_TEST_CONFIG - Static variable in class cz.encircled.jput.context.JPutContext
-
- PropertySource - Interface in cz.encircled.jput.context
-
Property sources for settings
- PropertySourceKt - Class in cz.encircled.jput.context
-
- SampleBasedTrendAnalyzer - Class in cz.encircled.jput.analyzer
-
Trend analyzer which compares test execution with sample data from previous executions
- SampleBasedTrendAnalyzer() - Constructor for class cz.encircled.jput.analyzer.SampleBasedTrendAnalyzer
-
Trend analyzer which compares test execution with sample data from previous executions
- sampleSelectionStrategy() - Method in interface cz.encircled.jput.annotation.PerformanceTrend
-
Defines the way,
- sampleSize() - Method in interface cz.encircled.jput.annotation.PerformanceTrend
-
Sample size which is used for trend analysis,
- search(searchRequest, options) - Method in interface cz.encircled.jput.recorder.ElasticsearchClient
-
- search(searchRequest, options) - Method in class cz.encircled.jput.recorder.ElasticsearchClientWrapper
-
- SelectionStrategy - Enum in cz.encircled.jput.trend
-
Strategy for sample selection
- SelectionStrategy() - Constructor for enum cz.encircled.jput.trend.SelectionStrategy
-
Strategy for sample selection
- setContext(p) - Static method in class cz.encircled.jput.context.JPutContextKt
-
- setCurrentSuite(p) - Method in class cz.encircled.jput.context.JPutContext
-
Currently running class suite, should be set by org.junit.runner.Runner
- setCurrentSuiteMethod(p) - Method in class cz.encircled.jput.context.JPutContext
-
Currently running method of a suite, should be set by org.junit.runner.Runner
- setElapsedTime(p) - Method in class cz.encircled.jput.model.ExecutionRun
-
Elapsed time in ms
- setErrorMessage(p) - Method in class cz.encircled.jput.model.RunResult
-
- setExecutor(p) - Method in class cz.encircled.jput.runner.Junit4TestExecutor
-
- setInitialized(p) - Method in class cz.encircled.jput.runner.JPutJUnit4Runner.Companion
-
- setInitialized(p) - Method in class cz.encircled.jput.runner.JPutSpringRunner.Companion
-
- setPropertySources(p) - Method in class cz.encircled.jput.context.JPutContext
-
- setRelativeStartTime(p) - Method in class cz.encircled.jput.model.ExecutionRun
-
Start time in nanoseconds relative to execution start time
- setResultDetails(p) - Method in class cz.encircled.jput.model.ExecutionRun
-
- setResultReporters(p) - Method in class cz.encircled.jput.context.JPutContext
-
- setTrendAnalyzer(p) - Method in class cz.encircled.jput.context.JPutContext
-
- setUnitPerformanceAnalyzers(p) - Method in class cz.encircled.jput.context.JPutContext
-
- startNextExecution() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Starts new execution, returns start time (nanoseconds)
- StatisticsKt - Class in cz.encircled.jput
-
- subList($this, sample, size, strategy) - Static method in class cz.encircled.jput.recorder.ResultRecorder.DefaultImpls
-
Select sub list of given size from sample according to the given strategy
- subList(sample, size, strategy) - Method in interface cz.encircled.jput.recorder.ResultRecorder
-
Select sub list of given size from sample according to the given strategy
- successResults() - Method in class cz.encircled.jput.model.PerfTestExecution
-
Only success executionResult
- SuiteConfiguration - Class in cz.encircled.jput.model
-
- SuiteConfiguration(clazz, isParallel) - Constructor for class cz.encircled.jput.model.SuiteConfiguration
-
- SuiteConfiguration.Companion - Class in cz.encircled.jput.model
-
- SystemPropertySource - Class in cz.encircled.jput.context
-
Uses System.property and System.env as a sources
- SystemPropertySource() - Constructor for class cz.encircled.jput.context.SystemPropertySource
-
Uses System.property and System.env as a sources