Author |
Message
|
kumar143 |
Posted: Thu Mar 03, 2011 12:14 am Post subject: Generic Test cases |
|
|
Novice
Joined: 02 Feb 2011 Posts: 14
|
Hello,
Can any one ppost some generic test cases that could be used for all the message flows. |
|
Back to top |
|
 |
j.f.sorge |
Posted: Thu Mar 03, 2011 12:49 am Post subject: |
|
|
Master
Joined: 27 Feb 2008 Posts: 218
|
We are using JUnit in combination with IBM MQ Java API and JDBC in order to test our message flows. _________________ IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
kumar143 |
Posted: Thu Mar 03, 2011 1:48 am Post subject: I am not asking about the tools used for testing |
|
|
Novice
Joined: 02 Feb 2011 Posts: 14
|
I just want some test cases.
I have to prepare a document about the generic test cases which can be used for all the flows.
Its like regarding some common ones like timeout etc., |
|
Back to top |
|
 |
fatherjack |
Posted: Thu Mar 03, 2011 4:09 am Post subject: Re: I am not asking about the tools used for testing |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
kumar143 wrote: |
I just want some test cases.
I have to prepare a document about the generic test cases which can be used for all the flows.
Its like regarding some common ones like timeout etc., |
Well that should be a simple document containing a single line whose contents would be something like "There are none".
How can any test case be generic? Your flows will be different to mine and so will the test cases.
In your example of a common test case of timeout. What if my flow is supporting a fire and forget interface and contains:
MQInput ---> Compute ---> MQOutput
there is no concept of timeout so your generic timeout test case does not apply to my flow.
Now, you may have lots of flows where a common test case can be applied but you'll have to work those out yourself. We don't know anything about your flows I'm afraid. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
kumar143 |
Posted: Thu Mar 03, 2011 4:54 am Post subject: ok I understood buddy |
|
|
Novice
Joined: 02 Feb 2011 Posts: 14
|
There will be some common things likw whether you may pick from a queue or from afile anything there will be some
Performance and Load Test Testing the Performance and Load test
I asked about this type of scenarios. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 03, 2011 5:05 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Why are you asking about these things?
Is someone paying you to tell them these things?
Are you paying us to tell you these things that you can then get paid by someone else to tell them those things? |
|
Back to top |
|
 |
kumar143 |
Posted: Fri Mar 04, 2011 3:50 am Post subject: Generic Test cases |
|
|
Novice
Joined: 02 Feb 2011 Posts: 14
|
There are some generic things when we do some message flows many of them will be useful.
1)if webservice is not responding. TImeout and what will be the error message.
2)if the file input node is not able to read the file bcoz of no permissions to the directory etc.
3)MQ Output to send to the destination and the destination is down. |
|
Back to top |
|
 |
fatherjack |
Posted: Fri Mar 04, 2011 5:12 am Post subject: Re: Generic Test cases |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
kumar143 wrote: |
There are some generic things when we do some message flows many of them will be useful.
1)if webservice is not responding. TImeout and what will be the error message.
2)if the file input node is not able to read the file bcoz of no permissions to the directory etc.
3)MQ Output to send to the destination and the destination is down. |
Perhaps you need to be a bit clearer about what you mean by generic.
1) Is not generic it's specific to flows that call a webservice
2) Is not generic it's specific to flows with a file input node
3) Is not generic it's specific to flows with an MQOutput node.
BTW in no. 3 your message flow won't know if the destination is down. It will only know if your destination queue definition does not exist on your broker qmgr. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
|