Configure SLA#

PRO

SLA (service-level agreement) is non-functional requirements that determine the criteria for the success of the tests performed.

In PFLB Platform, you can add SLA for different scopes:

  • tests

  • transactions

  • requests

To add an SLA, follow these steps:

  1. Open the test project.

  2. Go to the Load profile tab.

  3. Click SLA. The window opens:

    ../_images/um_add_sla.en.png
  4. Select the scope: Test, Transaction, Request.

  5. Click + Add SLA. The window opens, for example, the Request scope:

    ../_images/um_add_sla_request.en.png
  6. If you’re adding an SLA for a transaction, select the transaction of the test. If you’re adding an SLA for a request, select the request and the transaction of the test.

  7. Select one of the metrics:

    • Average response time. Average system response time to a request or transaction.

    • Error rate. The percentage of errors is calculated depending on the scope:

      • transaction: errors are calculated only when executing a transaction, excluding requests.

      • request: errors are calculated only when executing the request.

      • test: errors are calculated only when executing all requests, excluding transactions.

    • Percentile 95. The value which is greater than 95% of response time for the request, transaction or test.

    • Request per second. Number of requests sent per second.

  8. Select one of the conditions: <= or >.

  9. Enter a threshold of the metric (SLA).

  10. In the fields Start and End, enter the period for which PFLB Platform calculates the metric at the end of the test if needed.

  11. Click Save.

To delete SLA, click delete_button.