# API testing services: automated API tests in your repository, run in CI on every change

> API Testing Services and API Test Automation | Zapple.Tech. Canonical page: <https://zapple.tech/services/api-server-side-test-automation/>

When a change to one service breaks the apps and partners that call it, and nobody notices until a screen fails, our API testing services and API test automation services catch it at the API. We test your endpoints and back-end services: contracts, business rules, data and access rules, checked on every change in your CI, so a broken rule fails a test before it reaches a consumer. The tests live in your repository, in your framework or one chosen with you for a new suite. AI agents draft routine cases and propose repairs; an engineer reviews each one before it is merged. We start with a one-week audit that ranks your endpoints by risk.

## What you can order

- **Automated API tests for your endpoints**: Calls sent straight to the API and checked against what the endpoint is meant to return, so a broken rule fails with the endpoint and the response, not with a screen.
- **Microservices and contract tests**: Service-level tests for each service, and contract tests between services, so that one team's change does not quietly break another team's code.
- **Database checks behind the API**: Data written by an endpoint is read back and checked, so a request that returns success but stores the wrong thing is caught.
- **API checks for web and mobile apps**: Many rules are cheaper to check below the screen. We test the API that a web or mobile app talks to, so the browser and device suites can stay small.

## What our API testing services and API test automation services cover

The API is the layer your web app, mobile app and partners talk to. For each endpoint we check:

- **Contracts:** status codes, response schemas and required fields, so a change that breaks a consumer fails a test.
- **Business rules:** the rules that live in the service, such as who can cancel an order or when a discount applies.
- **Data:** what an endpoint wrote, read back from the database, not only what it returned.
- **Access rules as specified:** a user without the role gets a refusal. This is a functional check of a rule your team wrote down.

Internal, private and partner APIs are in scope. Which kinds of API you have, for example REST, SOAP or GraphQL, is agreed in the audit. This is web services testing, and backend testing services in the plain sense, at the level where the rules are cheapest to check. Server-side here means your back-end services, not experiments served from a web server. The screens that sit on top are covered by [web test automation](/services/web-test-automation/) and [mobile test automation](/services/mobile-test-automation/).

The system as a chain, with several services, databases, queues and third parties working together, is covered by [integration testing](/services/integration-testing-services/). Looking for weaknesses nobody wrote a rule for is [security testing for your APIs](/services/security-testing/). Behaviour under load is [load and performance testing](/services/performance-testing/).

Whichever API testing company you choose, the tests should end up in your repository, readable by your own developers. Ours do.

## Microservices and contract testing

Microservices testing starts from one fact: with microservices, a change in one service can break another team's code without breaking its own tests. We write service-level tests for each service and contract tests between services, so the consumer's expectations are written down and checked on every change. Where a service is not ready yet, tests run against a test mode or a stand-in, and the audit lists which ones you need.

## How API tests run in your CI

The suite runs on every pull request. Where the API allows it, each test creates the data it needs and removes it afterwards, so one run does not depend on what the last run left behind. The same checks serve as [regression testing](/services/regression-automation-testing/) for the API.

Every red run is labelled with its cause: a defect in the service, a fault in the test, or a fault in the environment. An API failure comes with the request and the response, which makes the cause easier to see than in a browser test.

## Your API framework, or one that fits your stack

If you already have API tests, we start from them, and repair work is covered under [test maintenance](/services/automated-testing-maintenance/). For a new suite the framework should fit the language your services are written in. The choice and the reason are written into the audit report.

Zapple.Tech was founded by the founders of CodeceptJS and Codeception, open-source testing frameworks. Codeception can be used to test REST and SOAP endpoints. So when our engineers choose how to test your APIs, or keep the setup you have, they work at a company whose founders wrote API testing support into a framework other teams use. See [Codeception support](/codeception/).

## Where AI agents help with API tests, and where engineers decide

Agents are useful for the dull parts: turning your API description into a first set of tests, and proposing a fix when an endpoint is renamed or a field changes. Engineers review each change before it is merged. Agents run only against your test environments.

An agent does not know which rules earn or cost you money, and it will assert whatever the API returns today, including a bug. For journeys that cross several screens and systems, see [end-to-end testing with AI agents](/services/agentic-e2e-testing/).

## When API tests are the wrong first step

If your product has no stable API yet and the interface changes every week, tests would be rewritten faster than they run. If the real problem is what the screens look like, start with the screens. And if nobody on your side can say what a correct response is, that answer has to come first. The audit tells you which of these applies, and its report stands on its own.

## From audit to API tests in your CI

