4. Modifying Load Tests

You have successfully run your first load test. Let's change some parameters and run it again with a different load profile:

  • Switch to the Load page of the Load Test editor.
  • In the Load Type dropdown list, select VUs (simulate user behavior). When this load type is selected, the load profile settings specify the number of virtual users working simultaneously.
  • Click the load scenario. The Editor panel will be displayed.

Editor panel

  • In the Load profile dropdown list, select the Burst profile. It simulates load that varies during the test run as the profile's icon indicates:
    Burst Parameters
  • In Base VUs, enter the minimum number of virtual users to simulate, for example, 5 users.
  • The Burst VUs value shows the maximum number of virtual users to simulate. It is calculated from the load test settings. In our tutorial we have only one scenario, so it takes 100% of the virtual users. Set the VUs parameter to, for example, 10 users.
    VUs parameter

Note: In the basic version of LoadUI NG, you can simulate up to 10 concurrent virtual users. To simulate more users, you need a LoadUI NG Pro license. You can try it for free.

  • In Base duration, enter the time during which LoadUI NG will simulate the minimum number of virtual users, for example, 1 second.
  • In Burst duration, enter the time during which LoadUI NG will simulate the maximum number of virtual users, for example, 5 seconds.
  • In Wait time, enter the time LoadUI NG should wait before restarting the test for each virtual user, for example, 1 second.
    Why restarting is needed: if simulation of some virtual user is over, the number of concurrent users decreases. If this number is less than the number the profile directs to simulate, LoadUI NG runs a new virtual user to reach the needed number.

Run the test. During the test run, LoadUI NG will increase the number of virtual users until the specified maximum is reached. Then LoadUI NG will decrease the number of virtual users, then it will increase it again, and it will continue doing this until the test is over:

Test Run with Burst

  • Examine the test results to see how the performance of your target web service changes under load.

You can click Add Scenario or on the LoadUI NG toolbar to add an additional scenario to the test. This scenario will be simulated in parallel with your initial scenario, so you can create more complex load shapes. You will need to configure it in the same way as described above.

See Also

Help and Feedback

You did not find what you looked for?

© 2016 SmartBear Software

Didn't find an answer? Try searching here: