| Package | Description |
|---|---|
| us.abstracta.jmeter.javadsl | |
| us.abstracta.jmeter.javadsl.http |
| Modifier and Type | Method and Description |
|---|---|
static DslHttpSampler |
JmeterDsl.httpSampler(Function<DslJsr223PreProcessor.PreProcessorVars,String> urlSupplier)
Builds an HTTP Request sampler to sample HTTP requests with a dynamically calculated URL.
|
static DslHttpSampler |
JmeterDsl.httpSampler(String name,
Function<DslJsr223PreProcessor.PreProcessorVars,String> urlSupplier)
Same as
JmeterDsl.httpSampler(Function) but allowing to set a name to the HTTP Request sampler. |
| Modifier and Type | Method and Description |
|---|---|
DslHttpSampler |
DslHttpSampler.body(Function<DslJsr223PreProcessor.PreProcessorVars,String> bodySupplier)
Same as
DslHttpSampler.body(String) but allows using dynamically calculated HTTP request body. |
T |
DslBaseHttpSampler.header(String name,
Function<DslJsr223PreProcessor.PreProcessorVars,String> valueSupplier)
Same as
DslBaseHttpSampler.header(String, String) but allows using dynamically calculated HTTP header
value. |
DslHttpSampler |
DslHttpSampler.post(Function<DslJsr223PreProcessor.PreProcessorVars,String> bodySupplier,
org.apache.http.entity.ContentType contentType)
Same as
DslHttpSampler.post(String, ContentType) but allowing to use a dynamically calculated body. |
| Constructor and Description |
|---|
DslHttpSampler(String name,
Function<DslJsr223PreProcessor.PreProcessorVars,String> urlSupplier) |
Copyright © 2023. All rights reserved.