|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DataSet extends Visualizer so that it can be used with ResultCollector. Classes implementing the interface should create a new instance of ResultCollector and call setListener(Visualizer) passing itself. When the ResultCollector.loadExistingFile is called, it will pass the SampleResults.
Method Summary | |
String |
getDataSource()
Return the datasource. |
String |
getDataSourceName()
In some cases, we may want to return a string that isn't the full datasource string or something different. |
Date |
getDate()
Return the Date object using the start timestamp |
long |
getEndTimestamp()
return the timestamp in millisecond format. |
String |
getMonthDayDate()
convienance method for getting the date in mmdd format |
String |
getMonthDayYearDate()
convienant method for getting the date in yyyymmdd format |
long |
getStartTimestamp()
return the timestamp in millisecond format. |
SamplingStatCalculator |
getStatistics(String url)
Return the SamplingStatCalculator for a specific URL. |
Set |
getStats()
Classes implementing the method should return instance of SamplingStatCalculator. |
List |
getStats(List urls)
Convienance method for getting all the SamplingStatCalculators for a given URL. |
Set |
getURLs()
Classes implementing the method should return the URL's in the DataSet. |
void |
loadData()
Classes implementing the method should load the data from the target location. |
void |
setDataSource(String datasource)
Depending on the implementation, the datasouce could be a file or a RDBMS. |
void |
setEndTimestamp(long stamp)
Set the timestamp using the last result from the datasource |
void |
setStartTimestamp(long stamp)
Set the timestamp using the first result from the datasource |
Methods inherited from interface org.apache.jmeter.visualizers.Visualizer |
add, isStats |
Method Detail |
public void setDataSource(String datasource)
datasource
- public String getDataSource()
public String getDataSourceName()
public void setStartTimestamp(long stamp)
stamp
- public long getStartTimestamp()
public void setEndTimestamp(long stamp)
stamp
- public long getEndTimestamp()
public Date getDate()
public String getMonthDayDate()
public String getMonthDayYearDate()
public Set getURLs()
public Set getStats()
public SamplingStatCalculator getStatistics(String url)
url
- public List getStats(List urls)
urls
- public void loadData()
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |