|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Test /Perf test MDB's |
« View previous topic :: View next topic » |
Author |
Message
|
teal |
Posted: Mon Jan 24, 2005 3:08 pm Post subject: Test /Perf test MDB's |
|
|
 Acolyte
Joined: 15 Dec 2004 Posts: 66
|
I have an mdb on a was server with an inbound queue and reply queue. What would be the best way to go about testing the durability of the MDB
like what tool do you guys use to stress test/perf test
Also,
What is the best ways for me to try to break it, like send funky data/headers to have it test the whole REQUEUE Backout queue process.
thanks for the advice |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Jan 25, 2005 3:50 pm Post subject: Re: Test /Perf test MDB's |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
teal wrote: |
What is the best ways for me to try to break it, like send funky data/headers to have it test the whole REQUEUE Backout queue process. |
You should have some kind of logic in your MDB to test for a message you "don't understand". Whatever this is, you can use amqsput (or something similar) to put this kind of message. Your program should rollback the message and it should eventually get to the backout queue. |
|
Back to top |
|
 |
slaupster |
Posted: Thu Jan 27, 2005 1:56 am Post subject: |
|
|
Apprentice
Joined: 17 Nov 2004 Posts: 41
|
as far as stressing it goes I find the only way is to simply see how fast it can consume messages., but I'm sure there are some proper tools that you can pay for. I use logging and the PMI metrics from WAS to do analysis on this. The metrics are actually quite good!
To test the backout deal, I use RuntimeExceptions that I throw these based on logic in the MDB itself. These are useful because they are unchecked/checked - whatever way round it is, so that you do not have to delare it in the method throws clause, or catch it in a try/catch, just like exceptions that you don't expect. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|