|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IKInitializeFinalize
The IKInitializeFinalize
interface provides a way for protocols
to specify to the RPT Engine code to be executed:
. once by the RPT Engine at startup . once by the RPT Engine at shutdown . once by each RPT Engine Worker thread at startup . once by each RPT Engine Worker thread at shutdown
This startup and shutdown code should be used when it is necessary to have some initialization or shutdown code executed by the engine or each worker thread before test execution occurs, or after test execution finishes.
To take advantage of this functionality, a protocol should modify its plugin.xml,
specifying a dependency on com.ibm.rational.test.lt.execution
. Next,
use Add under plugin Extensions to specify an extension for
com.ibm.rational.test.lt.execution.InitializeFinalize
.
Create a new extension element called InitializeFinalize. This element should have the following properties:
class - the class name that implements IKInitializeFinalize id - the protocol feature id dependsOn - currently leave blank
For example:
class="com.ibm.rational.test.lt.execution.http.impl.HTTPInitializeFinalize id="com.ibm.rational.test.lt.feature.http" dependsOn=
Method Summary | |
---|---|
void |
finalizeEngine()
RPT Engine finalize code. |
void |
finalizeWorker()
RPT Engine Worker thread finalize code. |
void |
initializeEngine()
RPT Engine initialize code. |
void |
initializeWorker()
RPT Engine Worker thread initialize code. |
Method Detail |
---|
void initializeEngine()
void finalizeEngine()
void initializeWorker()
void finalizeWorker()
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |