API Load Testing
Services for Launch Day

PFLB provides API load testing services for teams about to launch a product. This page is for CTOs, engineering leads and QA managers who need someone to stress test an API before launch: it covers what we test, how the engagement runs and what evidence you get. Our engineers stress test your REST, SOAP or gRPC API, measure where response time and errors break down, and run the test again after your fix. Founded in 2008, with 150+ engineers, 300+ companies served and a SOC 2 Type II report.

Where APIs Break First at Launch

  • The Launch Peak Nobody Rehearsed

    A launch sends high traffic to the same endpoints in the same minute. An API that answers one request quickly can still fail when concurrent users arrive together, so the test has to reproduce real-world traffic patterns, not only the number of requests.

  • Limits You Did Not Set

    Database connection pools, gateway rate limits, thread pools and autoscaling delays decide the real ceiling. Stress testing pushes past the maximum load until the first one gives way, and our performance analysis tells you which one it was.

  • Dependencies You Do Not Control

    Payment, identity, messaging and partner APIs slow down on their own schedule. We emulate the neighbors that are out of scope and keep the rest real, so a slow dependency shows up in your numbers before it shows up in production.

  • Failure That Looks Like Success

    A fast reply with the wrong content is a failed request, and a throttled load generator produces a comfortable, meaningless result. Assertions on every response and a check that the test itself is not being rate limited keep the test results honest.

From Technical Discovery to a Validated Fix

Our API Performance Testing Process

  1. Technical Discovery

  2. Environment and Access

  3. Workload Model

  4. Scripts and Shakeout

  5. Load and Stress Runs

  6. Fix and Re-Run

One Documented Service-Layer Engagement

A Service Layer Tested at 30,000 Transactions per Second

  • 15,000 TPS in standard mode
  • 30,000 TPS at maximum mode
  • 0.5 s target response time

All three figures come from one engagement on the customer profile service of a large bank's platform; response time is measured from the service bus and back. The client is confidential.

Service Layers PFLB Has Tested

Published engagements: a bank service layer under load, two web services at a yearly peak, and an emulator for testing subsystems in isolation

A Financial Platform at 30,000 TPS on a Two-Week Release Cycle

5 min read

A customer profile module integrated with 6 external systems was tested at two levels, the module and the integration, before every release that shipped every two weeks. The load profile came from the previous year's production peak.

Read full case

800 Registrations in 5 Minutes, Tested Before September

6 min read

An e-learning provider expected a registration peak every September. PFLB emulated 800 registrations in 5 minutes and 1,000 questionnaire submissions an hour. The client's own repeat runs on the PFLB platform showed one service with a configuration that was slow under stress, and PFLB engineers ran the root cause analysis behind the fix.

Read full case

A REST Emulator for Testing a Service Without Its Neighbors

6 min read

A government document system communicated over REST between subsystems. PFLB built a Java emulator so each subsystem could be tested on its own while its neighbors were missing, with response time and refusals set per test. This is a tool for isolation, not a load test.

Read full case
More Cases

What We Test in an API

  • REST and JSON APIs

  • SOAP and Enterprise Service Bus

  • gRPC and Microservices

  • Third-Party and Partner Dependencies

  • Gateways, Throttling and Authentication

  • Launch Peaks and Soak Runs

Security Answers Before the Call

What a vendor review asks first, answered here so the call can be about your API.

Ready to Find Your API's Limit?

Tell us which API you plan to launch and what peak you expect. A performance engineer replies within one business day, and the call is booked on the next step.

Frequently Asked Questions about API Load Testing Services

Who can run stress tests on our API before a product launch?

Three options exist. Your own engineers can run load testing tools such as k6, Apache JMeter or the PFLB platform, which works well when someone on the team has the time and has built realistic test scenarios before. A specialist company such as PFLB models the launch peak, builds the test scripts and emulators, runs the stress test, diagnoses the bottleneck and repeats the run after your fix. A freelancer fits a small, well-defined endpoint. The deciding factors are the launch deadline, how complex the API chain is, and who will read the results.

Why does an API need load testing before launch?

