@AutoService(value=BackendListenerClient.class) public class InfluxdbBackendListenerClient extends AbstractBackendListenerClient implements Runnable
AbstractBackendListenerClient to write to InfluxDB
using a custom schema; since JMeter 5.2, this also support the InfluxDB v2.| Constructor and Description |
|---|
InfluxdbBackendListenerClient() |
| Modifier and Type | Method and Description |
|---|---|
Arguments |
getDefaultParameters()
Provide a list of parameters which this test supports.
|
String |
getSamplersRegex() |
void |
handleSampleResults(List<SampleResult> sampleResults,
BackendListenerContext context)
Handle sampleResults, this can be done in many ways:
Write to a file
Write to a remote server
...
|
void |
run() |
void |
setSamplersList(String samplersList) |
void |
setupTest(BackendListenerContext context)
Do any initialization required by this client.
|
void |
teardownTest(BackendListenerContext context)
Do any clean-up required at the end of a test run.
|
getMetricsPerSampler, getNewLogger, getSamplerMetric, getUserMetricsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSampleResultpublic String getSamplersRegex()
public void setSamplersList(String samplersList)
samplersList - the samplersList to setpublic void handleSampleResults(List<SampleResult> sampleResults, BackendListenerContext context)
BackendListenerClienthandleSampleResults in interface BackendListenerClientsampleResults - List of SampleResultcontext - provides access to initialization parameters.public void setupTest(BackendListenerContext context) throws Exception
BackendListenerClientBackendListenerClient.handleSampleResults(List, BackendListenerContext)
in order to add as little overhead as possible to the test.setupTest in interface BackendListenerClientsetupTest in class AbstractBackendListenerClientcontext - provides access to initialization parameters.Exception - when setup failspublic void teardownTest(BackendListenerContext context) throws Exception
BackendListenerClientteardownTest in interface BackendListenerClientteardownTest in class AbstractBackendListenerClientcontext - provides access to initialization parameters.Exception - when tear down failspublic Arguments getDefaultParameters()
BackendListenerClientgetDefaultParameters in interface BackendListenerClientgetDefaultParameters in class AbstractBackendListenerClientCopyright © 1998-2023 Apache Software Foundation. All Rights Reserved.