Apache JMeter

org.apache.jmeter.samplers
Class StatisticalSampleResult

java.lang.Object
  extended byorg.apache.jmeter.samplers.SampleResult
      extended byorg.apache.jmeter.samplers.StatisticalSampleResult
All Implemented Interfaces:
Serializable

public class StatisticalSampleResult
extends SampleResult
implements Serializable

Author:
Lars Krog-Jensen Created: 2005-okt-04
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jmeter.samplers.SampleResult
BINARY, TEXT
 
Constructor Summary
StatisticalSampleResult()
           
StatisticalSampleResult(SampleResult res)
           
 
Method Summary
 void add(SampleResult res)
           
 int getErrorCount()
           
static String getKey(SampleEvent event)
           
 long getTime()
          Get the time it took this sample to occur.
 long getTimeStamp()
          Get the sample timestamp, which may be either the start time or the end time.
 
Methods inherited from class org.apache.jmeter.samplers.SampleResult
addAssertionResult, addSubResult, configure, createTestSample, createTestSample, getAssertionResults, getBytes, getContentType, getDataEncoding, getDataType, getEndTime, getIdleTime, getLatency, getMediaType, getParent, getRequestHeaders, getResponseCode, getResponseData, getResponseDataAsBA, getResponseDataAsString, getResponseHeaders, getResponseMessage, getResultFileName, getSampleCount, getSampleLabel, getSamplerData, getSaveConfig, getStartTime, getSubResults, getThreadName, getURL, getUrlAsString, isMarked, isMonitor, isResponseCodeOK, isStampedAtStart, isStopTest, isStopThread, isSuccessful, latencyEnd, sampleEnd, samplePause, sampleResume, sampleStart, setBytes, setContentType, setDataEncoding, setDataType, setEncodingAndType, setEndTime, setLatency, setMarked, setMonitor, setParent, setRequestHeaders, setResponseCode, setResponseCodeOK, setResponseData, setResponseData, setResponseHeaders, setResponseMessage, setResponseMessageOK, setResultFileName, setSampleCount, setSampleLabel, setSamplerData, setSaveConfig, setStampAndTime, setStartTime, setStopTest, setStopThread, setSuccessful, setThreadName, setTime, setTimeStamp, setURL, storeSubResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatisticalSampleResult

public StatisticalSampleResult()

StatisticalSampleResult

public StatisticalSampleResult(SampleResult res)
Method Detail

add

public void add(SampleResult res)

getTime

public long getTime()
Description copied from class: SampleResult
Get the time it took this sample to occur.

Overrides:
getTime in class SampleResult
Returns:
elapsed time in milliseonds

getTimeStamp

public long getTimeStamp()
Description copied from class: SampleResult
Get the sample timestamp, which may be either the start time or the end time.

Overrides:
getTimeStamp in class SampleResult
Returns:
timeStamp in milliseconds
See Also:
SampleResult.getStartTime(), SampleResult.getEndTime()

getErrorCount

public int getErrorCount()

getKey

public static String getKey(SampleEvent event)

Apache JMeter

Copyright © 1998-2007 Apache Software Foundation. All Rights Reserved.