Skip to main content


Showing posts from July, 2013

lr_abort Function Example Loadrunner

lr_abort function stops the execution of the script and executes the vuser_end action in loadrunner. We use error handling as shown in the following example to stop the script in vugen or controller. lr_abort Example: web_reg_find("Text=google","SaveCount=Google_Count",LAST); lr_start_transaction("Google Page"); web_url("", "URL=", "Mode=HTML", LAST); if (atoi(lr_eval_string("{Google_Count}")) > 0) { lr_end_transaction("Google Page", LR_PASS); } else { lr_end_transaction("Google Page", LR_FAIL); lr_abort(); }

What's New in LoadRunner Service Pack 11.52

The following sections describe the latest enhancements. Improved Performance in VuGen There are performance improvements in the following areas of VuGen: Opening, removing, closing, and working with multiple scripts Replaying scripts Working with ALM: uploading, compiling, and replaying scripts. Using the Step Navigator Web snapshots Opening VuGen Improved Performance in Analysis There are performance improvements in the following areas of Analysis: Loading test results when an SQLite database is selected Generating rich reports (in particular, reports for large results of over 1000 transactions) Statistic calculation in Analysis APIs Starting Analysis Shunra™ Network Virtualization Enhancements The latest Shunra network virtualization offers the following enhancements: Improved integration with Shunra Network Virtualization, enabling you to perform network virtualization per Vuser group, and to define multiple locations per load generator. New Monitoring a

List of HP Loadrunner Versions

Loadrunner 12.00(Coming Soon) Loadrunner 11.52  (Current Version) Loadrunner 11.51 Loadrunner 11.5 Loadrunner 11.04 Loadrunner 11.03 Loadrunner 11.02 Loadrunner 11.01 Loadrunner 10 Loadrunner 9.0 Loadrunner 9.10 Loadrunner 9.50 Loadrunner 9.51 Loadrunner 9.52 Loadrunner 8.0 Loadrunner 8.12 Loadrunner 8.13 Loadrunner 8.14 Loadrunner 7.0 Loadrunner 7.02 Loadrunner 7.5 Loadrunner 7.51 Loadrunner 7.6 Loadrunner 6.x Loadrunner 6.10 Loadrunner 5.x Loadrunner 4.x

How to Create a Empty Script and Record in Loadrunner 11.5

In this tutorial, I will show you how to record an application in Loadrunner with Web(HTTP/HTML) Protocol. To develop a script in Loadrunner 11.5, First Open the Vugen. To create a blank Vuser script please follow the below instructions Click Start -> All Programs->HP Software->HP LoadRunner-> Virtual User Generator or double-click the Virtual User Generator shortcut icon on your desktop. The HP Virtual User Generator [VuGen] opens. Click File -> New Script and Solution or click the Add New Script button on the VuGen toolbar. Create a New Script dialog box opens. Make sure the Category is Single Protocol. VuGen displays a list of the protocols that are available for a single-protocol script. From the list of available protocols, select Web - HTTP/HTML and then click Create. VuGen creates a blank Vuser script and displays the script in the VuGen Editor.

Prerequisite Needed for HP Loadrunner 11.5 Software

The following prerequisite needed for HP Loadrunner 11.5 software: Microsoft Windows Installer 3.1 Windows Imaging Component. This is a prerequisite for .NET Framework 4.0. .NET Framework 3.5 SP1 (See the note below for installation instructions.) .NET Framework 4.0 Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NET Redistributable Runtime MSI Web Services Enhancements (WSE) 3.0 for Microsoft .NET Redistributable Runtime MSI Microsoft Core XML Services (MSXML) 6.0 Microsoft Visual C++ 2005 SP1 Redistributable Package MFC Security Update (x86) Microsoft Visual C++ 2005 SP1 Redistributable Package MFC Security Update (x64) Microsoft Visual C++ 2008 SP1 Redistributable Package MFC Security Update (x86) Microsoft Visual C++ 2008 SP1 Redistributable Package MFC Security Update (x64) Microsoft Visual C++ 2010 SP1 Redistributable Package MFC Security Update (x86) Microsoft Data Access Components (MDAC) 2.8 SP1 (or later) Note: Windows 7: .NET 3.5.1 is installed by

