| org.apache.jmeter.save.converters.SampleResultConverter
All known Subclasses: org.apache.jmeter.protocol.http.util.HTTPResultConverter,
SampleResultConverter | public class SampleResultConverter extends AbstractCollectionConverter (Code) | | XStream Converter for the SampleResult class
|
Method Summary | |
public boolean | canConvert(Class arg0) | public static String | getVersion() | public void | marshal(Object obj, HierarchicalStreamWriter writer, MarshallingContext context) | protected void | readFile(String resultFileName, SampleResult res) | protected void | retrieveAttributes(HierarchicalStreamReader reader, UnmarshallingContext context, SampleResult res) | protected boolean | retrieveItem(HierarchicalStreamReader reader, UnmarshallingContext context, SampleResult res, Object subItem) | protected void | saveAssertions(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save) | protected void | saveRequestHeaders(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save) | protected void | saveResponseData(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save) | protected void | saveResponseHeaders(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save) | protected void | saveSamplerData(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save) | protected void | saveSubResults(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save) | protected void | setAttributes(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save) | public Object | unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) | protected void | writeString(HierarchicalStreamWriter writer, String tag, String value) |
TAG_QUERY_STRING | final protected static String TAG_QUERY_STRING(Code) | | |
TAG_REDIRECT_LOCATION | final protected static String TAG_REDIRECT_LOCATION(Code) | | |
TAG_REQUEST_HEADER | final protected static String TAG_REQUEST_HEADER(Code) | | |
TAG_RESPONSE_DATA | final protected static String TAG_RESPONSE_DATA(Code) | | |
TAG_RESPONSE_FILE | final protected static String TAG_RESPONSE_FILE(Code) | | |
TAG_RESPONSE_HEADER | final protected static String TAG_RESPONSE_HEADER(Code) | | |
TAG_SAMPLER_DATA | final protected static String TAG_SAMPLER_DATA(Code) | | |
SampleResultConverter | public SampleResultConverter(Mapper arg0)(Code) | | Parameters: arg0 - |
getVersion | public static String getVersion()(Code) | | Returns the converter version; used to check for possible
incompatibilities
|
marshal | public void marshal(Object obj, HierarchicalStreamWriter writer, MarshallingContext context)(Code) | | |
retrieveAttributes | protected void retrieveAttributes(HierarchicalStreamReader reader, UnmarshallingContext context, SampleResult res)(Code) | | Parameters: reader - Parameters: res - |
retrieveItem | protected boolean retrieveItem(HierarchicalStreamReader reader, UnmarshallingContext context, SampleResult res, Object subItem)(Code) | | Parameters: reader - Parameters: context - Parameters: res - true if the item was processed (for HTTPResultConverter) |
saveAssertions | protected void saveAssertions(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save)(Code) | | Parameters: writer - Parameters: context - Parameters: res - Parameters: save - |
saveRequestHeaders | protected void saveRequestHeaders(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save)(Code) | | Parameters: writer - Parameters: res - Parameters: save - |
saveResponseData | protected void saveResponseData(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save)(Code) | | Parameters: writer - Parameters: res - Parameters: save - |
saveResponseHeaders | protected void saveResponseHeaders(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save)(Code) | | Parameters: writer - Parameters: res - Parameters: save - |
saveSamplerData | protected void saveSamplerData(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save)(Code) | | Parameters: writer - Parameters: res - Parameters: save - |
saveSubResults | protected void saveSubResults(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save)(Code) | | Parameters: writer - Parameters: context - Parameters: res - Parameters: save - |
setAttributes | protected void setAttributes(HierarchicalStreamWriter writer, MarshallingContext context, SampleResult res, SampleSaveConfiguration save)(Code) | | Parameters: writer - Parameters: res - Parameters: save - |
unmarshal | public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context)(Code) | | |
writeString | protected void writeString(HierarchicalStreamWriter writer, String tag, String value)(Code) | | Parameters: writer - Parameters: tag - Parameters: value - |
|
|