Archive for the ‘Java’ Category

Performance Testing MQ with JMeter

Friday, October 3rd, 2008

This is a relatively new example of how to use JMeter with WebSphere MQ. This approach is a clever way of inserting messages into MQ using a JMS sampler (point to point) with a JNDI binding within MQ. I had not heard of this approach before and am sure it will ...

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

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

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

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

Monitoring queue statistics in MQ

Monday, April 30th, 2007

When load testing MQ you are no doubt going to need to be able to monitor queue statistics in terms of how many messages have been enqueued and dequeued within a given timeframe. You can use native runmqsc commands to query queues in order to find current queue depths but ...

Curve dampening for a custom load harness

Monday, April 30th, 2007

Recently I wrote a test harness that had a 'discovery' mode. That is, given a target service level agreement (SLA), what transaction pacing or throughput did the load harness have to apply in order to achieve the SLA response times. Now my maths is a tad scratchy, but I knew ...

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