|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SamplerCreator
Factory of sampler
| Method Summary | |
|---|---|
HTTPSamplerBase |
createAndPopulateSampler(HttpRequestHdr request,
Map<String,String> pageEncodings,
Map<String,String> formEncodings)
Default implementation calls: SamplerCreatorcreateSampler(HttpRequestHdr, Map, Map)
SamplerCreatorpopulateSampler(HTTPSamplerBase, HttpRequestHdr, Map, Map)
|
List<TestElement> |
createChildren(HTTPSamplerBase sampler,
SampleResult result)
Create sampler children. |
HTTPSamplerBase |
createSampler(HttpRequestHdr request,
Map<String,String> pageEncodings,
Map<String,String> formEncodings)
Create HTTPSamplerBase |
String[] |
getManagedContentTypes()
|
void |
populateSampler(HTTPSamplerBase sampler,
HttpRequestHdr request,
Map<String,String> pageEncodings,
Map<String,String> formEncodings)
Populate sampler from request |
void |
postProcessSampler(HTTPSamplerBase sampler,
SampleResult result)
Post process sampler Called after sampling |
| Method Detail |
|---|
String[] getManagedContentTypes()
HTTPSamplerBase createSampler(HttpRequestHdr request,
Map<String,String> pageEncodings,
Map<String,String> formEncodings)
request - HttpRequestHdrpageEncodings - Map of page encodingsformEncodings - Map of form encodings
HTTPSamplerBase
void populateSampler(HTTPSamplerBase sampler,
HttpRequestHdr request,
Map<String,String> pageEncodings,
Map<String,String> formEncodings)
throws Exception
sampler - HTTPSamplerBaserequest - HttpRequestHdrpageEncodings - Map of page encodingsformEncodings - Map of form encodings
Exception - when something fails
void postProcessSampler(HTTPSamplerBase sampler,
SampleResult result)
sampler - HTTPSamplerBaseresult - SampleResult
HTTPSamplerBase createAndPopulateSampler(HttpRequestHdr request,
Map<String,String> pageEncodings,
Map<String,String> formEncodings)
throws Exception
SamplerCreatorcreateSampler(HttpRequestHdr, Map, Map)SamplerCreatorpopulateSampler(HTTPSamplerBase, HttpRequestHdr, Map, Map)
request - HttpRequestHdrpageEncodings - Map of page encodingsformEncodings - Map of form encodings
HTTPSamplerBase
Exception - when something fails
List<TestElement> createChildren(HTTPSamplerBase sampler,
SampleResult result)
SamplerCreator.
Return empty list if nothing to create
sampler - HTTPSamplerBaseresult - SampleResult
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||