Monitoring queue statistics in MQ

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 this is just a snapshot [...]

Curve dampening for a custom load harness

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 that I could somehow figure out the equation to determine how much the load balancer should adjust throughput in order to achieve the desired response time. In my mind I pictured a horizontal line that is the target, and a sinusoidal line that is the actual response time that varies according to load. If I could just figure out how to dampen that curve, I would have the magic [...]