public class TestExecConfig extends java.lang.Object implements Jsonable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MDW_TEST_CREATE_REPLACE |
static java.lang.String |
MDW_TEST_INCLUDE_POSTMAN_ITEMS |
static java.lang.String |
MDW_TEST_PIN_TO_SERVER |
static java.lang.String |
MDW_TEST_POSTMAN_ENV |
static java.lang.String |
MDW_TEST_SERVER_URL |
static java.lang.String |
MDW_TEST_STUB_PORT
System properties.
|
static java.lang.String |
MDW_TEST_VERBOSE |
Constructor and Description |
---|
TestExecConfig() |
TestExecConfig(org.json.JSONObject json) |
TestExecConfig(java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
int |
getInterval() |
org.json.JSONObject |
getJson() |
java.lang.String |
getJsonName()
May be overridden to name the JSON object returned from
Jsonable.getJson() . |
java.lang.String |
getPostmanEnv() |
java.lang.String |
getServerUrl() |
int |
getStubPort() |
int |
getThreads() |
boolean |
isCreateReplace() |
boolean |
isIncludePostmanItems() |
boolean |
isLoadTest() |
boolean |
isPinToServer() |
boolean |
isStubbing() |
boolean |
isVerbose() |
void |
setCreateReplace(boolean createReplace) |
void |
setIncludePostmanItems(boolean includePostmanItems) |
void |
setInterval(int interval) |
void |
setLoadTest(boolean loadTest) |
void |
setPinToServer(boolean pinToServer) |
void |
setPostmanEnv(java.lang.String env) |
void |
setServerUrl(java.lang.String url) |
void |
setStubbing(boolean stubbing) |
void |
setStubPort(int port) |
void |
setThreads(int threads) |
void |
setVerbose(boolean verbose) |
public static final java.lang.String MDW_TEST_STUB_PORT
public static final java.lang.String MDW_TEST_VERBOSE
public static final java.lang.String MDW_TEST_CREATE_REPLACE
public static final java.lang.String MDW_TEST_PIN_TO_SERVER
public static final java.lang.String MDW_TEST_SERVER_URL
public static final java.lang.String MDW_TEST_INCLUDE_POSTMAN_ITEMS
public static final java.lang.String MDW_TEST_POSTMAN_ENV
public TestExecConfig()
public TestExecConfig(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException
public TestExecConfig(java.util.Properties properties)
public int getThreads()
public void setThreads(int threads)
public int getInterval()
public void setInterval(int interval)
public boolean isStubbing()
public void setStubbing(boolean stubbing)
public int getStubPort()
public void setStubPort(int port)
public boolean isLoadTest()
public void setLoadTest(boolean loadTest)
public boolean isVerbose()
public void setVerbose(boolean verbose)
public boolean isCreateReplace()
public void setCreateReplace(boolean createReplace)
public boolean isPinToServer()
public void setPinToServer(boolean pinToServer)
public boolean isIncludePostmanItems()
public void setIncludePostmanItems(boolean includePostmanItems)
public java.lang.String getPostmanEnv()
public void setPostmanEnv(java.lang.String env)
public java.lang.String getServerUrl()
public void setServerUrl(java.lang.String url)
public org.json.JSONObject getJson() throws org.json.JSONException
org.json.JSONException
public java.lang.String getJsonName()
Jsonable
Jsonable.getJson()
.Copyright © 2019 CenturyLink, Inc.