| java.lang.Object org.apache.jmeter.save.CSVSaveService
CSVSaveService | final public class CSVSaveService (Code) | | This class provides a means for saving/reading test results as CSV files.
|
getSampleSaveConfiguration | public static SampleSaveConfiguration getSampleSaveConfiguration(String headerLine, String filename)(Code) | | Parse a CSV header line
Parameters: headerLine - from CSV file Parameters: filename - name of file (for log message only) config corresponding to the header items found or null if not a header line |
makeResultFromDelimitedString | public static SampleEvent makeResultFromDelimitedString(String inputLine, SampleSaveConfiguration saveConfig, long lineNumber)(Code) | | Make a SampleResult given a delimited string.
Parameters: inputLine - - line from CSV file Parameters: saveConfig - - configuration Parameters: lineNumber - - line number for error reporting SampleResult or null if header line detected throws: JMeterError - |
printableFieldNamesToString | public static String printableFieldNamesToString()(Code) | | Generates the field names for the output file
the field names as a string |
printableFieldNamesToString | public static String printableFieldNamesToString(SampleSaveConfiguration saveConfig)(Code) | | Generates the field names for the output file
the field names as a string |
resultToDelimitedString | public static String resultToDelimitedString(SampleEvent event)(Code) | | Convert a result into a string, where the fields of the result are
separated by the default delimiter.
Parameters: event - the sample event to be converted the separated value representation of the result |
resultToDelimitedString | public static String resultToDelimitedString(SampleEvent event, String delimiter)(Code) | | Convert a result into a string, where the fields of the result are
separated by a specified String.
Parameters: event - the sample event to be converted Parameters: delimiter - the separation string the separated value representation of the result |
saveCSVStats | public static void saveCSVStats(Vector data, FileWriter writer) throws IOException(Code) | | Method will save aggregate statistics as CSV. For now I put it here.
Not sure if it should go in the newer SaveService instead of here.
if we ever decide to get rid of this class, we'll need to move this
method to the new save service.
Parameters: data - Parameters: writer - throws: IOException - |
|
|