4

I want to establish the benchmark behavior of my API through performance testing.
The purpose is to ensure that the product meet or exceed requirements such as:

  • Throughput
  • Response time
  • Stability
  • Resource usage

Some of KPIs I'm aware of:

  • Average response time
  • Max connexion number
  • Success rate

Is there a number of other industry-defined KPIs and what are the most important metrics to consider when stress testing an API ?

0

May I suggest taking a look at JMeter (https://jmeter.apache.org). It's pretty much the OO standard for performance/load testing and comes with a lot of predefined report/KPI output types (https://jmeter.apache.org/usermanual/generating-dashboard.html). We use it extensively as part of our deployment chain for post build/deploy reporting on test environments. During maximum load testing we stream JMeter performance metrics into InfluxDB and visualise them realtime using Grafana https://grafana.com/grafana/dashboards/13644.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.