1. **API test audit:** about one week. The ranked endpoints, the stand-ins you need and a plan for the pilot.
2. **Pilot:** two to six weeks. Tests for the highest-risk service, running on every pull request.
3. **Ongoing:** tests added as endpoints change, through [QA outsourcing](/services/qa-outsourcing/), a [dedicated QA team](/services/dedicated-qa-team/) or [engineers who join your team](/services/hire-test-automation-engineers/).

There is a decision point after each step, and nothing after the audit is assumed. Prices are not published; the quote comes within one business day. Other test types are listed under [test automation services](/services/).

## What API test automation does not solve

API tests repeat the checks you chose on every change, quickly and in the same way each time. Deciding what the API should do stays with your team.

- API tests check the rules someone wrote down, so an unclear rule stays unclear. The audit lists the rules that need an owner before a test can be written.
- Green API tests do not show that the screens work. Browsers and devices are covered by web test automation and mobile test automation.
- Tests against stand-ins do not prove that the live third-party service behaves the same. How your systems work together with real partners is covered by integration testing.
- Functional API tests check that access rules work as specified. They do not search for security weaknesses or measure capacity under load; those are security testing and performance testing.
- A case an agent drafted from your API description checks what the description says. If the description is wrong, so is the test, which is why an engineer reads each draft against the rule it claims to check.

## What API tests cover, and which other service covers what they do not.

| What you want checked | Service | How it differs from API tests |
| --- | --- | --- |
| Contracts, business rules, stored data and access rules as specified | API testing | Calls go straight to the API and are checked against what the endpoint should return |
| Screens in browsers and on devices | Web or mobile test automation | Green API tests do not show that the screens work |
| Several services, databases, queues and third parties working together | Integration testing | Covers the chain with real partners; stand-ins do not prove the live service behaves the same |
| Weaknesses nobody wrote a rule for | Security testing | API tests check access rules as specified; they do not search for weaknesses |
| Behaviour under load | Performance testing | API tests do not measure capacity under load |

## How the work runs

1. **API test audit** (About one week): We read your API description, if you have one, call the main endpoints in a test environment and read the API tests you already run. Access to environments, test data and tools is agreed before the week starts.
2. **Pilot** (Two to six weeks): API tests for the highest-risk service, running in your CI on every pull request. Routine cases are drafted with AI agents where that saves time and are merged after an engineer's review.
3. **Ongoing** (Monthly): New endpoints and changed rules get tests as they ship, and each red run is labelled with its cause. It can run as QA outsourcing, a dedicated QA team or engineers who join your team.

## FAQ

### What do API testing services include?

Automated tests for your APIs and back-end services, written in your repository and run in your CI. They cover contracts, business rules, the data an endpoint writes, and access rules as specified. Load testing, security testing and the chain of systems working together are separate services, linked on this page.

### What is API test automation, and why automate API tests?

An API test calls the API directly and checks the response and the stored data, with no browser or app in between. Because there is no screen, a failure points at the endpoint, and the same check can run on every pull request. The rules that your developers change most often are good candidates.

### Which API types and frameworks do you work with?

The types of API in scope, for example REST, SOAP or GraphQL, are agreed in the audit. Your existing tests and framework come first. For a new suite the framework should fit the language your services are written in, and the choice and the reason are written into the audit report. Zapple.Tech was founded by the founders of Codeception and CodeceptJS, so the report says plainly if either is on the list.

### Do you test microservices?

Yes. Each service gets service-level tests, and contract tests between services catch a change that would break a consumer. Services that are not ready are replaced by stand-ins. For several services, databases and third parties working together as a chain, see integration testing.

### What happens when an API test fails?

The run is labelled with its cause. A defect in the service goes to your developers with the failing request and response. A fault in the test is ours to fix. A fault in the environment, such as a dependency that was down, goes to whoever owns that environment.

### Can AI write our API tests?

An AI agent can draft routine tests, for example from your API description, and propose a repair when an endpoint changes. An engineer reviews each change before it is merged. Agents work only against your test environments, and which environments, which test data and which AI provider is agreed before the start. Which rules matter is not something an agent decides.

### Do API tests cover security and load?

Access rules are checked as functional tests, for example that a user without a role is refused. Searching for security weaknesses is security testing, and measuring behaviour under load is performance testing. Both are separate services.

### How much do API testing services cost?

There is no public price list. The size of the quote follows the number of services and endpoints, how much of an API suite you already have, and how many environments the tests must run in. List the services that matter and you get a scoped quote within one business day.

[Request an API test audit quote](https://zapple.tech/services/api-server-side-test-automation/#start)
