public class BeanShellAssertion extends BeanShellTestElement implements Assertion
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILENAME |
static java.lang.String |
INIT_FILE |
static java.lang.String |
PARAMETERS |
static java.lang.String |
RESET_INTERPRETER |
static java.lang.String |
SCRIPT |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
BeanShellAssertion() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilename() |
protected java.lang.String |
getInitFileProperty() |
java.lang.String |
getParameters() |
AssertionResult |
getResult(SampleResult response)
Returns the AssertionResult object encapsulating information about the
success or failure of the assertion.
|
java.lang.String |
getScript()
Return the script (TestBean version).
|
boolean |
isResetInterpreter() |
clone, getBeanShellInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
removed
public static final java.lang.String FILENAME
public static final java.lang.String SCRIPT
public static final java.lang.String PARAMETERS
public static final java.lang.String RESET_INTERPRETER
public static final java.lang.String INIT_FILE
protected java.lang.String getInitFileProperty()
getInitFileProperty
in class BeanShellTestElement
public java.lang.String getScript()
BeanShellTestElement
getScript
in class BeanShellTestElement
public java.lang.String getFilename()
getFilename
in class BeanShellTestElement
public java.lang.String getParameters()
getParameters
in class BeanShellTestElement
public boolean isResetInterpreter()
isResetInterpreter
in class BeanShellTestElement
public AssertionResult getResult(SampleResult response)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.