public class XmlFilePerfReportWriter extends AbstractPerfReportWriter
plugins, REPORT_PLUGIN_CPU, REPORT_PLUGIN_THROUGHPUT| Constructor and Description |
|---|
XmlFilePerfReportWriter() |
XmlFilePerfReportWriter(String reportDir,
String reportName) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeReportWriter() |
protected File |
createTempLogFile() |
protected File |
createXmlFile() |
String |
getReportDir() |
String |
getReportName() |
File |
getXmlFile() |
void |
openReportWriter() |
protected void |
parsePerfCsvData(String elementName,
String csvData) |
void |
setReportDir(String reportDir) |
void |
setReportName(String reportName) |
void |
setXmlFile(File xmlFile) |
protected void |
writeCpuSummary(Map summary) |
void |
writeCsvData(int csvType,
String csvData) |
void |
writeInfo(String info) |
protected void |
writeMap(String name,
Map map) |
void |
writeProperties(Properties props) |
void |
writeProperties(String header,
Properties props) |
protected void |
writeThroughputSummary(Map summary) |
protected void |
writeToXml() |
protected void |
writeXmlFooter() |
protected void |
writeXmlHeader() |
protected void |
writeXmlLogFile() |
protected void |
writeXmlPerfSummary() |
protected void |
writeXmlTestSettings() |
getSummary, handleCsvDatapublic void openReportWriter()
public void closeReportWriter()
public String getReportDir()
public void setReportDir(String reportDir)
public String getReportName()
public void setReportName(String reportName)
public File getXmlFile()
public void setXmlFile(File xmlFile)
public void writeInfo(String info)
public void writeCsvData(int csvType,
String csvData)
public void writeProperties(String header, Properties props)
public void writeProperties(Properties props)
protected File createTempLogFile()
protected File createXmlFile()
protected void writeToXml()
protected void writeXmlHeader()
protected void writeXmlFooter()
protected void writeXmlTestSettings()
protected void writeXmlLogFile()
throws IOException
IOExceptionprotected void writeXmlPerfSummary()
protected void writeThroughputSummary(Map summary)
protected void writeCpuSummary(Map summary)
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.