Archive for 2008

Installing Firewatir on Mac OSX

Thursday, June 12th, 2008

By now you've probably heard of watir or Web Application Testing In Ruby, a great automation framework which supports Microsoft Internet Explorer, and recently came in at number 3 as a popular oss tool on this blog. I've been using this tool mostly from a windows box, and knew of the ...

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 ...

Capturing Screenshots in Watir

Monday, June 2nd, 2008

Recently I noticed some discussion in the watir user group about trying to capture screenshots when running automated tests. For such a simple requirement, it's frustrating that solutions available either cost money (such as the purchase of SnagIt) or are a tad complicated in implementation requiring the installation of some out ...

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 ...

Installing GD Libraries for Leopard Apache PHP 5.2.5

Tuesday, April 29th, 2008

Another post for my fading memory, how to install the GD libraries for your Leopard Apache installation running PHP 5.2.5. I will be using these libraries in a forthcoming blog about the use of 'sparklines' to present complex performance monitoring data. Now on with installation. Thanks to topicdesk for leading the ...

A Growl Hack to Remind You to Unplug Your Charger

Thursday, April 24th, 2008

If you've been using a Macbook Pro or similar for some time, you'll find that their batteries need tender love and care, if they are to go the distance. According to Apple, I fit into the 'ideal use' category as I regularly use my notebook on the 1+ hour daily ...

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) ...

A New Contractor Toy: USB to VGA

Thursday, April 17th, 2008

Ever been on a client site and stuck with 1024 x 768? I remember when even that was a dream, but after you get used to widescreen dual VGA in your own environment, weaning yourself off this can be a challenge. If you believe Microsoft research, dual screen users "never ...

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 ...

TextMate Alternative for Windows

Tuesday, February 19th, 2008

Well as you know, I've become a bit of a Mac zealot (thanks Ted) and strongly favour TextMate as my preferred editor for coding and scripting ... Unfortunately, my real job is in a pure Windows environment, so if you're after a hit of TextMate-like functionality, try Intype ... It's ...

[Bump] MyThree Bandwidth Usage Widget

Thursday, February 7th, 2008

Download it 'ere... I currently have a mobile broadband account (HSDPA) provided by three.com.au, and after a hexy surcharge from the previous month when exceeding my limit, thought it would be prudent to build a dashboard widget that tracks my monthly bandwidth usage. Building on a previous post that automates calls to ...