Class AbstractSamplerCreator
-
- All Implemented Interfaces:
-
org.apache.jmeter.protocol.http.proxy.SamplerCreator
public abstract class AbstractSamplerCreator implements SamplerCreator
Base class for SamplerCreator
-
-
Method Summary
Modifier and Type Method Description voidsetCounter(int value)Set the counter for this implementation. voidpostProcessSampler(HTTPSamplerBase sampler, SampleResult result)HTTPSamplerBasecreateAndPopulateSampler(HttpRequestHdr request, Map<String, String> pageEncodings, Map<String, String> formEncodings)List<TestElement>createChildren(HTTPSamplerBase sampler, SampleResult result)Default implementation returns an empty list -
-
Method Detail
-
setCounter
void setCounter(int value)
Set the counter for this implementation. The counter should be incremented before creating a new sampler by the implementation.
- Parameters:
value- to be used
-
postProcessSampler
void postProcessSampler(HTTPSamplerBase sampler, SampleResult result)
-
createAndPopulateSampler
HTTPSamplerBase createAndPopulateSampler(HttpRequestHdr request, Map<String, String> pageEncodings, Map<String, String> formEncodings)
-
createChildren
List<TestElement> createChildren(HTTPSamplerBase sampler, SampleResult result)
Default implementation returns an empty list
-
-
-
-