lr.deserialize

Example: lr.deserializeString and Parameter Functions

Expands an object to represent its ASCII components. (Java only)

Java Language

String lr.deserialize ([String value,]int index , [booleanmethod] );

Arguments

NameComments
valueThe string to be used during replay.
indexThe zero-based index number of the binary file containing the object data.
MethodIf "false", use Java's standard deserialization. (default). If "true", use VuGen's deserialization mechanism. This parameter is optional (default=true)

The lr.deserialize method opens an object to represent its ASCII components. This allows you to manually parameterize the members of the object. Binary files containing the object data are sequentially numbered and saved under the Vuser directory. This function is not programmable. It is generated by VuGen during recording and automatically associated with the applicable binary files.

When you specify a string value, you also specify an index, but not a method. When you specify an index, you also indicate a method, but not a value.

Return Values

This function returns the value of the specified string or null on error.

Parameterization

You cannot use standard parameterization for any arguments in this function.