ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Automated regression testing tools and/or techniques.

Post new topic  Reply to topic
 Automated regression testing tools and/or techniques. « View previous topic :: View next topic » 
Author Message
tbt102
PostPosted: Sun Jul 13, 2003 2:50 am    Post subject: Automated regression testing tools and/or techniques. Reply with quote

Apprentice

Joined: 21 Apr 2003
Posts: 28

Hi all,

Are there any automated regression testing tools and/or techniques for WMQI?

I realize that every project/flow is different but I'm hoping for something generic that will assist.

Thanks in advance for any help.
Back to top
View user's profile Send private message
zpat
PostPosted: Sun Jul 13, 2003 11:55 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

The free RFHUTIL program (support pac) is very useful as it can copy files to messages and vice versa.

Testing MQSI essentially just means replaying messages in and comparing output messages out. Therefore anything that can covert files to messages (and vice versa) will allow use of standard file comparison programs.

CommerceQuest make an extension to Load Runner - call MQTester.
Back to top
View user's profile Send private message
lung
PostPosted: Sun Jul 13, 2003 5:24 pm    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

zpat wrote:
The free RFHUTIL program (support pac) is very useful as it can copy files to messages and vice versa.
The SupportPac is IH03.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
JLRowe
PostPosted: Mon Jul 14, 2003 7:12 am    Post subject: JUnit Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

If you know java then check out Junit. I have used it to write unit tests that submit a message and then check the response from each output queue. There is an extension called DBUnit, that allows you to seed (populate a table with known contents) a database and check the results.
Back to top
View user's profile Send private message Send e-mail
Michael Dag
PostPosted: Tue Jul 15, 2003 3:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

to verify translations still work, i.e. when moving to another release of a component (broker, database, etc) we setup a simple procedure with files and directories.

IN directory contains input files say format1.txt
OUT directory will get the output format from the broker say format1.out
VERIFIED directory contains verified output from the broker say format1.ver

We modified the sample amqsput and get version that puts the filename say format1 in the mqmd, then when the message gets back onto the queue (from the broker) we do a get and put the message into the file with the name from the mqmd.

After all messages are sent through the broker a compare is done of the files in the OUT and VERIFIED directories. This will point you to errors in seconds rather then hours and it is very simple...

So when adding a format, you add the input to IN, run the file through the broker, verify the output and copy the file from the OUT to the VERIFIED directory.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
m.schneider
PostPosted: Mon Jul 14, 2008 10:29 pm    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2007
Posts: 132
Location: Germany

Has someone the code for automated testing with JUNIT?

Which tool is best suited for automated testing? MA0T or JUnit or are there any other good tools?

Thx
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jul 15, 2008 12:20 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Its all down to two things
- Personal Choice
- Environment

The scenario that Michael Dag presented is great for WMQ Messages. It is repeatable, verifyiable and auditable and is also Simple and Extensible.

If your system is lots of J2EE, WebServices, SOAP, HTTP etc then this approach may not be practical.

If you make the testing methodology complex then the less likely toy are to get meaningful results from it as doubts about the testing procedure itself can obscure the real results.

If you can, use tools/methods that follow the KISS principle. You won't regret it.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Automated regression testing tools and/or techniques.
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.