Load test your gRPC services the way production calls them

Skip the custom scripts and plugins. Gatling speaks gRPC natively, reuses your .proto files, and generates production-scale load from inside your network.

01 · WHY GATLING

Why teams load test gRPC with Gatling

Native gRPC support built on gRPC-Java, the same .proto contracts your services use, and an engine that sustains production-scale traffic from a single load generator.

300,000
requests per second per load generator
60,000
virtual users per load generator
4
gRPC call types, streaming included
5
languages: Java, Kotlin, Scala, JavaScript, TypeScript
STREAMING

All four call types, timed right

Unary, server, client and bidirectional streaming. Choose when the clock starts: stream start, last message sent, last message received, or your own function.

CHANNELS

Channels configured like production

Shared or pooled channels, round-robin or pick-first load balancing, TLS, mTLS and custom metadata. All as code, next to the test.

INFRASTRUCTURE

Private Locations

Generate load from inside your network, next to services behind a gateway or mesh, with no inbound access to open.

02 · IN PRODUCTION

How Attentive used Gatling to find and fix a gRPC bottleneck

Attentive's engineers load test their own gRPC services before Black Friday and Cyber Monday. Gatling Enterprise generated the load inside their Istio mesh, showed where requests were lost, and measured every fix with the same Gatling test.

CUSTOMER STORY · ATTENTIVE

Gatling found the bottleneck. The same Gatling test proved the fix.

~6,000
RPS per node before tuning
~160,000
RPS per node after tuning
25x
more traffic per node
Watch the Attentive session›
STEP 1 · MEASURE

Find what the gateway drops

Gatling sent 100,000 requests per second from inside Attentive's network. Its reports showed only 40,000 to 45,000 reaching the service: the bottleneck was in the gateway, not the service.

STEP 2 · DIAGNOSE

Fix the gateway, then the channels

The team tuned Istio autoscaling until all traffic reached the service. Gatling Enterprise charts then exposed a TCP connection issue, fixed with shared gRPC channels and connection pooling.

STEP 3 · PROVE

Re-run the same Gatling test

One JAR, launched through the Gatling Enterprise API on every environment, so each gain per node is measured against the same baseline.

03 · USE CASES

Where teams load test gRPC

gRPC sits on the critical path between services. These are the places to test it before a release, a migration or a peak.

MICROSERVICES

Internal APIs

Service-to-service calls behind a gateway or mesh.

REAL-TIME

Streaming services

Live feeds and notifications on long-lived streams.

CLIENTS

Mobile and web backends

gRPC backends facing launch-day concurrency.

AI AND DATA

Vector databases and model serving

Query latency at your target throughput.

PLATFORM

Kubernetes and autoscaling

Load spread across pods and time to scale out.

YOUR SETUP

A different architecture?

Walk through your gRPC setup with a Gatling engineer.

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

05 · OTHER PROTOCOLS

One platform for every protocol you run

Same Gatling SDK, same reports, same infrastructure.

Also supported: HTTP, WebSocket, Server-Sent Events and JMS. See the full tech stack›

Find the limits of your gRPC services before peak traffic does

Run Gatling tests from inside your network, at production scale, with every team on the same platform.

Frequently asked questions about gRPC load testing

Can I load test gRPC with Gatling Community Edition?

Yes. The gRPC protocol works with both editions. Its usage is unlimited when running tests on Gatling Enterprise. When used with Gatling Community Edition, usage is limited to 5 users maximum and 5 minute duration tests, after which the test stops.

Can I test gRPC services that aren't exposed to the internet?

Yes. With Private Locations, Gatling Enterprise runs load generators inside your own network, on AWS, Azure, GCP, Kubernetes, or on-premises. They need no inbound connections, so you can test internal gRPC services behind gateways and service meshes.

Which gRPC call types and languages does Gatling support?

Gatling supports unary, server streaming, client streaming, and bidirectional streaming calls. You write gRPC tests in Java, Kotlin, Scala, JavaScript, or TypeScript, with messages generated from your .proto files.

How does Gatling measure response time on gRPC streams?

By default, from the start of the stream. You can also measure from the last message sent, from the last message received, or with a custom function, so the number matches what your clients experience.

Find out where your gRPC services break

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

Need technical references and tutorials?