Apache JMeter

org.apache.jmeter.save.converters
Class TestResultWrapperConverter

java.lang.Object
  extended by AbstractCollectionConverter
      extended by org.apache.jmeter.save.converters.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResultWrapperConverter

public TestResultWrapperConverter(Mapper arg0)
Parameters:
arg0 -
Method Detail

getVersion

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


canConvert

public boolean canConvert(Class arg0)

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)

Apache JMeter

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