public class NormalEnd extends TestNode
<Node name="byeNode" desc="Ending the Test" type="com.itko.lisa.test.NormalEnd" log="We be done with the test." />
TestNode.ASSERT_FILTER_TYPE, TestNode.FILTER_RUN_TYPE
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
cat |
copyrightNotice, DEF_SYS_THINK_SPEC, DEF_THINK_SPEC, DOC_TAG, docs, elseNode, EXTRAS_TAG, GRAPH_X_TAG, GRAPH_Y_TAG, log, name, NUM_ASSERTS_WARNING_THRESHOLD, NUM_FILTERS_WARNING_THRESHOLD, ordinal, quiet, REMOTE_SERVER_TAG, remoteServer, stepLogger, test, thinkSpec, type, useFilters, version
Constructor and Description |
---|
NormalEnd() |
Modifier and Type | Method and Description |
---|---|
void |
execute(TestExec ts)
This is the method called by TestNode when all pre-processing related
to node execution is complete and LISA is prepared for the custom
node logic to be performed.
|
java.lang.String |
getTypeName()
So editors have something to display
|
void |
initialize(TestCase test,
org.w3c.dom.Element node)
This method is called during the construction of a TestNode.
|
boolean |
isEndNode()
Seldom will extensions need this, but node types that are in fact used to stop running the
model need to identify themselves.
|
boolean |
isQuietTheDefault()
For backward compatibility, we need to have nodes tell us if they should be quiet or not as a
default.
|
void |
writeSubXML(java.io.PrintWriter pw)
Most models will want to override this method so that you can provide programmatic model
creation support.
|
calcThinkTimeFromSpec, canDeployToCS, canDeployToVSE, clone, compensateForLastResponseTime, destroy, determineThinkTimeDelay, executeNode, exportAssets, generateDeterministicURL, generateName, getAssertions, getCheckResults, getDataSets, getDocumentation, getElseNode, getExtraInfo, getFilters, getFiltersAsList, getGraphX, getGraphY, getLog, getName, getOrdinal, getPK, getRandLists, getRemoteServer, getStepTypeForXML, getTest, getTestCaseName, getThink, getType, getUid, getVersion, isGeneratedName, isNodeEndType, isNodeFailType, isQuiet, isRestrictedForCreateAndCopyPasteInLISA, isUsingFilters, loadNodes, makeTestNode, nodeFactory, prepare, processHit, processThinkTime, raiseNodeFailedEvent, raiseNodeFailedEvent, reconstituteResponse, savePortableAsset, setDocumentation, setElseNode, setElseNode, setExtraInfo, setGraphX, setGraphY, setLog, setName, setQuiet, setRemoteServer, setTest, setThink, setUid, setUsingFilters, setVersion, toString, updateAssetURL, writeBaseXML, writeFinalXML, writeXML
public boolean isQuietTheDefault()
TestNode
isQuietTheDefault
in class TestNode
public boolean isEndNode()
TestNode
public java.lang.String getTypeName()
public void execute(TestExec ts)
TestNode
State Management
State is a big thing -- that's the dynamic data part of the test. You get access to all of LISA's properties in this test via calls in TestExec, like TestExec.getStateValue(). You can also save state as a side affect of execution with TestExec.setStateValue(). When you need your TestNode to convert strings with {{ notation into their current value, use TestExec.parseInState(). Are you seeing how important TestExec is?execute
in class TestNode
TestExec
,
TestExec.raiseEvent(int, String, String)
,
TestExec.setLastResponse(Object)
public void initialize(TestCase test, org.w3c.dom.Element node) throws TestDefException
TestNode
initialize
in class TestNode
TestDefException
TestNode.prepare(TestCase)
public void writeSubXML(java.io.PrintWriter pw)
TestNode
writeSubXML
in class TestNode
pw
- the stream we are writing toCopyright © 1998-2014 CA, Inc. All Rights Reserved.