|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.visualizers.SamplingStatCalculator
public class SamplingStatCalculator
Aggegate sample data container. Just instantiate a new instance of this
class, and then call addSample(SampleResult)
a few times, and pull
the stats out with whatever methods you prefer.
Constructor Summary | |
---|---|
SamplingStatCalculator()
|
|
SamplingStatCalculator(String label)
|
Method Summary | |
---|---|
Sample |
addSample(SampleResult res)
Records a sample. |
void |
clear()
Clear the counters (useful for differential stats) |
double |
getAvgPageBytes()
calculates the average page size, which means divide the bytes by number of samples. |
double |
getBytesPerSecond()
Throughput in bytes / second |
long |
getCount()
|
Sample |
getCurrentSample()
|
Map<Number,Number[]> |
getDistribution()
|
long |
getElapsed()
Get the elapsed time for the samples |
long |
getErrorCount()
|
double |
getErrorPercentage()
Returns the raw double value of the percentage of samples with errors that were recorded. |
double |
getKBPerSecond()
Throughput in kilobytes / second |
String |
getLabel()
|
Number |
getMax()
|
double |
getMaxThroughput()
|
double |
getMean()
|
Number |
getMeanAsNumber()
|
Number |
getMedian()
|
Number |
getMin()
|
Number |
getPercentPoint(double percent)
|
Number |
getPercentPoint(float percent)
|
double |
getRate()
Returns the throughput associated to this sampler in requests per second. |
double |
getStandardDeviation()
|
String |
toString()
For debugging purposes, only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SamplingStatCalculator()
public SamplingStatCalculator(String label)
Method Detail |
---|
public void clear()
public Sample getCurrentSample()
public long getElapsed()
public double getRate()
public double getBytesPerSecond()
public double getKBPerSecond()
public double getAvgPageBytes()
public String getLabel()
public Sample addSample(SampleResult res)
public double getErrorPercentage()
public String toString()
toString
in class Object
public long getErrorCount()
public double getMaxThroughput()
public Map<Number,Number[]> getDistribution()
public Number getPercentPoint(double percent)
public long getCount()
public Number getMax()
public double getMean()
public Number getMeanAsNumber()
public Number getMedian()
public Number getMin()
public Number getPercentPoint(float percent)
public double getStandardDeviation()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |