Recording and Performance testing Android applications with HP Loadrunner VuGen

In this article I will show how to create a Loadrunner test to replicate the network traffic generated by an Android application. The Android SDK will be used to execute the application under test, while HP Loadrunner Virtual User Generator (VuGen) captures the network packets and translates it to Loadrunner virtual user script. Prerequisites: Loadrunner/Performance […]

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

SiteScope

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 […]

Configuring target hostname in Loadrunner tests

Custom Graphs

Have more than one test-systems makes it imperative to make the target hostname parametric in the Loadrunner scripts, particularly if it is intended to run the Loadrunner script from time to time on different environments. First, create a new Additional Attribute for the target hostname in VuGen (press F4, then select Additional Attributes). Specify a […]

Why VuGen is an old gen?

New generation programmers do not program in C. This is the sentence I have learnt on the latest Loadrunner training I was teaching. University students study C and C++ programming language optionally nowadays and when they do, they only use it for a semester. Moreover they are quickly seduced by programming languages running in managed […]

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

perfcenter-userdatapoints

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 […]