Archive for July, 2008

JMeter Tips and Tricks - Correlating with Regular Expressions

Thursday, July 24th, 2008

Another post in this current theme of JMeter tips and tricks... You will hear LoadRunner consultants preaching to the converted about the requirement to correlate data accurately. What they're referring to, is making sure that dynamic data received by the client from the server (typically in a response body, header ...

JMeter Tips and Tricks - Better (More Pretty) Graphs

Wednesday, July 16th, 2008

This plugin has been around for a while and it's definitely worth including in your JMeter library if you want to go for a glossy finish! The StatAggVisualizer will transform your graphs from this to this If you roll-up your transactions into separate transaction controllers as I demonstrated in a previous ...

HttpWatch, a Free Alternative Using Ruby

Tuesday, July 15th, 2008

When performance testing I often need to spy on TCP (http) traffic between the client and server on a frequent basis. This is pretty much a staple of any performance test script development effort. In the past I've relied heavily on trace options within LoadRunner and the like, but often find ...

NumbrCrunchr - Performance Monitoring Using Sparklines

Thursday, July 10th, 2008

I've been working on a light weight performance monitoring solution which can be hosted on a LAMP (or WAMP, or OSX =) installation and uses the Google chart API to present data. Data is populated by custom Ruby scripts that either use ssh or perfmon (typeperf) to collect performance metrics ...

Job Interview Question #11 - Summing Numbers

Tuesday, July 8th, 2008

I've recently started following a blog which sets weekly programming challenges. I'm getting sick of Nintendo DS brain training and thought I'd try something more relevant to my line of work. Also, this gives me a good opportunity to learn more about my favoured scripting language at present, which is ...

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

Just Another Framework - for developing watir test cases

Thursday, July 3rd, 2008

Recently I attended Railscamp 08 in Sydney Australia for a weekend of code, beer and bzflag. For my 'project' I decided on brushing up my my Ruby skills and constructing a simple framework from which I could structure watir test cases. Specifically I wanted to achieve the following: Create some form of ...

Establishing Mysql DB Connectivity from Ruby

Thursday, July 3rd, 2008

If you are a rails fan you will probably recommend using active record instead, but if you just want to hack away at your mysql db from within your Ruby code, you may find this handy... I'm currently using a wamp box to serve up content for performance metrics. What I ...