Load test your APIs and web apps the way real users hit them

REST APIs, web apps and microservices carry most of your traffic. Gatling simulates each user with its own connections, cookies and cache, over HTTP/1.1 or HTTP/2, and checks every response, so you see slow endpoints and errors before your users do.

01 · WHAT GATLING MEASURES

Measure full user journeys, not single endpoints

A 200 status says the server answered. It doesn’t say the response was right, or that the next call in the journey worked. Gatling checks each response, saves the values the next request needs, and measures every step per virtual user.

ONE JOURNEY, UNDER LOAD

From the first request to the last check, in one Gatling test

Request sentGET, POST, PUT, PATCH
Response receivedstatus 200
Body checkedJSON path, CSS, regex
Values savedtokens, IDs, cookies
Next requestchained per user
Status 200Where most tests stop
Full user journey checkedWhat Gatling measures

Every request appears by name in the Gatling report, with response time percentiles and errors.

How Gatling does it

CHECKS

Validate every response

Check status, headers and body with JSON path, JMESPath, XPath, CSS selectors or regex. Save values to the session and reuse them in the next request.

CONNECTIONS

Real clients, not one shared pipe

Each virtual user gets its own connections, cookies and cache. HTTP/2 is one call away, with fallback to HTTP/1.1.

PAYLOADS

Any body your API takes

JSON from templates, files, forms, multipart uploads and gzip bodies, filled with test data from feeders.

02 · USE CASES

Where teams load test HTTP

HTTP carries most of your traffic. These are the services to test before a release, a sale or a migration.

REST APIS

Public and partner APIs

Endpoints called with realistic payloads and query parameters. Measure p95 and p99 latency per endpoint as traffic grows.

E-COMMERCE

Checkout at peak

Browse, add to cart and pay, with page resources fetched in parallel. Measure where the funnel slows during a sale.

MICROSERVICES

Calls between services

Internal APIs behind a gateway, tested from a private location. Measure which service adds latency under load.

AUTH

Login and token flows

Basic and digest auth, signed requests and tokens saved from login responses. Measure the login rush at opening time.

UPLOADS

Files and forms

Multipart uploads and form posts with real file sizes. Measure throughput and errors as concurrent uploads grow.

YOUR API

A different architecture?

Tell us about the services that matter to your business. We’ll help you design the right Gatling test.

03 · WHY GATLING

HTTP testing at the core of Gatling

HTTP/1.1 and HTTP/2, checks, cookies, caching, redirects, proxies and DNS settings ship with the Gatling HTTP SDK. No plugin to install.

2
HTTP versions: HTTP/1.1 and HTTP/2
6
connections per host per virtual user by default, like a browser
1
scenario for REST calls, forms, uploads, WebSocket and SSE
5
languages: Java, Kotlin, Scala, JavaScript, TypeScript
BROWSER-LIKE

Behaves like real clients

Per-user cookies, cache, connection pools and DNS, plus parallel fetching of page resources, so each virtual user loads your app the way a browser does.

INFRASTRUCTURE

Private Locations

Run next to internal APIs and staging environments that aren’t reachable from the internet, with no inbound access to open.

CI/CD

Performance gates with assertions

Set assertions on response time percentiles and error rates per request. If one fails, the Gatling test fails and so does the build.

See Gatling in action

Build, run, and interpret your first load test. A practical session: by the end, you'll know exactly what Enterprise gives you out of the box.

Loading next session...

30 minutes

Live + Q&A

04 · GET STARTED

Your first Gatling test for HTTP

The reference docs from our engineers, from protocol setup to cookies and cache. Pick the part you need.

Community Edition: HTTP support is included, with no protocol limit.Gatling Enterprise: distributed load generators, run history and shared reports.
05 · OTHER PROTOCOLS

One platform for every protocol you run

Same Gatling SDK, same reports, same infrastructure.

Also supported: WebSocket, GraphQL, JDBC and JMS. See the full tech stack›

FAQ

HTTP load testing, answered

What teams ask before they run their first HTTP test with Gatling.

Does Gatling support HTTP/2?

Yes. Call enableHttp2 on the protocol and Gatling negotiates HTTP/2 through ALPN, falling back to HTTP/1.1 when the server doesn’t support it. HTTP/2 server push is not supported.

Does each virtual user behave like a separate browser?

Yes. By default each virtual user has its own connections, cookies and cache, with up to 6 connections per host. You can share one connection pool instead to simulate server-to-server traffic.

How do I chain requests that depend on each other?

Save a value from a response with a check, such as a token or an ID, and reuse it in the next request through the session. Cookies are handled for you.

Can I test APIs behind a proxy or with client certificates?

Yes. Gatling supports HTTP, HTTPS and SOCKS proxies, and can give each virtual user its own client certificate for mutual TLS in the Java, Kotlin and Scala SDKs.

Can I record a user journey instead of writing it?

Yes. The Gatling Recorder captures browser traffic as an HTTP proxy, or converts a HAR file into a simulation you can edit.

Which Gatling versions and languages are supported?

HTTP support ships with every Gatling SDK: Java, Kotlin, Scala, JavaScript and TypeScript. A few options, such as per-user client certificates and custom request signing, are JVM only.

HTTP LOAD TESTING WITH GATLING ENTERPRISE

Find out how much traffic your APIs can take

Bring one user journey that matters to your business. We’ll write the test with you and run it against your service in a Gatling Enterprise trial.

Find out where your APIs break

Bring one API that matters to your business. We'll show you how to test it at production scale with Gatling Enterprise.

Need technical references and tutorials?