|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@MBeanRequiredCustomSecurityGroups(value={"FUSION_APPS_CRM_DIAGNOSTICS_APPID","FUSION_APPS_FSCM_DIAGNOSTICS_APPID","FUSION_APPS_HCM_DIAGNOSTICS_APPID"}) public interface DiagnosticsTestFrameworkMXBean
JMX API MXBean Interface. This interface is intended for consuming code which is
running outside of the WLS container, otherwise the DiagnosticsTestFramework
Java API
should be used.
Method Summary | |
---|---|
java.lang.String |
getDiagnosticStatusByRunId(java.lang.String runId)
Get the diagnostic status of a test run given its id |
java.lang.String |
getDiagnosticStatusByRunName(java.lang.String runName)
Get the diagnostic status of a test run given its name |
java.lang.String |
getExecutionStatusByRunId(java.lang.String runId)
Get the execution status of a test run given its id |
java.lang.String |
getExecutionStatusByRunName(java.lang.String runName)
Get the execution status of a test run given its name |
java.util.Map<java.lang.String,java.lang.String[]> |
getInputParameters(java.lang.String testName)
get input parameters of a given test. |
java.lang.String |
getODFDashboardURL()
Gets the URL to the Diagnostics Dashboard UI application. |
java.lang.String |
getTestRunReportURL(java.lang.String runId)
Gets the URL to the Run report for the given run ID. |
TestRunStatusSummary[] |
getTestRunStatusesByRunName(java.lang.String runName)
Get an array of test status summary for the matched test runs givn the run name |
java.lang.Boolean |
isTestRunnable(java.lang.String testName)
Check if a test can be run. |
java.util.Map<java.lang.String,java.lang.String[]> |
queryListofTestDef()
get list of diagnostic tests. |
java.lang.String |
run(java.lang.String[] testNames,
java.lang.String[] products,
java.lang.String[] moduleIds,
java.lang.String[] moduleKeys,
java.lang.String[] tagNames,
java.lang.String[] tagValues,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by test names, product, module id, module key, and/or tag name/value pair (one of those must not be null) with the given settings. |
java.lang.String |
runByModuleId(java.lang.String[] moduleIds,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the module id with the given settings. |
java.lang.String |
runByModuleKey(java.lang.String[] moduleKeys,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the module key with the given settings. |
java.lang.String |
runByProduct(java.lang.String[] products,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the product with the given settings. |
java.lang.String |
runByTag(java.lang.String[] tagNames,
java.lang.String[] tagValues,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the tag name/value pair with the given settings. |
java.util.Map<java.lang.String,java.lang.String[]> |
runByTestName(java.lang.String[] testNames,
java.lang.Boolean runPrereq,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.String ADR_Home,
java.lang.String incidentID)
Run tests specified by test names with the given settings and copy the reports to the managed server's ADR location." |
java.lang.String |
runByTestName(java.lang.String[] testNames,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the test names with the given settings. |
Method Detail |
---|
java.util.Map<java.lang.String,java.lang.String[]> queryListofTestDef()
java.lang.RuntimeException
- if testNames is null or empty or if error occursjava.util.Map<java.lang.String,java.lang.String[]> getInputParameters(java.lang.String testName)
testName
- Name of the test to be checked,
must not be null or empty.
java.lang.RuntimeException
- if testNames is null or empty or if error occursjava.lang.Boolean isTestRunnable(java.lang.String testName)
testName
- Name of the test to be checked,
must not be null or empty.
java.lang.RuntimeException
- if testNames is null or empty or if error occursjava.util.Map<java.lang.String,java.lang.String[]> runByTestName(java.lang.String[] testNames, java.lang.Boolean runPrereq, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.String ADR_Home, java.lang.String incidentID)
testNames
- List of one or more names of the tests to run,
must not be null or empty.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEinputParams
- For each test, a set of parameter values can be fed. Can be null.ADR_Home
- used to construct the ADR location to where the reports will be written.incidentID
- used to construct the ADR location to where the reports will be written.
java.lang.RuntimeException
- if testNames is null or empty or if error occursjava.lang.String runByTestName(java.lang.String[] testNames, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
testNames
- List of one or more names of the tests to run,
must not be null or empty.runName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
java.lang.RuntimeException
- if testNames is null or empty or if error occursjava.lang.String runByProduct(java.lang.String[] products, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
products
- List of products whose associated tests to run,
must not be null or empty.runName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
java.lang.RuntimeException
- if product is null or empty or if error occurs during test executionjava.lang.String runByModuleId(java.lang.String[] moduleIds, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
moduleIds
- List of module ids whose associated tests to run,
must not be null or empty.runName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
java.lang.RuntimeException
- if moduleId is null or invalid or if error occurs during test executionjava.lang.String runByModuleKey(java.lang.String[] moduleKeys, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
moduleKeys
- List of module keys whose associated tests to run,
must not be null or empty.runName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
java.lang.RuntimeException
- if moduleKey is null or if error occurs during test executionjava.lang.String runByTag(java.lang.String[] tagNames, java.lang.String[] tagValues, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
tagNames
- List of tag names whose associated tests to run,
must not be null or empty.
The size of tagNames must be equal to that of tagValuestagValues
- List of tag value whose associated tests to run,
must not be null or empty.
The size of tagNames must be equal to that of tagValuesrunName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
java.lang.RuntimeException
- if tagName or tagValue is null or if error occurs during test executionjava.lang.String run(java.lang.String[] testNames, java.lang.String[] products, java.lang.String[] moduleIds, java.lang.String[] moduleKeys, java.lang.String[] tagNames, java.lang.String[] tagValues, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
testNames
- List of one or more names of the tests to run.products
- List of products whose associated tests to run.moduleIds
- List of module ids whose associated tests to run.moduleKeys
- List of module keys whose associated tests to run.tagNames
- List of tag names whose associated tests to run.
The size of tagNames must be equal to that of tagValuestagValues
- List of tag values whose associated tests to run.
The size of tagNames must be equal to that of tagValuesrunName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
java.lang.RuntimeException
- if all of the test-specifying parameters {testNames, product,
moduleId, moduleKey, tagName/Value} are null or invalid,
or if the run name is already used,
or if the monitor interval is less than 0 or greater than 1 day
or if the number of threads is less than 0 or greater than 100
or if error occurs during test executionjava.lang.String getDiagnosticStatusByRunId(java.lang.String runId)
runId
-
java.lang.String getDiagnosticStatusByRunName(java.lang.String runName)
runName
-
TestRunStatusSummary[] getTestRunStatusesByRunName(java.lang.String runName)
runName
- Can contain one or more wild cards(i.e. %)
TestRunStatusSummary
. If no matches are found, it returns an empty arrayjava.lang.String getExecutionStatusByRunId(java.lang.String runId)
runId
-
java.lang.String getExecutionStatusByRunName(java.lang.String runName)
runName
-
java.lang.String getTestRunReportURL(java.lang.String runId)
runId
- Run ID for which to get the run report URL.
DiagfwkException
- when it is not able to construct the URL
eventhough the runId is valid. This might happen in case the
DIAGNOSTICS_DASHBOARD_URL profile option is not set or set to an invalid
value.java.lang.String getODFDashboardURL()
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |