User handlers

User handlers are open APIs through which you can perform the following operations:

  • Get and set the request/response SOAP envelopes

  • Override the transport layer

  • Get and set the request/response content type

  • Get and Set values for LoadRunner Professional parameters

  • Retrieve a configuration argument from the script

  • Issue messages to the execution log

  • Fail an execution

You can set up a user handler directly in a script, or implement it through a DLL. You can apply the handler locally or globally.

For task details, see Create a user handler.

For sample user handlers, see User handler examples.