Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Protected Member Functions | List of all members
com.griddynamics.jagger.engine.e1.collector.ConsistencyValidator< Q, E, R > Class Reference

Compare invocation result with calibration result. More...

Inheritance diagram for com.griddynamics.jagger.engine.e1.collector.ConsistencyValidator< Q, E, R >:
Inheritance graph
[legend]

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 ()
 

Detailed Description

Compare invocation result with calibration result.

Author
Dmitry Kotlyarov
Details:

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.

Parameters
<Q>- Query type
<R>- Result type
<E>- Endpoint type

The documentation for this class was generated from the following file: