| Package | Description |
|---|---|
| us.abstracta.jmeter.javadsl | |
| us.abstracta.jmeter.javadsl.core.listeners |
| Modifier and Type | Method and Description |
|---|---|
static JtlWriter |
JmeterDsl.jtlWriter(String directory)
Builds a Simple Data Writer to write all collected results to a JTL file.
|
static JtlWriter |
JmeterDsl.jtlWriter(String directory,
String fileName)
Builds a Simple Data Writer to write all collected results to a JTL file.
|
| Modifier and Type | Method and Description |
|---|---|
JtlWriter |
JtlWriter.logOnly(JtlWriter.SampleStatus status)
Allows filtering which sample results to log according to their status.
|
JtlWriter |
JtlWriter.saveAsXml(boolean enabled)
Allows specifying to use XML or CSV format for saving JTL.
|
JtlWriter |
JtlWriter.withActiveThreadCounts(boolean enabled)
Allows setting whether or not to include active thread counts (basically, number of concurrent
requests, both in the sample thread group, and in all thread groups) fields in generated JTL.
|
JtlWriter |
JtlWriter.withAllFields()
Allows setting to include all fields in XML format.
|
JtlWriter |
JtlWriter.withAllFields(boolean enabled)
Allows setting if all or none fields are enabled when saving the JTL.
|
JtlWriter |
JtlWriter.withAssertionFailureMessage(boolean enabled)
Allows setting whether or not to include assertion failure message field in generated JTL.
|
JtlWriter |
JtlWriter.withAssertionResults(boolean enabled)
Allows setting whether or not to include assertion results (with name, success field, and
potential error message) info in generated JTL.
|
JtlWriter |
JtlWriter.withConnectTime(boolean enabled)
Allows setting whether or not to include connect time (milliseconds between the sample started
and connection is established to service to start sending request) field in generated JTL.
|
JtlWriter |
JtlWriter.withDataType(boolean enabled)
Allows setting whether or not to include response data type (i.e.: binary or text) field in
generated JTL.
|
JtlWriter |
JtlWriter.withElapsedTime(boolean enabled)
Allows setting whether or not to include elapsed time (milliseconds spent in each sample) in
generated JTL.
|
JtlWriter |
JtlWriter.withEncoding(boolean enabled)
Allows setting whether or not to include the response encoding (eg: UTF-8, ISO-8859-1, etc.)
field in generated JTL.
|
JtlWriter |
JtlWriter.withFieldNames(boolean enabled)
Allows setting whether or not to include assertion results (with name, success field, and
potential error message) info in generated JTL.
|
JtlWriter |
JtlWriter.withHostname(boolean enabled)
Allows setting whether or not to include host name (name of host that did the sample) field in
generated JTL.
|
JtlWriter |
JtlWriter.withIdleTime(boolean enabled)
Allows setting whether or not to include the Idle time (milliseconds spent in JMeter
processing, but not sampling, generally 0) field in generated JTL.
|
JtlWriter |
JtlWriter.withLabel(boolean enabled)
Allows setting whether or not to include sample label (i.e.: name of the request) field in
generated JTL.
|
JtlWriter |
JtlWriter.withLatency(boolean enabled)
Allows setting whether or not to include latency time (milliseconds between the sample started
and first byte of response is received) field in generated JTL.
|
JtlWriter |
JtlWriter.withReceivedByteCount(boolean enabled)
Allows setting whether or not to include received bytes count (number of bytes sent by server
in the response) field in generated JTL.
|
JtlWriter |
JtlWriter.withRequestHeaders(boolean enabled)
Allows setting whether or not to include request headers (eg: HTTP headers like User-Agent and
the like) field in generated JTL.
|
JtlWriter |
JtlWriter.withResponseCode(boolean enabled)
Allows setting whether or not to include response codes (e.g.: 200) field in generated JTL.
|
JtlWriter |
JtlWriter.withResponseData(boolean enabled)
Allows setting whether or not to include response body field in generated JTL.
|
JtlWriter |
JtlWriter.withResponseFilename(boolean enabled)
Allows setting whether or not to include response file name (name of file stored by
ResponseFileSaver) field in generated JTL. |
JtlWriter |
JtlWriter.withResponseHeaders(boolean enabled)
Allows setting whether or not to include response headers (eg: HTTP headers like Content-Type
and the like) field in generated JTL.
|
JtlWriter |
JtlWriter.withResponseMessage(boolean enabled)
Allows setting whether or not to include response message (eg: "OK" for HTTP 200 status code)
in generated JTL.
|
JtlWriter |
JtlWriter.withSampleAndErrorCounts(boolean enabled)
Allows setting whether or not to include sample counts (total and error counts) fields in
generated JTL.
|
JtlWriter |
JtlWriter.withSamplerData(boolean enabled)
Allows setting whether or not to include sampler data (like cookies, HTTP method, request body
and redirection URL) entries in generated JTL.
|
JtlWriter |
JtlWriter.withSentByteCount(boolean enabled)
Allows setting whether or not to include sent bytes count (number of bytes sent to server by
request) field in generated JTL.
|
JtlWriter |
JtlWriter.withSubResults(boolean enabled)
Allows setting whether or not to include sub results (like redirects) entries in generated
JTL.
|
JtlWriter |
JtlWriter.withSuccess(boolean enabled)
Allows setting whether or not to include success (a boolean indicating if request was success
or not) field in generated JTL.
|
JtlWriter |
JtlWriter.withThreadName(boolean enabled)
Allows setting whether or not to include thread name field in generated JTL.
|
JtlWriter |
JtlWriter.withTimeStamp(boolean enabled)
Allows setting whether or not to include timestamp (epoch when the sample started) field in
generated JTL.
|
JtlWriter |
JtlWriter.withUrl(boolean enabled)
Allows setting whether or not to include url field in generated JTL.
|
JtlWriter |
JtlWriter.withVariables(String... variables)
Allows specifying JMeter variables to include in generated jtl file.
|
Copyright © 2024. All rights reserved.