News for hackers. Stuff that matters.

Ask HN: Is there any open source tool for testing load on website

I just wanted to ask that is there any open source or free tool exists which can help to do load testing like at what no. of users the server will crash, I just want to know that on how much load(no. of users) my server will crash so that I'll be prepare accordingly when I know the numbers of users might be coming on my website.
( 4 comments | 3 points | on HN )
Re:Ask HN: Is there any open source tool for testing load on... by andrewfromx on Tuesday March 14, 2023 @02:13AM (#35147976)
Apache Bench aka "ab"

ab -n 1000 -c 100 http://localhost:3000/

1000 requests with a concurrency of 100

https://httpd.apache.org/docs/2.4/programs/ab.html

Re:Ask HN: Is there any open source tool for testing load on... by kushalghosh on Tuesday March 14, 2023 @07:05AM (#35149670)
thank you
Re:Ask HN: Is there any open source tool for testing load on... by rex64 on Tuesday March 14, 2023 @02:16AM (#35147993)
I had great success using Locust. It's extremely easy to write tests for, and you can use it both in CLI and WebUI mode.

https://locust.io/

Re:Ask HN: Is there any open source tool for testing load on... by kushalghosh on Tuesday March 14, 2023 @07:05AM (#35149671)
thank you