Author |
Message
|
mqsi_test |
Posted: Wed Jul 31, 2002 9:53 pm Post subject: message flows |
|
|
Newbie
Joined: 31 Jul 2002 Posts: 4
|
Hi
I developed a couple of message flows and want to test them by pumping
1000s of messages at once. IBM support pac - IH03 is not at all helpfull.
Is there any free tool or any other ibm support pac which can read multiple messages from a file and put them all on the queue.
tq |
|
Back to top |
|
 |
sgopal |
Posted: Thu Aug 01, 2002 10:11 am Post subject: |
|
|
Acolyte
Joined: 30 Jul 2002 Posts: 63
|
From what you say, looks like MQ Sample programs are sufficient.
Chk out amqsput0.c
Thats should suffice your need. You should be able to find it under
<MQ Root>\Tools\c\samples folder of your mq installation. |
|
Back to top |
|
 |
kirani |
Posted: Thu Aug 01, 2002 9:18 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
amqsput utility has a limitation of 100 characters. If you have message longer than 100 chars, this utility might not work for you.
Have you tried supportpac IH02? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
mqsi_test |
Posted: Mon Aug 05, 2002 9:32 pm Post subject: |
|
|
Newbie
Joined: 31 Jul 2002 Posts: 4
|
Kirani
IH02 is only capable of dumping single message queue at a time.
I require a utility which can post multiple messages in a queue.
In your experience, have you had a requirement to test your message flows by posting multi-messages at a time (say 1000) ?
My input message length may be 200 characters and I can have them available in a file. My required utility needs to read from the file and put them on the queue. I guess this is how you test in most of the cases.
Advise me. |
|
Back to top |
|
 |
kirani |
Posted: Tue Aug 06, 2002 6:19 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
It is very easy to modified the amqsput program to read data from file and put them as messages on input queue. You could try doing the same _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
jhalstead |
Posted: Wed Aug 07, 2002 12:28 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Support pack MS0H is the boy for you. This will allow you to put many instances of a test message on a queue either from a queue or a file. You can also specify a millisecond sleep interval between puts if you like....
Its a standard client application and seems to work quite well.
J |
|
Back to top |
|
 |
mqsi_test |
Posted: Wed Aug 07, 2002 7:04 pm Post subject: |
|
|
Newbie
Joined: 31 Jul 2002 Posts: 4
|
Jhalstead
thanks
I checked out the tool MSOH. Its great tool for monitoring.
when i try to generate messages from the file, as soon as i click on generate button, whole application stops & disappears.
my file has only 1 byte message and i specified no. of messages to generate as 1. do i need to setup something else ? reply me please. |
|
Back to top |
|
 |
|