org.apache.jmeter.save.converters

Class TestResultWrapperConverter


public class TestResultWrapperConverter
extends AbstractCollectionConverter

XStream Class to convert TestResultWrapper

Constructor Summary

TestResultWrapperConverter(Mapper arg0)

Method Summary

boolean
canConvert(Class arg0)
static String
getVersion()
Returns the converter version; used to check for possible incompatibilities
void
marshal(Object arg0, HierarchicalStreamWriter arg1, MarshallingContext arg2)
Object
unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context)
Read test results from JTL files and pass them to the visualiser directly.

Constructor Details

TestResultWrapperConverter

public TestResultWrapperConverter(Mapper arg0)
Parameters:
arg0 -

Method Details

canConvert

public boolean canConvert(Class arg0)

getVersion

public static String getVersion()
Returns the converter version; used to check for possible incompatibilities

marshal

public void marshal(Object arg0,
                    HierarchicalStreamWriter arg1,
                    MarshallingContext arg2)

unmarshal

public Object unmarshal(HierarchicalStreamReader reader,
                        UnmarshallingContext context)
Read test results from JTL files and pass them to the visualiser directly. If the ResultCollector helper object is defined, then pass the samples to that rather than adding them to the test result wrapper.
Returns:
the test result wrapper (may be empty)
See Also:
com.thoughtworks.xstream.converters.Converter.unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader, com.thoughtworks.xstream.converters.UnmarshallingContext)

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.