com.lazerycode.jmeter.analyzer.writer
public abstract class TextWriterBase extends WriterBase
| Constructor and Description |
|---|
TextWriterBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getRootTemplate() |
protected Writer |
getWriter(File file) |
protected void |
renderText(Map<String,?> testResults,
String rootTemplate,
Writer out)
Render given
testResults as text |
void |
write(Map<String,AggregatedResponses> testResults)
Render results as text to a file
|
getFile, getFileName, getResultDataFileRelativePath, setFileName, setResultDataFileRelativePathpublic void write(Map<String,AggregatedResponses> testResults) throws IOException, freemarker.template.TemplateException
testResults - Map to generate output fromIOExceptionfreemarker.template.TemplateExceptionprotected Writer getWriter(File file) throws IOException
IOExceptionprotected abstract String getRootTemplate()
protected void renderText(Map<String,?> testResults, String rootTemplate, Writer out) throws IOException, freemarker.template.TemplateException
testResults as texttestResults - results to renderrootTemplate - the template that Freemarker starts rendering without - output to write toIOExceptionfreemarker.template.TemplateExceptionCopyright © 2013. All Rights Reserved.