Share this page

# lr.vuser_status_message

Sends a message to the Vuser status area.

## JavaScript

    function lr.vuser_status_message(  message  )

## VBScript

    Function lr.vuser_status_message(  message  )

Message Functions

## Arguments

Name | Comments
--- | ---
message | The message to send to the Output window.

The lr.vuser_status_message function sends a string to the Status area of the Controller. It also sends the string to the Vuser log. When run from VuGen, the message is sent to output.txt.

## Return Values

On success, returns the length of the message that was sent. On failure, returns a negative number.

## Parameterization

Standard parameterization is not available for this function.

## VBScript Example

The Vuser status area usually displays the Vuser state: Ready, Running, Paused, Done:Passed, etc. The lr.vuser_status_message function is useful for displaying more detailed information about the Vuser run. In the following example, lr.vuser_status_message specifies when the Vuser execution reaches a specific point:

Copy code

    //Indicate when the Vuser reaches line 10 of the Actions method.
    lr.vuser_status_message "reached line 10 in Actions"

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: