Using Selenium RC to automate your web based testing

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 Control provides a Selenium Server, [...]

Another chart API for your performance metrics

Google have got some charting code worth looking at, which basically allows you to create charts by modifying parameters in the query string.

Something as simple as this:
http://chart.apis.google.com/chart?chtt=Tim’s%20Beer%20Intake&cht=p3&chd=s:9h&chs=250×100&chco=00ff00&chl=Unemployed|Employed produces this:

Being on holidays at the moment, I’m lacking the um, ‘project’ on which to apply this technology, but am curious to see how functional it is. They [...]

Using bees to find bottlenecks

On a basic level, the honeybee’s dilemma is a tale of two flower patches. If one patch is yielding better nectar than the other, how can the hive use its workforce most efficiently to retrieve the best supply at the moment? The solution, which earned Austrian zoologist Karl von Frisch a Nobel Prize, is a [...]

Risk management for dummies

This video is a play on Pascal’s Wager which really gets you thinking on possible outcomes for a given scenario being climate change … Is it a better bet to accept doomsday predictions for climate changes, or rest on our haunches and let the world pass by? If you haven’t thought about it yet, get [...]

Leopard Perl 5.8.8 installation throws errors when compiling (makefile)

If you’re stuck with this error when trying to compile your own apps:

No rule to make target `/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE/config.h’, needed by `Makefile’.

You will probably find that your Leopard installation is lacking some necessary files.
If you copy the files from your old(er) installation of perl (5.8.6) you should be able to get around this …

sudo cp /System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/* [...]

By the power of R, statistical computing at your fingertips

I’ve explored in previous posts the use of tools such as onboard Analytics (LoadRunner), off-the-shelf tools (Excel) and custom web based implementations (JGraph, ChartDirector) used to analyze the nitty gritty of performance metrics.

All of these tool’s use are governed by some common factors being:

the Expediency factor – the timeliness of data being analyzed as measured [...]

Win32::PerfMon is unable to enum objects with multiple instances

I’ve been looking for some easy ways to enumerate all of the available performance counters on a Win32 platform programatically.

Rather than trawl through the PerfMon counter GUI, or regress back into the millions of raw counters available via WMI, I was looking for a solution somewhere in between.

The ActiveState version of Perl has a Win32::PerfMon [...]

Chasing symptoms, not cause

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 identifying root cause?

"move a little, do a lot"

Have just stumbled across a very cool productivity app for OSX. I’m already a big fan of Quicksilver, and FlyGesture builds on that style of functionality albeit from your trackpad.

FlyGesture is activated like Exposé or Dashboard, bringing up a transparent window of “guides” to move your mouse through. Moving your mouse through the guides lets [...]

Quick tip: split a large file into smaller files

Needed to break a large file containing many messages, each message separated on a new line into many new small files containing only one message per file … Started thinking in perl, but almost looked past the Unix split command:

split -l 1 -a 3 bigfile.txt smallfile_

-l ‘n’ will put ‘n’ lines per file
-a ‘n’ defines [...]