Flex Functions in Loadrunner

Flex Functions in Loadrunner Download Function Name Description flex_login Logs on to a password-protected Flex application. flex_logout Logs off of a password-protected Flex application. flex_ping Checks if a Flex application is available. flex_remoting_call Invokes one or more methods of server-side Remote objects (RPC). flex_web_request Allows you to create a custom HTTP request with any method supported by HTTP. flex_rtmp_connect Connects a client to an RTMP server and sets connection options. flex_rtmp_disconnect Disconnects a client from an RTMP server. flex_rtmp_send Sends messages to an RTMP server. flex_rtmp_receive Receives responses from an RTMP server. flex_rtmp_receive_stream Receives streaming data from an RTMP server. flex_amf_call Sends a Flex AMF request. flex_amf_define_envelope_header_set Defines a set of Flex AMF envelope headers. flex_amf_define_header_set Defines a set of Flex AMF headers.

List of Protocols in HP Loadrunner

List of Protocols in Loadrunner Ajax Protocol Ajax TruClient Protocol AMF Protocol Citrix Protocol Click and Script Protocols COM Protocol Database Protocols Enterprise Java Beans Protocol Flex protocol Java Protocol Java Protocol- Manually Programming Scripts Java Over HTTP Protocol LDAP Protocol Mailing Service Protocol Oracle NCA Protocol RDP Protocol RTE Protocol SAP Protocols Siebel Web Protocol SilverLight Protocol Tuxedo Protocols Web Protocols Web Services - Adding Script Content Web Services - Managing Services Web Services - Preparing Scripts for Replay Web Services - Security Web Services - Service Emulation Windows Sockets Protocol Wireless Protocols

Web Functions in Loadrunner with Examples - Web Protocol in Loadrunner

Function Name Description web_add_auto_filter Sets criteria to include or exclude URLs when downloading web_add_auto_header Adds a customized header to all subsequent HTTP requests. web_add_cookie Adds a new cookie or modifies an existing one. web_add_cookie_ex Adds a cookie with specified add behavior. web_add_filter Sets criteria to include or exclude URLs when downloading. web_add_header Adds a customized header to the next HTTP request. web_cache_cleanup Cleans the content of the cache simulator. web_cleanup_auto_headers Removes all previous customized headers from HTTP requests. web_cleanup_cookies Removes all cookies currently stored by the Vuser. web_concurrent_end Marks the end of a concurrent group. web_concurrent_start Marks the beginning of a concurrent group. web_convert_date_param Converts a date string stored in a parameter to a different format. web_convert_from_formatted Converts a string created with one or more data format extensions back to the source

LR Functions with Examples | Loadrunner Functions with Examples

LR Functions in Loadrunner with Examples. lr_abort Stops the script execution. lr_advance_param It will take the next value in the parameter list. lr_continue_on_error Continue on error even if the request is failed. lr_convert_string_encoding Converts a string to a UTF 8 or Unicode. lr_db_dataset_action Validates database contents by setting checkpoints. lr_db_connect Connects to a database. lr_db_dataset_action Performs an action on a dataset. lr_db_disconnect Disconnects from a database. lr_db_executeSQLStatement Submits an SQL statement to a database. lr_checkpoint Validates the value of a parameter against an expected value (checkpoint). lr_db_getValue Retrieves a value from a dataset. lr_debug_message Sends a debug message to the LoadRunner output or Application Management agent log file. lr_decrypt Decrypts an encoded string. lr_disable_ip_spoofing Disables IP Spoofing. lr_enable_ip_spoofing Enables IP Spoofing. lr_end_sub_transaction Marks the end of a sub-tr