public class DurationAssertion extends AbstractScopedAssertion implements Serializable, Assertion
| Modifier and Type | Field and Description |
|---|---|
static String |
DURATION_KEY
Key for storing assertion-information in the jmx-file.
|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
DurationAssertion() |
| Modifier and Type | Method and Description |
|---|---|
AssertionResult |
getResult(SampleResult response)
Returns the result of the Assertion.
|
void |
setAllowedDuration(long duration)
Set duration
|
getScopeNamefetchScope, getSampleList, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariableaddPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, 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, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitremovedpublic static final String DURATION_KEY
public AssertionResult getResult(SampleResult response)
public void setAllowedDuration(long duration)
duration - Duration in millisCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.