A problem found before launch costs less than the same problem found in production, where it means outages, refunds and emergency fixes. Load testing matters most for payments and e-commerce, where one failed request can be a lost payment. A launch is also the first time real traffic reaches the API, so it is the worst moment to learn its limit.

What is API load testing, and how does it work?

API load testing sends requests from many simulated users to an application programming interface and measures how it behaves as traffic grows. Load generators produce the requests, monitoring records response time, error rate and resource utilization, and the team compares the numbers with the targets agreed for the launch. It shows whether the API supports heavy loads in real-world scenarios and where performance issues start, before customers find them.

What does an API load testing service include?

A written test plan and workload model, test scripts with data extraction and assertions, test data, emulators for outside dependencies, load, stress and spike runs, monitoring of the API and its servers on one timeline, a report with actionable performance metrics that names each bottleneck, and a repeat run after your fix. The scripts stay in your repository, so the same checks can run on every release in a CI/CD pipeline after handover.

What is the difference between load testing and stress testing an API?

Load testing runs the expected traffic and checks that response time and error rate stay within your targets. Stress testing exposes the API to loads beyond its limits to find the breaking point, and shows how the API fails and whether it recovers. Before a launch you want both: the first tells you whether you can open the doors, and the second tells you how much room is left.

How is API load testing different from functional testing?

Functional testing checks that each call returns the right answer for a single user. Performance testing checks that the answers stay right and fast when thousands of users call at once. A launch needs both, and the functional test suite is a good starting point for load test scripts.

Which performance metrics decide whether the API passed?

Response time per endpoint at p95 and p99, throughput in requests per second, error rate, concurrent users and server saturation, read in the same run. There is no single universal target. A login call and an overnight export need different limits, so the pass criteria are agreed before the first run.

How many virtual users should we test with?

The number comes from your launch forecast, not from a round figure. We convert expected sign-ups, sessions or partner calls into an arrival rate per endpoint, then test that rate and a multiple of it. If you have no forecast, we agree the assumptions in writing and test how much the result changes if they are wrong.

Can you test REST, SOAP and gRPC APIs?

Yes. REST and SOAP traffic is built from your documentation or collections, and for gRPC the method definition comes from a PROTO file. Published work is a bank service layer behind an enterprise service bus under load, a retail integration bus loaded with XML sent over SOAP, and a REST emulator for a government system. We have not published a gRPC case, so that scope is agreed in writing.

Which tools do you use?

The tool follows the protocol and your team. In the published bank engagement load was generated with LoadRunner, in the retail SAP engagement with LoadRunner and Apache JMeter, and cloud runs use the PFLB platform. If your team already keeps Apache JMeter or k6 scripts, tell us on the discovery call and we will say whether we reuse them.

Do you test the API in production?

The standard engagement runs in the test environment you provide, with data and capacity close enough to production environments to extrapolate from. Anything that touches production is a separate decision made with your team before any load is generated.

How do you test an API that depends on services we do not control?

We emulate them. In a published government document system case, PFLB built a REST emulator with a set response time, forbidden answers and custom replies, so each subsystem could be tested without its neighbors. The same approach lets you rehearse a slow payment or identity provider before launch.

When should we run an API stress test relative to the launch date?

Early enough to fix what it finds and run it again. A test in the week of launch can tell you there is a problem, but a fix and a repeat run need time. Book it when the API is functionally stable and the test environment exists, make it a regular part of the software development lifecycle, and repeat the run before every major release.

Should we use a tool or a service for API load testing?

A tool is enough when your team already knows the API, the workload and how to read the results. A service fits when the launch date is fixed, the team has not run a realistic stress test before, or the API depends on systems that need emulators. Some teams start with a service for the first launch and keep the scripts for the next one. The comparison of managed testing and tools covers the trade-offs.

Why do these case studies not all describe pure API tests?

Because that is the published evidence. The bank case loads a service layer behind an enterprise service bus, the retail SAP case loads an integration bus with XML over SOAP, the e-learning case loads two web services at their yearly peak, and the government case is an emulator for testing REST subsystems on their own, but none of them is described as a public API product launch. The areas under "What We Test" describe scope; what each engagement covers is agreed in writing.