Monitoring Weblogic using JMX in SiteScope

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 within SiteScope. I used this excellent article as a starting point.

Read More

Speeding Up Script Development Time in LoadRunner

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 BTW) you will also have a ton of stock standard parameters that you need to find and replace within your scripts. You can do this manually in a point and click type fashion; you can even use VuGen’s clunky text editor (Ctrl-H) to search and replace text strings etc, but if you get sick of this approach, and you want to be more consistent / accurate in your parametization, try the following Perl script.

Read More

Monitoring Typical User Transactions with Ruby and SiteScope

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, and currently lacking an installation of HP’s Business Availability Center which could achieve such a thing (Bah, humbug to that) I suggested we write a simple Ruby script, using the ‘watir’ gem which can be periodically called by the existing SiteScope installation.

If you didn’t have SiteScope installed, you could just as easily run this script as a scheduled task within Windows or via cron within a Unix environment, no sweat …

Read More

Monitoring Weblogic using JMX in LoadRunner

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 …

Read More

TextMate Alternative for Windows

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 currently available as a free Alpha release, and is work looking at if you’re stuck on Windoze …

Intype is a powerful and intuitive code editor for Windows with lightning fast response. It is easily extensible and customizable, thanks in part to its support for scripting and native plug-ins. It makes development in any programming or scripting language quick and easy.

Read More