Compare invocation result with calibration result. More...
Public Member Functions | |
ConsistencyValidator (String taskId, NodeContext kernelContext, String sessionId, Equivalence< Q > queryEquivalence, Equivalence< E > endpointEquivalence, Equivalence< R > resultEquivalence) | |
String | getName () |
Returns the name of validator. More... | |
boolean | validate (Q query, E endpoint, R result, long duration) |
Returns true if invocation result equals calibration result. More... | |
Public Member Functions inherited from com.griddynamics.jagger.engine.e1.collector.ResponseValidator< Q, E, R > | |
ResponseValidator (String taskId, String sessionId, NodeContext kernelContext) | |
Default constructor for validators. More... | |
Protected Member Functions | |
Collection< CalibrationInfo< Q, E, R > > | getExpected () |
Compare invocation result with calibration result.
To use this validator you should set attribute of test-description calibration to true value. It means when Jagger launch test it takes all pairs(of queries and endpoints) and creates an invocations with this pairs. The results will be stored as calibration info. This describes how SuT behave without high load. All invocations of tests will be compared with results from calibration info.
<Q> | - Query type |
<R> | - Result type |
<E> | - Endpoint type |