Forum Discussion

joe_x's avatar
15 years ago

using Load Test

Hi,

I would like to enquire on the statement/ sentence printed on the link http://www.soapui.org/Load-Testing/load ... ution.html
about load test.

In the TPS / BPS Calculation section, mentioned this sentence:
.....We'll run this with 10 threads for 10 seconds, which theoretically should result in 100 executions of our TestCase;

How do u get the 100 executions? (What formula to use, etc.)

Thankx.

1 Reply

  • Hiya,

    What you need is in the sentence preceeding the one that you have quoted.

    To better understand the difference between these two let's create a small example; a TestCase with two groovy scripts, the first sleeping for 900ms, the second for 100ms. We'll run this with 10 threads for 10 seconds, which theoretically should result in 100 executions of our TestCase;


    As you can see, the first script should take 900ms, the second 100ms, a total of 1000ms for each Test Case...that is 1 second for the Test Case.
    As each execution should take 1 second, then 10 seconds of 10 threads should, hopefully, result in 100 executions.

    Hope that helps.
    Geoff