Enhancing Vuser Scripts

1.   You define transactions to measure the performance of the server. Each transaction measures the time it takes for the server to respond to specified Vuser requests
2.   You configure multiple Vusers to act simultaneously by creating a rendezvous point.
3.   Rendezvous points are only effective in Action section(s)—not init or end.
4.   lr_get_attrib_string - Returns a command line parameter string.
5.   lr_get_host_name - Returns the name of the machine running the Vuser script.
6.   lr_get_master_host_name - Returns the name of the machine running the Controller. Not applicable when working with the HP Business Availability Center.
7.   lr_whoami -Returns the name of a Vuser executing thescript.
8.   lr_debug_message -Sends a debug message to the Output window or the Business Process Monitor log file.
9.   lr_error_message - Sends an error message to the Output window or the Business Process Monitor log files.
10.                lr_get_debug_message - Retrieves the current message class.
11.                lr_log_message- Sends an output message directly to the log file, output.txt, located in the Vuser script directory. This function is useful in preventing output messages from interfering with TCP/IP traffic.
12.                lr_output_message- Sends a message to the Output window or the Business Process Monitor log files.
13.                lr_set_debug_message- Sets a message class for output messages.
14.                lr_vuser_status_message- Sends a message to the Vuser status area in the Controller. Not applicable when working with the HP Business Availability Center.
15.  lr_message- Sends a message to the Vuser log and Output window or the Business Process Monitor log files.
16.  The behavior of the lr_message, lr_output_message, and lr_log_message functions are not affected by the script’s debugging level in the Log run-time settings—they will always send messages.
17.  Synchronization applies to RTE Vuser scripts only. The time that a user waits between performing successive actions is known as the think time.
18.  When you record a Java Vuser script, lr_think_time statements are not generated in the Vuser script.
19.  VuGen uses 32-bit encryption.

Comments

Popular posts from this blog

Steps to Analyze AWR Report in Oracle

Vmstat Output explained

Verifications and Error Handling in LoadRunner *Web_reg_find and Web_reg_save_param*