public class HtmlReporter extends BaseListener
| Modifier and Type | Class and Description |
|---|---|
static class |
HtmlReporter.ApdexThresholds |
static class |
HtmlReporter.AutoFlushingResultCollector |
| Modifier and Type | Field and Description |
|---|---|
protected HtmlReporter.ApdexThresholds |
apdexThresholds |
protected Map<String,HtmlReporter.ApdexThresholds> |
labelApdexThresholds |
protected File |
reportDirectory |
guiClass, name| Constructor and Description |
|---|
HtmlReporter(String reportsDirectoryPath,
String name) |
| Modifier and Type | Method and Description |
|---|---|
HtmlReporter |
apdexThresholds(Duration satisfiedThreshold,
Duration toleratedThreshold)
Allows to configure general Apdex thresholds for all requests.
|
org.apache.jmeter.testelement.TestElement |
buildTestElement() |
HtmlReporter |
timeGraphsGranularity(Duration granularity)
Allows specifying the granularity for time graphs.
|
HtmlReporter |
transactionApdexThresholds(String sampleLabelRegex,
Duration satisfiedThreshold,
Duration toleratedThreshold)
Allows to configure a particular sample label Apdex thresholds.
|
buildConfiguredTestElement, buildTestElementGui, buildTreeUnder, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildTreeUnder, showInGuiprotected File reportDirectory
protected final HtmlReporter.ApdexThresholds apdexThresholds
protected final Map<String,HtmlReporter.ApdexThresholds> labelApdexThresholds
public HtmlReporter timeGraphsGranularity(Duration granularity)
This is handy if you need to get more or less detail presented in time graphs.
granularity - specifies the granularity to be set. When not specified, the default value
is 1 minute. Due to existing
bug, set this value to a duration greater than 1 second to avoid issues
with TPS graphs.public HtmlReporter apdexThresholds(Duration satisfiedThreshold, Duration toleratedThreshold)
Apdex allows to evaluate user satisfaction according to response times. You may find more about this here.
satisfiedThreshold - specifies the satisfaction threshold. When not specified this value
defaults to 1500.toleratedThreshold - specifies the tolerance threshold. When not specified this value
defaults to 3000.public HtmlReporter transactionApdexThresholds(String sampleLabelRegex, Duration satisfiedThreshold, Duration toleratedThreshold)
You can use it to control the apdex thresholds for a set of samplers or transactions that share same label.
sampleLabelRegex - regular expression used to match sample labels to apply the
thresholds to.satisfiedThreshold - specifies the satisfaction threshold. When not specified, the general
apdex thresholds for all requests are applied.toleratedThreshold - specifies the tolerance threshold. When not specified, the general
apdex thresholds for all requests are applied.apdexThresholds(Duration, Duration)public org.apache.jmeter.testelement.TestElement buildTestElement()
buildTestElement in class BaseTestElementCopyright © 2024. All rights reserved.