Forum Discussion

gok22001's avatar
14 years ago

SoapUI Test case Iteration in LoadUI

Hi i am new to loadUI and soapUI. I have built a test case in SoapUI to purchase a product online by registering as a new user. The Test steps are as follows.
1. Select Product
2. Data source( with 10 new user credentials and email id)
3. Register New User
4. Payment Details
5. Order confirmation
6. Submit Order
7. Datasource loop (to Select Product)

I was able to run the purchase path in a loop for the 10 specified user credentials in the datasource. But i wanted to load test the purchase path to see weather the webservices can withstand the load. When i import this to LoadUI i can run the test case only once( which loops 10 times) and then fails the next time. Is there any other way to load test it without looping and using new user credentials for every run. Please help me out with this. Thanks in advance
  • AndyHughes's avatar
    AndyHughes
    Regular Contributor
    Sounds like you need to do exactly what I need to do. Use LOAD UI to vary the value of a parameter in the request rather than using the data source loop in SOAPUI Pro. I've posted a similar query today, so we'll see what happens.
  • Hi,

    Disable (or delete) the DataSource loop teststep. This way each "run" of the soapUI Runner in loadUI will only run through the steps once instead of 10 times. You also need to make sure that the DataSource is set up to be "Shared" (otherwise each run will get the first row, over and over again), and to "Restart Shared" for the DataSource to restart after the last (10th) row. This setup should get you what you're after.

    Regards,
    Dain
    SmartBear Software
  • loadtester's avatar
    loadtester
    New Contributor
    Dear Support,

    this does not work for me for "fixed rate". For "Fixed Load" it is working perfectly. Do you have any recommendations on how to make it work for Fixed Rate, too?