Forum Discussion

irene_smile's avatar
irene_smile
Occasional Contributor
17 years ago

How to stop load testing when count reaches a particular value?

I want to generate load on the database. Say, for example, create a database with 1000 customer records.

I want to use load testing ability of SOAPUI to populate database.

Is there a way to automatically stop load testing when count reaches a particular value?

Thanks!

3 Replies

  • Hi!

    What count do you mean here? You can set the LoadTest Limit to 1000 runs maybe?

    regards!

    /Ole
    eviware.com
  • irene_smile's avatar
    irene_smile
    Occasional Contributor
    By count, I mean value of cnt column in the statistic table.

    It indicates the number of rows created in database. For example: Stop load test after sending the request to create an employee 1000 times.

    This will ensure that there are 1000 rows in db in employee table.
  • irene_smile's avatar
    irene_smile
    Occasional Contributor
    I found the solution - I had to change the limit to be # of test-runs instead of the default # of seconds.

    Thanks!