The Apdex score is based on a uniform scale of 0 to 1.
- 0 = no users satisfied
- 1 = all users satisfied
For example, say 500 ms is configured as the Apdex Threshold,
- If the response time is less than 500 ms, it will be counted as Satisfied
- If the response time is less than (500*4) = 2000 ms, it will be counted as Tolerated
- If the response time is greater than (500*4) = 2000 ms, it will be counted as Frustrated
This calculation is then followed by getting to know the number of visitors for the corresponding response time. For a 5 min poll interval, we get 288 data points per day. Say,
- If the response time is less than 500 ms for 40 times, then the satisfied count will be 40
- If the response time is less than 2000 for 200 times, then the tolerated count will be 200
- If the response time is greater than 2000 ms for 48 times, then the frustrated count will be 48
Thus,
Apdex = (Satisfied Count + Tolerating Count / 2) / Total Samples
=> (40 + (200/2))/288 = (40 + 100) / 288 = 140/288 = 0.486 = 0.47