Archive for the ‘LoadRunner’ Category

Performance Testing with Apdex

Thursday, August 28th, 2008

Often when performance testing in a black box environment, you are left with the onerous responsibility to report against response time performance. A typical approach by performance testers is to rely on 95th percentiles, which is effectively a Service Level Agreement (SLA) saying that 95 percent of all my samples have ...

How to Generate Random Alphas in LoadRunner

Friday, August 8th, 2008

Just a quick post for myself so I don't forget... I needed to generate a random alpha for use in a LoadRunner web vuser script. The native LoadRunner parameters can do random numerics and date/times but I couldn't find a way to generate only characters, as one might need to ...

Using SFTP with LoadRunner Java Vusers

Tuesday, June 3rd, 2008

Recently had a requirement to construct a LoadRunner harness that could sftp files (over ssh) to and from remote servers. As some of the harnesses were already written in Java (for loading of JMS queues) it made sense to use a Java Vuser to achieve the result required. A work colleague ...

Using JDBC with LoadRunner Java Vusers

Monday, June 2nd, 2008

This is a short post on how to establish JDBC connectivity to a MySQL database when using the Java Vuser type within LoadRunner. Stuart describes a situation in which you might want to do this here. I'm not sure why but the example code is missing from his site, so ...

Performance Testing Flex Remoting (AMF) with JMeter

Wednesday, May 7th, 2008

[UPDATE] this has since been resolved! JMeter support rocks :D URL: http://svn.apache.org/viewvc?rev=661141&view=rev Log: Bugs 44808 & 39641 - Proxy support for binary requests --- You may still find the ruby proxy idea interesting ... --- The Action Message Format (AMF) is a binary protocol that Flex applications use to remotely communicate with the server. I've tested ...

Roll Your Own SiteScope, a Simple Alternative

Wednesday, April 23rd, 2008

In working with SiteScope of late, I've found that it doesn't always collect performance metrics the way I want to. More importantly, it can often turn a simple monitoring activity into a complex disaster. Take monitoring via JMX for example. In SiteScope, it has a rather complicated (and sometimes broken) ...

Monitoring Weblogic 9.2 with JMX and JRuby

Thursday, April 17th, 2008

After getting nowhere with lack luster HP support, I turned to the power of the Open Source community and got a very simple script up and running to remotely monitor Weblogic JVM Performance and JMS queues using JMX and JRuby. Despite having some initial issues with the code, the author of ...

Regex Pattern Matching in LoadRunner

Thursday, April 17th, 2008

I quite literally stole this idea from Charlie at PerformanceEngineering in which he posted a response to a challenge by Dmitry on how to get regular expressions up and running within LoadRunner. I'm a huge fan of regex, and thanks to these guys, now have a way of implementing at least ...

Formatting Data for Import into LoadRunner Analysis

Wednesday, April 16th, 2008

HP LoadRunner Analysis is a free tool right? Well, maybe not "free, as in free beer", but you can certainly install the trial version of LoadRunner 9.x, and Analysis does not appear to be time limited. All right, I realise that the Controller is time limited, so how do you go ...

An Alternative for Mercury Virtual Table Server

Thursday, April 3rd, 2008

Mercury's Virtual Table Server (VTS) provides the following functionality when sharing data between vusers in your typical LoadRunner scenario ... Virtual Table Server (VTS) first edition, introduced the capability for LoadRunner virtual users, WinRunner and XRunner, to communicate in real time. Data extraction and communication was simplified but limited to column/queue ...

Using LoadRunner Java Vusers with WebLogic JMS Queues/Topics

Sunday, March 2nd, 2008

The following scripts are examples on how to generate load for the BEA WebLogic implementation of JMS. Specifically I demonstrate how to place messages on a queue and how to publish messages to a topic using a Java Vuser within LoadRunner.

Monitoring Weblogic using JMX in SiteScope

Thursday, February 28th, 2008

Using JMX (Java Management Extensions) it is possible to monitor Managed Beans published by MBean servers. Weblogic (WL) provides MBeans for both admin and managed servers. You can find out more info about WebLogic MBeans and accessing them with JMX here ... Following are some augmented instructions for setting up JMX monitors ...

Speeding Up Script Development Time in LoadRunner

Tuesday, February 26th, 2008

If you've ever had to write lots of LoadRunner scripts you'll probably be interested in this snippet of code. Imagine you're in a situation where you need to produce many LoadRunner scripts each with multiple actions. Normally, once you've got all your custom correlations down pat (I hate correlation studio ...

Monitoring Typical User Transactions with Ruby and SiteScope

Thursday, February 21st, 2008

A colleague asked me the other day if it was possible to setup a workstation with just LoadRunner installed and have it automatically carry out a typical user transaction to determine the 'health' of the target server. After explaining to him that it would be a clunky approach at best, ...

Monitoring Weblogic using JMX in LoadRunner

Thursday, February 21st, 2008

When configuring the WebLogic (JMX) monitor (Add Measurements via the Run tab in Controller) you may be presented with the following error: Java Virtual Machine Version mismatch: Required version: 1.3 To overcome this try the following steps ...

RWI 00239 The server has reached the maximum number of simultaneous connections

Friday, May 25th, 2007

Once again on the topic of performance testing Business Objects, when executing a benchmark for a web intelligence report with goal being to see how many concurrent users it could support, the following error mesage was being generated in the vuser log: Connection failed. The server has reached the maximum number ...

Business Objects correlation

Friday, May 18th, 2007

I have been working on some template LoadRunner scripts for Business Objects Web Intelligence / Crystal Reports which require good ole fashioned manual correlation. Before writing this post, in the background I have been working on a tool comparison between LoadRunner and my increasing favourite JMeter with a simple (?) scripting ...

No Load Runner? No problems!

Monday, January 15th, 2007

Often you will find yourself just out of reach of some load test tools like LoadRunner, but don't let that stop you generating load for your web apps. With enough patience and some careful use of live http headers you can achieve the same effect, albeit in a manually defined ...