XmlBasedBinMemoObjectParsing.xml2bin

Example: Java over HTTP ActionJava over HTTP Vuser Functions

Reads an XML from a file and converts it into a byte array.

public static byte[] xml2bin(String xmlFilename)

Arguments

ArgumentDescription
xmlFilename The name of the file containing the XML to be converted into a byte array. This file must be located in the same folder as the Vuser script.

Return values

This function takes a file containing an XML and returns a byte array based on the XML.

Parameterization

Parameterization is not applicable to this function.