Archive for the ‘Testing’ Category

JMeter Tips and Tricks - Application Simulation Models

Monday, July 7th, 2008

I've been working with JMeter of late and after speaking with some people at conferences and the like, I thought it would be good to share what I've learned along the way in building, structuring and executing JMeter test plans. One of the first things I like to do when performance ...

Diff’ing Made Easier

Friday, June 27th, 2008

If diff -u or wdiff isn't cutting it for your correlating requirements when scripting load harnesses, you might want to try daisydiff as an alternative ... * Works with badly formed HTML that can be found "in the wild". * The diffing is more ...

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

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 Selenium RC to automate your web based testing

Monday, December 31st, 2007

Selenium is an awesome free alternative to apps such as Quick Test Pro and the like, providing you with a browser based automation suite for web applications.Selenium uses JavaScript and Iframes to embed a test automation engine in your browser. This technique should work with any JavaScript-enabled browser. Selenium Remote ...

Chasing symptoms, not cause

Wednesday, November 7th, 2007

Any job in which you need to 'fix' something requires you to correctly analyze the root cause. Treat just the symptoms and you'll find yourself on the never-get-fixed roundabout ... Performance tuning fits this profile neatly. In an array of available metrics, how do you avoid chasing the symptoms and never ...

Sharing data safely between Java threads

Thursday, October 25th, 2007

Am really starting to enjoy the power and portability of using Java in my load testing efforts, especially when the environments in which you work are often limited in terms of tool sets you're allowed to use. For example the current Solaris environment I work in doesn't have a C ...

Automating your scripts with WWW::Mechanize

Monday, September 24th, 2007

CPAN provides a great module for Perl called WWW:Mechanize. To quote CPAN:WWW::Mechanize, or Mech for short, helps you automate interaction with a website. It supports performing a sequence of page fetches including following links and submitting forms. Each fetched page is parsed and its links and forms are extracted. A ...

Problem solving in general and MQ 2195 reason codes

Friday, August 10th, 2007

So I spent the best part of a day assisting our sys admin and developer resolve MQ errors that a COBOL client was throwing when opening more than one concurrent connection to a clustered queue manager. Because the architecture had recently changed to a cluster, and my load harness was no ...

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

Faking it! (UDP packets that is…)

Thursday, May 3rd, 2007

An associate of mine recently wanted a load script that could simulate thousands of UDP packets carrying a custom payload coming from different IP addresses. They were implementing a customised RFID solution that needed to simulate load from a lot of sources (think active RFID tags). There are many different ways ...

A custom load harness for MQ Server

Tuesday, January 30th, 2007

This is another blog in a similar vein to "No LoadRunner, No Problems" where I needed to write a custom test harness for MQ server. IBM kindly provide a complete Java API for getting in to the nitty gritty of MQ messages. Much can be learnt from WebSphere MQ sample ...

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