HP LoadRunner Protocol SDK Overview > Features Supported by the SDK |
This section describes the features supported by the SDK.
The HP Protocol SDK supports the following infrastructure features and background tasks:
Descriptive arguments. The SDK supports named arguments in a variable-length argument list. It provides parsing of "key=value" arguments, supporting string, Boolean, and numeric values.
Thread-level variables. The SDK enables the developer to define one object (of any type) as the virtual user data. The replay template provides an API for maintaining this object in the Thread Local Storage.
Text resource management. The SDK supports management of error messages and other text resources.
The HP Protocol SDK supports the following features for configuration and integration with VuGen (Virtual User Generator) and the Controller:
Logging. The SDK provides an API for writing messages to an execution log.
Event handling. Event handlers can be registered for events such as process init and terminate, thread init and terminate, and so on.
Automatic transaction per step. The support for this feature does not enforce its use. Whether each step in a test is treated as a transaction depends on the Run-Time Settings.
Generating data points. The SDK provides an API for creating data points for analysis.
Result report. The default report is generated with no action by the protocol. The report uses the icons configured for API functions by the developer. You can override the default messages by writing custom step details.
Evaluating parameters. The SDK provides an API for evaluating text that contains parameters.
Automatic definition of the protocol configuration files. This automatic definition provides the following features:
Presenting the new protocol in the New Protocol Script dialog.
Editor integration, such as auto-completion, highlight coloring, and tool tips.
Presenting the protocol API functions in the insert new step dialog.
The SDK includes a replay template . You can extend the template to build the recording module of your protocol.