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-toolsif you wish to test locally.