Utility Functions and C Language Reference > Utility Functions: Java (lr.) > Alphabetical Listing > lr_vuser_status_message


Sends a message to the Vuser status area.

C Language

int lr_vuser_status_message( char *format, exp1, exp2,...expn  );
Example: lr_vuser_status_message Message Functions

Java Language

int lr.vuser_status_message( String message );
Example: lr.vuser_status_message Message Functions Java Syntax


Name Comments
format C Language A formatted string. If it is a literal string, enclose it with quotation marks. Use the standard Message Formatting that is available for printf to set the format for the expressions you want to print.
exp1, exp2,.. expn 
C Language
The expressions (variables) to be formatted and printed.
message Object Oriented A string containing the message to send to the Output window. See Java String Arguments.

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.


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