I am looking for a scalable load-generating tool. Many tools like Vegeta adjust loads according to the response from the server. So I couldn't see if my server would be crashed with a huge load. It was helpful to see the max throughput of my server but it does not guarantee that it would not crash upon more loads than it can handle. Could I send a fixed level of loads with Locust? I am looking into documentation but it's not clear to me.
Could I make my server crashed with Locust?
107 Views Asked by style95 At
1
There are 1 best solutions below
Related Questions in LOCUST
- ec2 instance running locust.io issues
- How to optimize the distribution of load created by Locust
- Locust: Understanding cookie creation while using locust login
- How do I add a custom command-line argument to Python Locust?
- locust-TaskSet class vs function task
- Why cannot access a running Docker container in browser?
- cannot import name 'HttpUser' from 'locust' error when running Locust in Kubernetes
- TypeError: __init__() takes 1 positional argument but 2 were given Python
- Create locust tasks dynamically?
- How to create functionas dynamically containing a decorator?
- Why does locust not send requests after a while? How can I solve it?
- Set many tags as ENV in locust
- Copy locust file into volume via YML in kubernetes
- Locust failures - how to increase the timeout
- Locust Load Testing running into infinite loop
Related Questions in LOAD-GENERATOR
- Parameter list issue in HP Load Generator
- How to generate load for a sharepoint application with windows based authentication using Jmter?
- Asynchronous Load Generator
- Jmeter load distribution
- Could I make my server crashed with Locust?
- Java Web Services client: consistent load generation
- WaWorkerHost.exe crashes role: CallbackException
- how to start new users every seconds in locust as a library
- High response time during test execution when there is no resource saturation on Load Generator and application/DB servers
- Error: Communication error: The Client failed to send packet. The socket has been shut down
- How can I access UI of Locust in Kubernetes cluster?
- Can you have Load Controller and Load Injector on the same machine?
- Force a "lock" with Postgres and GO
- Vuser distribution along generators
- Module object is not callable in locust 0.13.0
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes and no. Locust always launches a specific number of concurrent users, and cannot spawn new ones if your server slows down (at least not without serious hacking/workarounds)
However, you can achieve the same thing by limiting users to a certain rate.
Lets say you want to test 100 requests/s.
Assuming your service would never take >20s to serve a request (or to be specific: complete a locust task), you can set
wait_time = constant_pacing(20), and launch 2000 users (100rps*20s => 2000 users).In the unlikely event that your server is still working, but really slowly (>20s) you can just increase the wait time and increase the number of users further.
See https://docs.locust.io/en/stable/api.html#locust.wait_time.constant_pacing for more info.