Skip to end of metadata
Go to start of metadata

The Goal-Oriented Load pattern helps to determine how many VUs are required to reach a specified performance goal. In a goal-oriented test, the VUs are ramped up similar to the Step Load pattern, but without setting the Max VU property.

To configure Goal-Oriented Load, in the Load Pattern node, click the Edit goal-oriented load pattern button to bring up the Goal-Oriented Test Options dialog.




There are 2 types of performance goals that are supported: Requests per second and Transaction time.

Requests per second goal

With this goal, the number of VUs ramp up until a specified request per second rate is achieved.

Set the Goal Type property to Requests per second and Request-per-second-goal to the desired request per second rate.

Transaction time goal

With this goal, the number of VUs ramp up until a specified transaction reaches a specified response time.

Set the Goal Type property to Transaction time. Then select Transaction name goal from the list of transactions and set the Transaction time goal to the desired transaction response time.

Setting up a goal-oriented test

A goal-oriented test ramps up VUs until the desired goal is met. The current goal value is calculated at set graph intervals by taking the average value of data points in the evaluation interval. The curve whose data points will be evaluated depends on the goal criteria.

Set the Graph sample rate (s) to the frequency of every data point and Goal sample count to the number of points to average to calculate the current goal.

For example: for a graph sample rate of 5s and 4 goal sample counts, the goal will be evaluated every 20 seconds by taking the average value of the 4 points.


Test time

A goal-oriented test will run until the goal is reached. Set the Time to reach goal to a maximum time to try to achieve the goal. If the goal is not achieved after this time, then the test will stop and marked as Goal not reached.

Additionally, set the Continue test after goal reached a time to continue the test if and when the goal is reached. If the goal is not reached, then this value is ignored.

VU ramp-up

StresStimulus will ramp up VUs until the goal is reached.

Set the Start goal VUs to the number of VUs to start the test with.

Set Increase goal VUs to the number of VUs to increase by every goal evaluation period.

Set Max goal VUs to the maximum number of VUs to increase to. The goal may be reached before this number of VUs is reached.

Goal-oriented test runtime

During a goal-oriented test, the test progress table will display the goal progress.

6.2.2
  • No labels