public class ElasticSearchMetric extends Object
| Constructor and Description |
|---|
ElasticSearchMetric(org.apache.jmeter.samplers.SampleResult sr,
String testMode,
String timeStamp,
int buildNumber,
boolean parseReqHeaders,
boolean parseResHeaders) |
ElasticSearchMetric(String pointName,
JMPoint sr,
String testMode,
String timeStamp,
int buildNumber,
boolean parseReqHeaders,
boolean parseResHeaders) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAggregatedMetric(org.apache.jmeter.visualizers.backend.BackendListenerContext context) |
protected Date |
getElapsedTime(boolean forBuildComparison)
This method is meant to return the elapsed time in a human readable format.
|
Map<String,Object> |
getMetric(org.apache.jmeter.visualizers.backend.BackendListenerContext context)
This method returns the current metric as a Map(String, Object) for the provided sampleResult
|
public ElasticSearchMetric(org.apache.jmeter.samplers.SampleResult sr,
String testMode,
String timeStamp,
int buildNumber,
boolean parseReqHeaders,
boolean parseResHeaders)
public Map<String,Object> getMetric(org.apache.jmeter.visualizers.backend.BackendListenerContext context) throws Exception
context - BackendListenerContextExceptionpublic Map<String,Object> getAggregatedMetric(org.apache.jmeter.visualizers.backend.BackendListenerContext context) throws Exception
Exceptionprotected Date getElapsedTime(boolean forBuildComparison)
forBuildComparison - boolean to determine if there is CI (continuous integration) or notCopyright © 2019. All rights reserved.