Forum Discussion

jsheph01's avatar
6 years ago

Should I use VUs or Rate?

I am trying to create a ramp up load test and I am not sure if I should be using VUs or Rate. I was looking at the documentation for load type and it says VUs are not restarted for a rate type load t...
  • NBorovykh's avatar
    6 years ago

    Hi jsheph01


    Both "Rate" and "VUs" load types (in combination with the "Ramp Up" load profile) may be used for simulating an increasing load. The option you select and its specific settings depends on the desired throughput, the desired LoadUI behavior when the tested API starts experiencing performance issue under the load and the length of the scenario.


    Both load types should allow you achieving the needed number of requests per second, but with the "Rate" type it may be a bit easier to plan and predict as you don't need take into account the idle periods of VUs lifetimes. Let me clarify this.
    * With the "VUs" load type, before a VU is restarted, LoadUI waits for some time (the "Wait time" parameter). During the wait time, the VU will be counted as working, but it won't be running its scenario (i.e. won't be generating any actual load).
    * With the "Rate" load type, a VU will live only while it will be running its scenario (e.g. it won't have any idle periods during its lifetime).