locust icon indicating copy to clipboard operation
locust copied to clipboard

grpc load testing doesnt scale with number of users

Open geraldstanje opened this issue 4 months ago • 3 comments

Prerequisites

Description

hi,

for testing a grpc server with multiple connections - is there anything i need to do to have multiple connections? i currently looked at https://github.com/locustio/locust/blob/master/examples/grpc/grpc_user.py

i modified this code - but rpc for 1, 2, 5, 10 users is the same - so i wonder why.

i also check cpu usage - im not even using 50% right now.

Command line

Locustfile contents

to be added

Python version

3.10

Locust version

latest

Operating system

linux

geraldstanje avatar Sep 11 '25 15:09 geraldstanje

@geraldstanje I can work on this issue. Can I get it assigned as part of Hacktober fest 2025?

akilesh1706 avatar Oct 05 '25 10:10 akilesh1706

hey @cyberw can you assign this to me ?

sarika-03 avatar Oct 08 '25 12:10 sarika-03

Hi @cyberw @geraldstanje , please take a look to my changes. https://github.com/locustio/locust/pull/3246

Thanks :)

sonianuj287 avatar Oct 18 '25 09:10 sonianuj287