Using XPath with Loadrunner

Reg Expressions and Loadrunner

One of the critiques that can be often heard from script developers, is that Loadrunner does not support regular expressions to extract data from HTML responses. True, the substring-method offered by web_reg_save_param() does not offer too much flexibility, although it is a very easy and powerful way to extract parts of a http response. Unfortunately […]

Monitoring System resources with HP Performance Center


During test execution Loadrunner measures basic performance metrics, such as response times, transactions per second, transferred bytes, etc. However to have the proper overview, it is vital to see the impact of the test on the tested hardware and software. Hardware utilization (CPU, disk I/O, network) and software counters (entity cache statistics, software-internal metrics) are […]

Sharing Load Generators in HP Performance Center

Load Generator

One of the most appealing features of HP Performance Center is the automatic resource management. The Performance Center infrastructure can be shared between multiple test projects. Each project bundles the test scripts, test data and the associated load test configurations. Several load generators (aka. hosts) can be assigned to a Performance Test Project. From the […]

Using LR Download Filter to protect your measurements

This post will show how to exclude calls to external systems using Loadrunner; this allows the AUT to be tested in isolation.  A typical webpage relies on a number of resources which are external to the site. Analytics services, embedded social media, advertising assets and different Google Services (maps, charts, etc.) are good examples for […]

Modeling spike tests with HP Performance Center

This post will show how to create a Performance Spike Test using HP Performance Center. Spike testing can be characterised as an abnormal surge in traffic for a short period.  Reasons can include: An advertising campaign has just been launched, special offers being made available or an offer has just been opened and there is pent up demand.  Modelling […]

Creating Custom Metric Graphs with HP Loadrunner


This post will describe how to create your own custom metric graphs in HP Loadrunner. Using the Analysis tool you can view the standard metrics of a Load Test. But you can also use the VuGen scripts to report your own numbers as ‘User Data Points’ and feed them into the Analysis component. Let’s assume you […]

Customisation of LoadRunner Transaction Names

This article will detail a better way of defining and coding for Loadrunner transactions. Script transaction names should ideally take a common, easily understandable format in order to ease debugging and test analysis activities. Consider the following three transaction names in a Web (HTTP/HTML) search script for a Web application: ClickSearchPage ClickSearchButton ClickRandomItem Whilst these […]

How to performance test with HP Loadrunner?

HP Loadrunner allows the implementation, execution, reporting & evaluation of your performance tests.  Before beginning to script using Loadrunner you need to have a clear understanding of what to test. In this post I will describe the major points of planning and executing a proper performance test (see earlier posts for details) highlighting the stages […]

My Top Five Issues with Performance Center

I previously discussed what I saw as the main advantages to HP Performance Center, however I also have a number of grips using the software. What follows are the top five areas I which I think Performance Center could be improved upon: The Performance Center User administration user interface relies intensively on AJAX calls, e.g. […]