Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
com.griddynamics.jagger.user.test.configurations.JTestDefinition.Builder Class Reference

Public Member Functions

Builder addListener (Provider< InvocationListener > listener)
 Optional: Adds a subtype instance of com.griddynamics.jagger.engine.e1.Provider<InvocationListener> IMPORTANT: listener code will be executed during every invocation = every request to SUT
Try to avoid slow operations in invocation listener code. More...
 
Builder addListeners (List< Provider< InvocationListener >> listeners)
 Optional: Adds instances of subtypes of com.griddynamics.jagger.engine.e1.Provider<InvocationListener> IMPORTANT: listener code will be executed during every invocation = every request to SUT
Try to avoid slow operations in invocation listener code. More...
 
Builder addValidator (ResponseValidatorProvider validator)
 Optional: Adds a subtype of com.griddynamics.jagger.engine.e1.collector.ResponseValidatorProvider Instances of those subtypes will be used to validate responses during Jagger test execution
Example: More...
 
Builder addValidators (List< ResponseValidatorProvider > validators)
 Optional: Adds a list of subtypes of com.griddynamics.jagger.engine.e1.collector.ResponseValidatorProvider Instances of those subtypes will be used to validate responses during Jagger test execution
Example: More...
 
JTestDefinition build ()
 Creates the object of JTestDefinition type with custom parameters. More...
 
Builder withComment (String comment)
 Optional: Sets human readable comment for the test definition. More...
 
Builder withInvoker (Provider< Invoker > invoker)
 Optional: Sets subtypes of com.griddynamics.jagger.invoker.Invoker. More...
 
Builder withLoadBalancer (QueryPoolLoadBalancer loadBalancer)
 Optional: Sets load balancer aka distributor (how to pair endpoints and queries) (subtypes of QueryPoolLoadBalancer). More...
 
Builder withQueryProvider (Iterable queryProvider)
 Optional: Sets queries (what load will be applied during performance test) for the tests using this test prototype. More...
 

Detailed Description

Definition at line 75 of file JTestDefinition.java.


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