|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.visualizers.backend.AbstractBackendListenerClient
org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient
public class GraphiteBackendListenerClient
Graphite based Listener using Pickle Protocol
| Constructor Summary | |
|---|---|
GraphiteBackendListenerClient()
|
|
| Method Summary | |
|---|---|
Arguments |
getDefaultParameters()
Provide a list of parameters which this test supports. |
String |
getSamplersList()
|
void |
handleSampleResults(List<SampleResult> sampleResults,
BackendListenerContext context)
Handle sampleResults, this can be done in many ways: Write to a file Write to a distant server ... |
void |
run()
|
protected void |
sendMetrics()
Send metrics to Graphite |
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. |
| Methods inherited from class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient |
|---|
createSampleResult, getLogger, getMetricsPerSampler, getSamplerMetric, getUserMetrics |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphiteBackendListenerClient()
| Method Detail |
|---|
public void run()
run in interface Runnableprotected void sendMetrics()
public String getSamplersList()
public void setSamplersList(String samplersList)
samplersList - the samplersList to set
public void handleSampleResults(List<SampleResult> sampleResults,
BackendListenerContext context)
BackendListenerClient
handleSampleResults in interface BackendListenerClientsampleResults - List of SampleResultcontext - the context to run with. This provides access to
initialization parameters.
public void setupTest(BackendListenerContext context)
throws Exception
BackendListenerClient
setupTest in interface BackendListenerClientsetupTest in class AbstractBackendListenerClientcontext - the context to run with. This provides access to
initialization parameters.
Context is readonly
Exception - when setup fails
public void teardownTest(BackendListenerContext context)
throws Exception
BackendListenerClient
teardownTest in interface BackendListenerClientteardownTest in class AbstractBackendListenerClientcontext - the context to run with. This provides access to
initialization parameters.
Exception - when tear down failspublic Arguments getDefaultParameters()
BackendListenerClient
getDefaultParameters in interface BackendListenerClientgetDefaultParameters in class AbstractBackendListenerClient
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||