background image
<< Disable Logging | Setting the General Run-Time Settings >>
<< Disable Logging | Setting the General Run-Time Settings >>

Logging CtLib Server Messages

Creating Vuser Scripts
Chapter 6, page 98
Working with VuGen · Configuring Run-Time Settings
In
Logging CtLib Server Messages
When you run a CtLib script, all messages generated by the CtLib client are logged
in the Brief log and in the output file. By default, server messages are not logged.
To enable logging of server messages (for debugging purposes), insert the
following line into your Vuser script:
VuGen logs all server messages in the Brief log.
To send the server messages to the LoadRunner Controller output window, (in
addition to the Brief log), type:
To return to the default mode of terminating the script execution, type the following
line into your script:
Note: Activate server message logging for only a specific block of code within your
script, since the generated server messages are long and the logging can slow
down your system.
LRD_CTLIB_DB_SERVER_MSG_LOG;
LRD_CTLIB_DB_SERVER_MSG_ERR;
LRD_CTLIB_DB_SERVER_MSG_NONE;