public class DurationAssertion
extends org.apache.jmeter.testelement.AbstractScopedAssertion
implements java.io.Serializable, org.apache.jmeter.assertions.Assertion
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DURATION_KEY
Key for storing assertion-information in the jmx-file.
|
| Constructor and Description |
|---|
DurationAssertion() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jmeter.assertions.AssertionResult |
getResult(org.apache.jmeter.samplers.SampleResult response)
Returns the result of the Assertion.
|
void |
setAllowedDuration(long duration)
Set duration
|
fetchScope, 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, traversePropertypublic static final java.lang.String DURATION_KEY
public org.apache.jmeter.assertions.AssertionResult getResult(org.apache.jmeter.samplers.SampleResult response)
getResult in interface org.apache.jmeter.assertions.Assertionpublic void setAllowedDuration(long duration)
duration - Duration in millisCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.