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 » General IBM MQ Support » MQ Testing

Post new topic  Reply to topic
 MQ Testing « View previous topic :: View next topic » 
Author Message
Pavan Kumar PNV
PostPosted: Wed Mar 18, 2009 2:44 am    Post subject: MQ Testing Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

Any pointers on how typical test cases would look like for applications that use MQ look?
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
WMBDEV1
PostPosted: Wed Mar 18, 2009 2:52 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Question is a little vague, but you could try something like....
1) put test message to the queue
2) check the response message is as expected or that the data got updated correctly - ie check the application has done what its supposed to!
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Wed Mar 18, 2009 3:02 am    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

I am trying to write a set of re-usable components that can be used by application developers for their interaction with MQ. For this I am trying to gather how typical test cases look. For instance, how often do applications use dynamic queues and if using them, what would those testing requirments look like.
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
mqjeff
PostPosted: Wed Mar 18, 2009 3:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Here are some things you don't need to test.

    That persistent messages survive a queue manager restart.
    That messages will be delivered across a channel if the channel disconnects and reconnects.
    That MQ will do everything required to deliver a message once it has told you that it has accepted the message.
    That MQ will not accept individual physical messages larger than 100MB.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Mar 18, 2009 3:16 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

I'm guessing the testing requirements for using a temporary queue will be the same as those for using a normal queue.....

Can the application put / get the messages from the queue as expected?

As to whether you use dynamic queues or not this really depends upon the messaging patterns you wish to use (eg dynamic q vs static queue where applications get responses by correlid), once these are decided you could then add testing requirements to ensure these patterns arent violated.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Mar 18, 2009 4:19 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Pavan Kumar PNV wrote:
...how often do applications use dynamic queues...


As often as they need to create them! The application design will dictate whether temp dyn, perm dyn, or 'static' queues are required.

My own take on this sort of thing is to have input to the development process, e.g. best practice documents, enforced standards etc., but DON't do their work for them...an example follows: http://www.mqseries.net/phpBB2/viewtopic.php?t=48268
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
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 » General IBM MQ Support » MQ Testing
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.