Performance Testing Rest APIs
summary
Constant Contact builds a reusable REST test library in Groovy/Java that uses Apache HTTP Client for requests, the Akka actor model for non‑blocking concurrency, and Apache Commons Math to compute min/max/avg/stddev/percentiles (including the 95th percentile). Tests hit up to ~1,000 concurrent requests in examples, persist per‑request metrics to a database, run from CI for trending, avoid logging during runs, and report server metrics (CPU, DB connections) via New Relic/Splunk; the system runs in production for a year with no threading failures.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:49Developer Portal
- 3:57Problem Domain
- 4:44Lesson 1 Be Dry
- 13:02Lesson 2 Choose Carefully
- 17:17Back to akka
- 20:07Performance Test Plan
- 26:02ClientServer Statistics
- 28:31Visualization
related talks
38mPerformance Testing sucks! How to get started testing RESTful APIs and GraphQL
45mPerformance Testing and Tuning of Web Applications
01h 10mPerformance Testing Crash Course
50mPerformance Testing Java Applications
16mPerformance testing – under pressure!
35mEvolution of a RESTful Testing Framework
49mFabulous Tests with Spock and Groovy
33mPerformance Testing is not only API
