Posts: 4
Threads: 3
Joined: Oct 2008
Reputation:
0
02-21-2011, 09:37 PM
What if I want to put a threshold value on each step and interrupt/terminate my performance test with a failure status if that threshold has been exceeded ???
Can anyone elaborate on how to achieve this using QTP 9.2 ??
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
02-23-2011, 08:00 PM
(This post was last modified: 02-23-2011, 08:01 PM by basanth27.)
Your requirement is achieveable. But i am unsure if this will suffice or aid your object. The reason i say is because you use the word " performance" which qtp virtually supports. I wouldnt suggest you monitor performance with qtp.
Answer to ur qn would you for you to use the timer keyword or transaction(qtp help) and then calculalte the threshold and use exit test to stop the test or reporter event to report the results per your need.
Your requirement is achieveable. But i am unsure if this will suffice or aid your objective. The reason i say is because you use the word " performance" which qtp virtually supports. I wouldnt suggest you monitor performance with qtp.
Answer to ur qn would be for you to use the timer keyword or transaction(qtp help) and then calculalte the threshold and use exit test to stop the test or reporter event to report the results per your need.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.