SoapUI Fails to terminate the Test
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2012
10:30 PM
04-22-2012
10:30 PM
SoapUI Fails to terminate the Test
Hi,
I'm using following code in groovy script step to exit out of test case but soapUI 4.0 fails to exit when the condition is met. I'm attaching the screenshot of the window where the load test has done more than 5001 loop.
Is it possible to exit the load test when certain count as in 'cnt' colum is reached. Ideally during the test we want to send 'x' no of Find request & exit out when it is reached
if( context.loopIndex == null )
context.loopIndex = 0
if( ++context.loopIndex == 5001 )
{
if( context.LoadTestRunner!= null )
context.LoadTestRunner.cancel( "Achieved TPS" )
}
Thanks in Advance for your reply
I'm using following code in groovy script step to exit out of test case but soapUI 4.0 fails to exit when the condition is met. I'm attaching the screenshot of the window where the load test has done more than 5001 loop.
Is it possible to exit the load test when certain count as in 'cnt' colum is reached. Ideally during the test we want to send 'x' no of Find request & exit out when it is reached
if( context.loopIndex == null )
context.loopIndex = 0
if( ++context.loopIndex == 5001 )
{
if( context.LoadTestRunner!= null )
context.LoadTestRunner.cancel( "Achieved TPS" )
}
Thanks in Advance for your reply
0 REPLIES 0
