JavaScript Functions > Alphabetical Listing of Utility Functions (lr) > lr.vuserStatusMessage

lr.vuserStatusMessage

Sends a message to the Vuser status area.

ExampleMessage Functions

Syntax

lr.vuserStatusMessage( message );

Arguments

ArgumentComments
messageThe message to send to the Output window..

The lr.vuserStatusMessage 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

You cannot use standard parameterization for any arguments in this function.

Example

lr.vuserStatusMessage("We are on iteration #"+ lr.evalString("{Iteration}"));