Contributions
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 reply12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes0CommentsRunning Simultaneous User Transaction for Load Scnearios
Hi Ole, Our intention to use LoadUI is to simulate thousands of user where each user represent the test case with 65/66 steps. This boils down to '2-3' user per second starting the test case in parallel. The aim is to trigger the test case/users in parallel (not the completion of the run) for given amount of time to form a Test Run & let it complete based on processing capability of target Software under test. Example Load Test Scenario: The Load UI tool should allow initiation of 1800 user/Test case in the gap of 900 seconds. In essence 1800 test case should have started the run @ of 2 user/Test case per second (for evenly spreading out the load for the duration) not essentially ensuring completion (in 900 sec) as it depends on the response time & other network related factors. We ideally want to run this in a loop to generated intended load towards target software by loading one Test Case & inputting users from Data Source file The closest match that i found on forum to my question states that I need to run SoapUI runner for each TestCase/user that I wish to run? viewtopic.php?f=10&t=7181&p=20863&hilit=virtual+user#p20863 I found that using "Virtual User" as runner only ensures that Test steps or request are evenly spaced not the individual user/Test Case. Creating individual test runner (5k) for say 5k user is just not scalable & i'm not sure the loadUI tool can support such scenario. Is there any alternate ways to achieve our goals. Let me know if you need any more info on this topic Thanks in Advance for your reply!13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes1Comment