org.apache.jmeter.save
Class OldSaveService
public final class OldSaveService
This class saves/restores the original Avalon XML format (not used by default).
This may be removed in a future release.
getConfiguration
public static Configuration getConfiguration(SampleResult result,
SampleSaveConfiguration saveConfig)
This method determines the content of the result data that will be
stored for the Avalon XML format.
result
- the object containing all of the data that has been collected.saveConfig
- the configuration giving the data items to be saved.
N.B. It is rather out of date, as many fields are not saved.
However it is probably not worth updating, as no-one should be using the format.
getSampleResult
public static SampleResult getSampleResult(Configuration config)
Read sampleResult from Avalon XML file.
config
- Avalon configuration
getSerializedSampleResult
public static String getSerializedSampleResult(SampleResult result,
DefaultConfigurationSerializer slzr,
SampleSaveConfiguration cfg)
throws SAXException,
IOException,
ConfigurationException
loadSubTree
public static HashTree loadSubTree(InputStream in)
throws IOException
processSamples
public static void processSamples(String filename,
Visualizer visualizer,
ResultCollector rc)
throws SAXException,
IOException,
ConfigurationException
saveSubTree
public static void saveSubTree(HashTree subTree,
OutputStream writer)
throws IOException
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.