|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.testelement.AbstractScopedAssertion
org.apache.jmeter.assertions.DurationAssertion
public class DurationAssertion
Checks if an Sample is sampled within a specified time-frame. If the duration is larger than the timeframe the Assertion is considered a failure.
| Field Summary | |
|---|---|
static java.lang.String |
DURATION_KEY
Key for storing assertion-informations in the jmx-file. |
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
|---|---|
DurationAssertion()
|
|
| Method Summary | |
|---|---|
AssertionResult |
getResult(SampleResult response)
Returns the result of the Assertion. |
| Methods inherited from class org.apache.jmeter.testelement.AbstractScopedAssertion |
|---|
fetchScope, isScopeAll, isScopeChildren, isScopeParent, setScopeAll, setScopeChildren, setScopeParent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DURATION_KEY
| Constructor Detail |
|---|
public DurationAssertion()
| Method Detail |
|---|
public AssertionResult getResult(SampleResult response)
getResult in interface Assertionresponse - the SampleResult containing information about the Sample
(duration, success, etc)
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||