Reference
apdex

apdex - Calculate and report Apdex scores

Overview

Apdex (opens in a new tab) is an open standard for turning response time measurements into simple scores that reflect user satisfaction with the service. With the apdex plugin Artillery can track and visualize those scores for you.

Usage

Enable Apdex scoring by loading the official apdex plugin in the config section of your test definition:

config:
  plugins:
    apdex: {}

You can then run your load test as normal. The plugin will report 3 additional metrics for each test:

  • apdex.satisfied - number of requests that have been served faster than the predefined threshold value
  • apdex.tolerated - number of requests that are classified as "tolerated"
  • apdex.frustrated - number of requests that were too slow

The overall Apdex score will be printed at the end of the test run.

Plugin Configuration

The default threshold value is 500 (in milliseconds). The value may be customized. For example to reduce the value to 200:

config:
  plugins:
    apdex:
      threshold: 200