public class TestConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestConfig.Measure |
static class |
TestConfig.ReporterType |
static class |
TestConfig.RunType |
Modifier and Type | Field and Description |
---|---|
protected String |
databaseName |
protected int |
duration |
protected int |
expectedRate |
protected int |
iterations |
protected org.slf4j.Logger |
log |
protected List<TestConfig.Measure> |
measure |
protected String |
perfRepoHost |
protected String |
perfRepoPassword |
protected String |
perfRepoUrlPath |
protected String |
perfRepoUsername |
protected int |
periodicity |
protected String |
projectName |
protected Properties |
properties |
protected String |
reportDataLocation |
protected TestConfig.ReporterType |
reporterType |
protected TestConfig.RunType |
runType |
protected String |
scenario |
protected String |
startScriptLocation |
protected String |
suite |
protected List<String> |
tags |
protected static TestConfig |
tc |
protected int |
threads |
protected String |
version |
protected boolean |
warmUp |
protected int |
warmUpCount |
protected int |
warmUpTime |
Modifier | Constructor and Description |
---|---|
protected |
TestConfig() |
Modifier and Type | Method and Description |
---|---|
protected void |
addTag(String tag) |
String |
getDatabaseName() |
int |
getDuration() |
int |
getExpectedRate() |
static TestConfig |
getInstance() |
int |
getIterations() |
List<TestConfig.Measure> |
getMeasure() |
String |
getPerfRepoHost() |
String |
getPerfRepoPassword() |
String |
getPerfRepoUrlPath() |
String |
getPerfRepoUsername() |
int |
getPeriodicity() |
String |
getProjectName() |
Properties |
getProperties() |
String |
getReportDataLocation() |
TestConfig.ReporterType |
getReporterType() |
TestConfig.RunType |
getRunType() |
String |
getScenario() |
String |
getStartScriptLocation() |
String |
getSuite() |
List<String> |
getTags() |
int |
getThreads() |
String |
getVersion() |
int |
getWarmUpCount() |
int |
getWarmUpTime() |
boolean |
isWarmUp() |
Properties |
loadProperties() |
protected final org.slf4j.Logger log
protected static TestConfig tc
protected Properties properties
protected String projectName
protected String suite
protected String scenario
protected String startScriptLocation
protected String databaseName
protected TestConfig.RunType runType
protected int duration
protected int iterations
protected int expectedRate
protected TestConfig.ReporterType reporterType
protected int periodicity
protected String reportDataLocation
protected int threads
protected boolean warmUp
protected int warmUpCount
protected int warmUpTime
protected String perfRepoHost
protected String perfRepoUrlPath
protected String perfRepoUsername
protected String perfRepoPassword
protected String version
protected List<TestConfig.Measure> measure
public Properties loadProperties() throws Exception
Exception
public static TestConfig getInstance()
protected void addTag(String tag)
public Properties getProperties()
public String getProjectName()
public String getSuite()
public String getVersion()
public String getScenario()
public String getStartScriptLocation()
public String getDatabaseName()
public TestConfig.RunType getRunType()
public int getDuration()
public int getIterations()
public int getExpectedRate()
public TestConfig.ReporterType getReporterType()
public int getPeriodicity()
public String getReportDataLocation()
public int getThreads()
public boolean isWarmUp()
public int getWarmUpCount()
public int getWarmUpTime()
public List<TestConfig.Measure> getMeasure()
public String getPerfRepoHost()
public String getPerfRepoUrlPath()
public String getPerfRepoUsername()
public String getPerfRepoPassword()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.