public class DriverProperties
extends java.util.Properties
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADMIN_PASSWORD
property representing the administrator password required for authentication.
|
static java.lang.String |
ADMIN_USERNAME
property representing the administrator user name required for authentication.
|
static java.lang.String |
BOM_PROJECT_PATH
Property that states the path to the root directory of the BOM project to use when executing test
component files via the runTestScenario(String), submitEvents(String) or loadEntities(String) methods.
|
static java.lang.String |
CATALOG_SERVER_ENDPOINTS
property representing the list of WebSphere Extreme Scale catalog servers.
|
static java.lang.String |
CONNECT_TIMEOUT
property representing the number of seconds that a connect call will retry.
|
static java.lang.String |
CONNECTION
The property that specifies the type of connection to the solution that is tested.
|
static java.lang.String |
CONNECTION_FACTORY
property to define what client server communication environment should be used.
|
static java.lang.String |
CONNECTION_FACTORY_DEFAULT |
static java.lang.String |
CONNECTION_GRID_CONNECTION |
static java.lang.String |
CONNECTION_HTTPS |
static java.lang.String |
CONNECTION_LOCAL |
static java.lang.String |
DEBUG_AGENT_LIST
property representing the agents from which debugInfo objects will be captured.
|
static java.lang.String |
DEBUG_AGENT_LIST_DEFAULT |
static java.lang.String |
DEBUG_MAX_EVENTQUEUE_SIZE
property used by the IADebugReceiver implementation representing the maximum size of the debugInfo cache.
|
static java.lang.String |
DEBUG_NOTE
This property is a String that will be passed to the runtime server.
|
static java.lang.String |
DEBUG_SERVERS
property representing the list of servers from which to receive debugInfo objects.
|
static java.lang.String |
DEBUG_SERVERS_TIMEOUT
property representing the time to wait for communications to be established to all servers listed in the "debugservers" property.
|
static int |
DEBUG_SERVERS_TIMEOUT_DEFAULT |
static int |
DEFAULT_CONNECT_TIMEOUT |
static int |
DEFAULT_DEBUG_SERVERS_TIMEOUT |
static java.lang.String |
DEFAULT_HOSTNAME |
static java.lang.String |
DEFAULT_HTTPPORT_STRING |
static java.lang.String |
DEFAULT_MAX_QUEUE_SIZE |
static java.lang.String |
DISABLE_SSL_HOSTNAME_VERIFICATION
property to allow the disabling of hostname verification
|
static java.lang.String |
ESA_PATH
Property that contains the path to the solution ESA file to use when running tests with the local test environment.
|
static java.lang.String |
GRID_PASSWORD
A property representing the password required for authentication.
|
static java.lang.String |
GRID_SECURITY_ENABLED
A property representing whether or Insights grid security is enabled.
|
static java.lang.String |
GRID_USERNAME
A property representing the user name required for grid authentication.
|
static java.lang.String |
HTTP_PORT
property representing the port used for http and jmx communications.
|
static java.lang.String |
HTTP_TIMEOUT |
static java.lang.String |
LOAD_ENTITIES_BATCH_SIZE
A property representing the maximum batch size when loading entities via
the loadEntities(Iterator
|
static int |
LOAD_ENTITIES_BATCH_SIZE_DEFAULT |
static java.lang.String |
RUNTIME_HOST_NAME
property representing the hostname of a runtime server.
|
static java.lang.String |
SOLUTION_NAME
property representing the solution to which the TestDriver instance will attach.
|
static java.lang.String |
SSL_PROTOCOL
property representing the protocol used for secure connections
|
static java.lang.String |
SUBMIT_EVENTS_RETRY_LIMIT
A property representing the number of retry attempts that will be made to submit
an event by the submitEvents() method before the submission is considered a failure.
|
static int |
SUBMIT_EVENTS_RETRY_LIMIT_DEFAULT |
static java.lang.String |
SUBMIT_EVENTS_RETRY_WAIT
a property representing the time period, in milliseconds, between event submission
retry attempts within the submitEvents() method.
|
static int |
SUBMIT_EVENTS_RETRY_WAIT_DEFAULT |
static java.lang.String |
TEST_CLIENT_PROJECT_PATH
Property that states the path to the root directory of the test client project to use when executing
test component files via the runTestScenario(String), submitEvents(String) or loadEntities(String) methods.
|
static java.lang.String |
TEST_CLIENT_PROJECT_PATH_DEFAULT |
static java.lang.String |
TESTDRIVER_HOME
an environment variable which points to a directory on the file system.
|
static java.lang.String |
TESTDRIVER_LOGLEVEL
a property representing the log level : valid values are OFF, SEVERE, WARNING, INFO, FINE, FINER, FINEST.
|
static java.lang.String |
TESTDRIVER_PROPS
name of the properties file containing the various TestDriver properties.
|
static java.lang.String |
TRUSTSTORE_PASSWORD
property representing the truststore passsword required for authentication.
|
static java.lang.String |
TRUSTSTORE_PATH
property representing the truststore path required for authentication.
|
| Constructor and Description |
|---|
DriverProperties()
Construct a DriverProperties initialized from the testdriver.properties file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultProperty(java.lang.String _property)
Deprecated.
This method should no longer be used.
|
java.lang.String |
getProperty(java.lang.String key) |
int |
getProperty(java.lang.String key,
int def) |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String def) |
java.lang.String[] |
getPropertyAsArray(java.lang.String property) |
boolean |
getPropertyAsBoolean(java.lang.String key,
boolean def) |
void |
setDefaults()
Deprecated.
This method should no longer be used.
|
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value) |
list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuespublic static java.lang.String DEFAULT_HOSTNAME
public static java.lang.String DEFAULT_HTTPPORT_STRING
public static int DEFAULT_CONNECT_TIMEOUT
public static int DEFAULT_DEBUG_SERVERS_TIMEOUT
public static java.lang.String DEFAULT_MAX_QUEUE_SIZE
public static final java.lang.String SOLUTION_NAME
public static final java.lang.String RUNTIME_HOST_NAME
public static final java.lang.String HTTP_PORT
public static final java.lang.String ADMIN_USERNAME
public static final java.lang.String ADMIN_PASSWORD
public static final java.lang.String TRUSTSTORE_PASSWORD
public static final java.lang.String TRUSTSTORE_PATH
public static final java.lang.String SSL_PROTOCOL
public static final java.lang.String CONNECT_TIMEOUT
public static final java.lang.String DISABLE_SSL_HOSTNAME_VERIFICATION
public static final java.lang.String DEBUG_SERVERS
public static final java.lang.String DEBUG_SERVERS_TIMEOUT
public static final int DEBUG_SERVERS_TIMEOUT_DEFAULT
public static final java.lang.String DEBUG_AGENT_LIST
public static final java.lang.String DEBUG_AGENT_LIST_DEFAULT
public static final java.lang.String DEBUG_MAX_EVENTQUEUE_SIZE
public static final java.lang.String CONNECTION
public static final java.lang.String CONNECTION_GRID_CONNECTION
public static final java.lang.String CONNECTION_HTTPS
public static final java.lang.String CONNECTION_LOCAL
public static final java.lang.String CATALOG_SERVER_ENDPOINTS
public static final java.lang.String GRID_SECURITY_ENABLED
public static final java.lang.String GRID_USERNAME
public static final java.lang.String GRID_PASSWORD
public static final java.lang.String DEBUG_NOTE
public static final java.lang.String TESTDRIVER_PROPS
public static final java.lang.String TESTDRIVER_HOME
public static final java.lang.String TESTDRIVER_LOGLEVEL
public static final java.lang.String HTTP_TIMEOUT
public static final java.lang.String SUBMIT_EVENTS_RETRY_LIMIT
public static final int SUBMIT_EVENTS_RETRY_LIMIT_DEFAULT
public static final java.lang.String SUBMIT_EVENTS_RETRY_WAIT
public static final int SUBMIT_EVENTS_RETRY_WAIT_DEFAULT
public static final java.lang.String LOAD_ENTITIES_BATCH_SIZE
public static final int LOAD_ENTITIES_BATCH_SIZE_DEFAULT
public static final java.lang.String CONNECTION_FACTORY
public static final java.lang.String CONNECTION_FACTORY_DEFAULT
public static final java.lang.String BOM_PROJECT_PATH
public static final java.lang.String TEST_CLIENT_PROJECT_PATH
public static final java.lang.String TEST_CLIENT_PROJECT_PATH_DEFAULT
public static final java.lang.String ESA_PATH
public DriverProperties()
Construct a DriverProperties initialized from the testdriver.properties file.
The testdriver.properties file is located in the directory identified by the Java system property testdriver_home, if set. Otherwise the file is located in the current directory, identified by user.dir.
@Deprecated public void setDefaults()
@Deprecated public java.lang.String getDefaultProperty(java.lang.String _property)
public java.lang.Object setProperty(java.lang.String key,
java.lang.String value)
setProperty in class java.util.Propertiespublic java.lang.String getProperty(java.lang.String key)
getProperty in class java.util.Propertiespublic java.lang.String getProperty(java.lang.String key,
java.lang.String def)
getProperty in class java.util.Propertiespublic boolean getPropertyAsBoolean(java.lang.String key,
boolean def)
public java.lang.String[] getPropertyAsArray(java.lang.String property)
public int getProperty(java.lang.String key,
int def)
© Copyright IBM 2017