Example: Java over HTTP ActionJava over HTTP Vuser Functions

Reads an XML from a file, converts it to a byte array, and loads the byte array into a new .bin file.

public static void xml2binFile(String xmlFilename, String binFilename)


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.
binFilenameThe name of the new file into which the byte array is loaded.


Parameterization is not applicable to this function.