909 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
46
views
Locust webui is not overriding the default values if any defaults are provided (Locust 2.43.0 / Python 3.14.2)
I'm new to both Python and Locust, so I might be doing something wrong.
If I define custom parameters like this:
@events.init_command_line_parser.add_listener
def _(parser):
parser.add_argument(&...
1
vote
0
answers
45
views
Locust POST Request with .xlsx File to Flask Endpoint Returns a 503 Error
I am testing my Python Flask app using Locust to load-test a POST request with an .xlsx file attachment. However, I consistently encounter a 503 Service Unavailable error.
This issue ONLY occurs when ...
1
vote
0
answers
44
views
Showing actual percentiles in locust reports
Is there a way to compute proper percentiles in Locust? The values are always rounded off to a multiple of 10.
I have read about Locust only estimating percentiles to save resources. But is there a ...
1
vote
0
answers
48
views
WebSocket transcripts not received until connection is closed during Locust load test
I’m performing a WebSocket load test using Locust with websocket-client and a Flask webhook that receives transcripts.
The WebSocket connection works, audio chunks are sent correctly, and my backend ...
1
vote
1
answer
68
views
How to use Locust with multiple base URLs
I want to compare API response for two base URLs, comparing the monolithic vs micro architecture performance, but my code keeps picking up only the 1 url and doesn't create any hits for other URL as ...
0
votes
0
answers
37
views
python locust - tasks per user
I have the following tasks in locustfile
tasks ={task1:1, task2:1,task3:1, task4:1,task5:1, task6:1}
And trying to run each one in parallel by running locust with 6 users (so there is one task run by ...
0
votes
0
answers
39
views
Locust is installed via pip but not able to check version of locust in windows system
enter image description hereI followed steps mentioned in https://docs.locust.io/en/stable/installation.html for installing locust. But I am getting the error
('locust' is not recognised as an ...
0
votes
1
answer
72
views
Locust distributed mode: "Unknown message type '_distributor_request' from worker.." warning halts users
I am using Locus in distributed mode with 1 master and n workers to run a load test.
I am also using the locust-plugins library to utilize its Distributor utility. My goal is to preallocate one unique ...
0
votes
0
answers
48
views
Locust: Official way to pause all users, run a global task on master, and then resume all users
I'm using Locust (version 2.32.3) to simulate multiple users performing work. I have a specific scenario I'd like to achieve clearly and efficiently:
All users perform their workload repeatedly.
At a ...
-3
votes
1
answer
103
views
Write CSV file with data in new row in python
I using python locust to do load test and my questions is i try to write csv file with email address as new row but it is separated the email charaters with ',' with each chracter like below:
z,b,r,X,...
0
votes
0
answers
25
views
Is there a way to simulate environments for testing in Locust?
Right now I'm trying to test out a new deep learning model on my local server using Locust. My local server uses a A6000 NVIDIA GPU which has around 46GB of VRAM. The problem is our production model ...
Sean's user avatar
- 3,460
1
vote
0
answers
60
views
Locust do not log success in case of GRPC endpoint returning a stream
Locust does not log success in case of GRPC endpoint returning a stream
Below is my setup:
locust==2.33
python
grpcio==1.70.0
grpcio-tools==1.62.1
protobuf==4.25.3
I am unable to see success on ...
1
vote
0
answers
53
views
Locust: Jump to next user only when previous user is done with all tasks mentioned in load sequence
I am looking for a way, where for the below code next user comes in action only if current user is done with all of the tasks mentioned in a sequence. That is user should not be switched unless all ...
-2
votes
1
answer
163
views
Locust Not Running
I had coded some simple locust load testing code in python. Previously, it running without any errors but after some time i run the code, the http request is not get executed.
class WebsiteUser(...
Ivan's user avatar
- 2,792
0
votes
0
answers
47
views
I am using load test shape in locust and unable to switch to subsequent user classes in the stages, using tick method
stages = [
{
"name": "BigOrderUser Test",
"duration": 400, # 10 minutes
"users": 1,
"spawn_rate&...