Forum Discussion

groovyguy's avatar
groovyguy
Community Hero
6 years ago

Trying to figure out how to do this Load Test

I'm relatively new to using LoadUI and I am trying to figure out the best way to handle this certain sort of scenario, and the best way to design this particular Load test. I'm definitely open to sug...
  • nmrao's avatar
    6 years ago
    If I were to do, first design the test in SoapUI.

    Get all the unique ids and save them into a flat file. Assuming that all these ids are existing ones from Webservice1. On contrary, if you do not have data available in flat file, then first create that in separate test so that sufficient data is available for the load test of Webservice2 (hoping that this is the main one targetted for load test)

    Now the actual test is to be created with below steps:
    a. Data source step which reads the flat file with unique ids
    b. SOAP Request step (for webservice 2)
    c. Continue the loop for data source step

    Now, create flat file with small data set. This is to make sure that all the data is looped thru correctly.

    Next step is to create the load test and use the appropriate strategy / how long the test should run etc. Execute it with same sample data set.

    If all goes fine, then use the full data file and test it.

    Load tests can be iterative as to see how the application performance with given test parameters such as number of threads (users), time period and see the through put.
    Try to find out changing test parameters which gives the maxmum throughput.


    I believe, that the same project can be run from Load UI as well, haven't tried though.

    Hope this helps!