Serializable, Cloneable, Assertion, Searchable, TestElement, TestStateListener, ThreadListenerpublic class BeanShellAssertion extends BeanShellTestElement implements Assertion
| Modifier and Type | Field | Description |
|---|---|---|
static String |
FILENAME |
|
static String |
INIT_FILE |
|
static String |
PARAMETERS |
|
static String |
RESET_INTERPRETER |
|
static String |
SCRIPT |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor | Description |
|---|---|
BeanShellAssertion() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getFilename() |
|
protected String |
getInitFileProperty() |
|
String |
getParameters() |
|
AssertionResult |
getResult(SampleResult response) |
Returns the AssertionResult object encapsulating information about the
success or failure of the assertion.
|
String |
getScript() |
Return the script (TestBean version).
|
boolean |
isResetInterpreter() |
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, traversePropertyclone, getBeanShellInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStartedpublic static final String FILENAME
public static final String SCRIPT
public static final String PARAMETERS
public static final String RESET_INTERPRETER
public static final String INIT_FILE
protected String getInitFileProperty()
getInitFileProperty in class BeanShellTestElementpublic String getScript()
BeanShellTestElementgetScript in class BeanShellTestElementpublic String getFilename()
getFilename in class BeanShellTestElementpublic String getParameters()
getParameters in class BeanShellTestElementpublic boolean isResetInterpreter()
isResetInterpreter in class BeanShellTestElementpublic AssertionResult getResult(SampleResult response)
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.