Overview
Load testing gRPC services requires specialized clients that can serialize and send Protocol Buffer messages. With Locust and theGrpcUser
from locust-plugins
, you can simulate high-throughput gRPC calls and measure performance under load.
Locust Test Script (locust.py)
Notes:
- Install dependencies:
locust-plugins
,grpcio
,grpcio-tools
if you wish to test locally.