HP LoadRunner Protocol SDK
Define Runtime Environment Settings

File <LoadRunner installation>\dat\mdrv\mdrv_<protocol id>.dat is the configuration file of the process. The following are commonly used settings:

Parameter

Description

ExtCmdLine
ExtCmdLineOverwrite
ExtCmdLineConc

Command line arguments for mdrv. Often used to specify the debug option.

ExtIncludeFiles

A comma-delimited list of additional include files.

ExtPriorityType

For extensions created with this SDK, this parameter is always protocol.

LibCfgFunc

The configuration function name. After loading the extension library, the driver calls this registration function. The extension gets the addresses of the driver services and gets the addresses of the management API functions.

SecurityMode

When SecurityMode is ON, only functions listed in the ASL file are allowed. (Default = On)

SecurityRequirementsFiles

The name of the ASL file.

UtilityExt

A comma-delimited list of other extensions to load when using this extension. If the protocol is not based on another protocol, only lrun_api need be specified. (Default = lrun_api)

WINNT_EXT_LIBS
SOLARIS_EXT_LIBS
and so on

The name of the DLL for the specified platform.

Example of MDRV.dat File:
[myReplay]
ExtPriorityType=protocol
WINNT_EXT_LIBS=SDKProtocol.dll
LibCfgFunc=RegisterProtocol
UtilityExt=lrun_api
ExtIncludeFiles=globals.h
SecurityRequirementsFiles=myReplay.asl
SecurityMode=On