|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.save.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.
Method Summary | |
---|---|
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. |
static SampleResult |
getSampleResult(Configuration config)
Read sampleResult from Avalon XML file. |
static String |
getSerializedSampleResult(SampleResult result,
DefaultConfigurationSerializer slzr,
SampleSaveConfiguration cfg)
|
static HashTree |
loadSubTree(InputStream in)
|
static void |
processSamples(String filename,
Visualizer visualizer,
ResultCollector rc)
|
static void |
saveSubTree(HashTree subTree,
OutputStream writer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void saveSubTree(HashTree subTree, OutputStream writer) throws IOException
IOException
public static SampleResult getSampleResult(Configuration config)
config
- Avalon configuration
public static Configuration getConfiguration(SampleResult result, SampleSaveConfiguration saveConfig)
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.public static HashTree loadSubTree(InputStream in) throws IOException
IOException
public static void processSamples(String filename, Visualizer visualizer, ResultCollector rc) throws SAXException, IOException, ConfigurationException
SAXException
IOException
ConfigurationException
public static String getSerializedSampleResult(SampleResult result, DefaultConfigurationSerializer slzr, SampleSaveConfiguration cfg) throws SAXException, IOException, ConfigurationException
SAXException
IOException
ConfigurationException
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |