What is continuous performance testing (performance-as-code), and what does it involve as a practice?
Last updated
Load tests are written as versioned code (e.g.
k6,Gatling) stored and reviewed alongside the application source.Tests run automatically on commit or deploy, with codified pass/fail thresholds (e.g.
http_req_duration p(95)<500) that gate promotion.Short API-level checks run often while full-scale tests run less frequently. Results feed dashboards so trends and regressions stay visible.
- https://grafana.com/docs/k6/latest/testing-guides/automated-performance-testing/
- https://www.invensislearning.com/blog/what-is-performance-testing/
- https://grafana.com/docs/k6/latest/reference/integrations/
- https://grafana.com/blog/load-testing-tools-open-source-considerations-for-homegrown-solutions/
- https://gatling.io/blog/test-as-code
- https://gatling.io/blog/performance-testing-ci-cd
- https://gatling.io/blog/load-testing-best-practices
- https://gatling.io/blog/performance-testing-developers