Define Service Level Agreements
This task describes how to define service level agreements (SLAs).
You can define service level agreements (SLAs) which measure scenario goals over time intervals, or over a whole scenario run. For details, see Service Level Agreements Overview.
Tip: For a use-case scenario related to this task, see Define Service Level Agreements - Use-Case Scenario.
If you are defining an SLA for Average Transaction Response Time, your scenario must include a script that contains at least one transaction.
Run through the SLA wizard
In the Service Level Agreement pane, click New to open the Service Level Agreement wizard. For user interface details, see Service Level Agreement Wizard.
Select a measurement for the SLA.
If you are defining an SLA for Average Transaction Response Time or Transaction Response Time (Percentile), select the transactions to include in your goal.
(Optional) When evaluating SLA statuses over a timeline, select load criteria to take into account and define appropriate load value ranges for the load criteria. For an example, see Define Service Level Agreements - Use-Case Scenario.
Set thresholds for the measurements.
If the Average Transaction Response Time or Errors per Second exceed the defined thresholds, Analysis will produce a Failed SLA status.
If Transaction Response Time(Percentile), Total Hits per run, Average Hits (hits/second) per run, Total Throughput (bytes) per run, or Average Throughput (bytes/second) per run are lower than the defined threshold, Analysis will produce a Failed SLA status.
Define a tracking period - optional
For measurements whose SLA statuses are determined over time intervals, you need to define the frequency of the time intervals, that is, the tracking period. For details, see Tracking Period.
For user interface details, see Advanced Options Dialog Box (Service Level Agreement Pane).
When analyzing your scenario run, LoadRunner Analysis compares the data collected from the scenario run against the SLA settings, and determines SLA statuses which are included in the default Summary Report.