Skip to main content

Overview

gRPC supports streaming RPCs—client-side, server-side, and bidirectional streams—over HTTP/2. Locust with GrpcUser can simulate these streaming calls to measure performance under load.

Locust Test Script (locust.py)


Notes:
  • Generate gRPC code via protoc with streaming definitions.
  • Install dependencies: locust-plugins, grpcio, and grpcio-tools if you wish to test locally.