DslHttpDefaults |
DslHttpDefaults.clientImpl(DslHttpSampler.HttpClientImpl clientImpl) |
Allows specifying which http client implementation to use by default for HTTP samplers.
|
DslHttpDefaults |
DslHttpDefaults.connectionsTtl(Duration ttl) |
Allows specifying the connections ttl (time-to-live) used to determine how much time a
connection can be kept open.
|
DslHttpDefaults |
DslHttpDefaults.connectionTimeout(Duration timeout) |
Allows to set the default maximum amount of time to wait for an HTTP connection to be
established.
|
DslHttpDefaults |
DslHttpDefaults.downloadEmbeddedResources() |
Allows enabling automatic download of HTML embedded resources (images, iframes, etc) by
default.
|
DslHttpDefaults |
DslHttpDefaults.downloadEmbeddedResources(boolean enable) |
|
DslHttpDefaults |
DslHttpDefaults.downloadEmbeddedResourcesMatching(String urlRegex) |
|
DslHttpDefaults |
DslHttpDefaults.downloadEmbeddedResourcesNotMatching(String urlRegex) |
|
DslHttpDefaults |
DslHttpDefaults.encoding(Charset encoding) |
Specifies the default charset to be used for encoding URLs and requests contents.
|
DslHttpDefaults |
DslHttpDefaults.followRedirects(boolean enable) |
Specifies if by default HTTP redirects should be automatically followed (a new request
automatically created) when detected, or not.
|
DslHttpDefaults |
DslHttpDefaults.host(String host) |
Specifies the default server host (domain) to be used in the HTTP samplers.
|
DslHttpDefaults |
DslHttpDefaults.path(String path) |
Specifies the default URL path to be used in the HTTP samplers.
|
DslHttpDefaults |
DslHttpDefaults.port(int port) |
Specifies the default port to be used in the HTTP samplers.
|
DslHttpDefaults |
DslHttpDefaults.protocol(String protocol) |
Specifies the default protocol (eg: HTTP, HTTPS) to be used in the HTTP samplers.
|
DslHttpDefaults |
DslHttpDefaults.proxy(String url) |
Allows specifying a proxy through which all http requests will be sent to their final
destination.
|
DslHttpDefaults |
DslHttpDefaults.proxy(String url,
String username,
String password) |
Same as proxy(String) but allowing also to specify proxy credentials.
|
DslHttpDefaults |
DslHttpDefaults.resetConnectionsBetweenIterations() |
Specifies to reset (drop and recreate) connections on each thread group iteration.
|
DslHttpDefaults |
DslHttpDefaults.resetConnectionsBetweenIterations(boolean enable) |
|
DslHttpDefaults |
DslHttpDefaults.responseTimeout(Duration timeout) |
Allows to set the maximum amount of time to wait for a response to an HTTP request.
|
DslHttpDefaults |
DslHttpDefaults.url(String url) |
Specifies the default URL for HTTP samplers.
|