TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Which load testing tool do you use? Any recommendations?

51 pointsby symboleproover 7 years ago

10 comments

maxdemarziover 7 years ago
I like to use <a href="https:&#x2F;&#x2F;gatling.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gatling.io&#x2F;</a> for my load testing. It&#x27;s super easy and you get pretty charts you can hand off to management.
评论 #15736129 未加载
评论 #15737261 未加载
评论 #15736986 未加载
davewasthereover 7 years ago
These are the ones I&#x27;ve used recently. Primarily a Windows&#x2F;.Net shop, so there&#x27;s a lean towards tools that are scriptable, and don&#x27;t require Java. ;)<p>Bombardier - fast cross-platform, written in Go. <a href="https:&#x2F;&#x2F;github.com&#x2F;codesenberg&#x2F;bombardier" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;codesenberg&#x2F;bombardier</a><p>WCAT - quite a manual process to craft requests, but great to orchestrate several clients to hammer your server if needed. <a href="https:&#x2F;&#x2F;www.iis.net&#x2F;downloads&#x2F;community&#x2F;2007&#x2F;05&#x2F;wcat-63-x64" rel="nofollow">https:&#x2F;&#x2F;www.iis.net&#x2F;downloads&#x2F;community&#x2F;2007&#x2F;05&#x2F;wcat-63-x64</a><p>West Wind WebSurge - Excellent tool, Very GUI focused (but has a command-line option) very easy to copy&#x2F;create requests from fiddler. Approx $900USD site license. <a href="https:&#x2F;&#x2F;websurge.west-wind.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;websurge.west-wind.com&#x2F;</a><p>Netling - Very nice open source project with gui&#x2F;console. <a href="https:&#x2F;&#x2F;github.com&#x2F;hallatore&#x2F;Netling" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hallatore&#x2F;Netling</a>
mtmailover 7 years ago
For quick bursts the free plan of <a href="https:&#x2F;&#x2F;loader.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;loader.io&#x2F;</a> is pleasant to work with. For more complex setups have a look at <a href="https:&#x2F;&#x2F;locust.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;locust.io&#x2F;</a>
评论 #15736336 未加载
roadmanover 7 years ago
I like to use: - <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Tsung" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Tsung</a> - <a href="https:&#x2F;&#x2F;k6.io" rel="nofollow">https:&#x2F;&#x2F;k6.io</a>.
评论 #15736322 未加载
评论 #15736074 未加载
joshuamcginnisover 7 years ago
I like the Apache Benchmarking tool: <a href="https:&#x2F;&#x2F;httpd.apache.org&#x2F;docs&#x2F;2.4&#x2F;programs&#x2F;ab.html" rel="nofollow">https:&#x2F;&#x2F;httpd.apache.org&#x2F;docs&#x2F;2.4&#x2F;programs&#x2F;ab.html</a>
评论 #15739357 未加载
评论 #15750473 未加载
abhi_krover 7 years ago
I use Vegeta <a href="https:&#x2F;&#x2F;github.com&#x2F;tsenart&#x2F;vegeta" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tsenart&#x2F;vegeta</a> whenever I need to quickly test out limits of API endpoints.<p>Besides that, artillery also looks promising <a href="https:&#x2F;&#x2F;github.com&#x2F;shoreditch-ops&#x2F;artillery" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shoreditch-ops&#x2F;artillery</a>
rlonnover 7 years ago
Here is my take on the most common open source tools:<p>- Gatling: <a href="https:&#x2F;&#x2F;gatling.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gatling.io&#x2F;</a> - Great tool. Fast, full-featured, flexible, well documented. Main drawback is that you script it in Scala... UX for automation purposes could be better also.<p>- Tsung: <a href="http:&#x2F;&#x2F;tsung.erlang-projects.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tsung.erlang-projects.org&#x2F;</a> - Also great. Very fast, scalable, many features. Main drawback is the XML-based DSL (Domain Specific Language) that is somewhat of a pain to use.<p>- Vegeta: <a href="https:&#x2F;&#x2F;github.com&#x2F;tsenart&#x2F;vegeta" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tsenart&#x2F;vegeta</a> - Good for simple testing of API end points with a fixed RPS rate. No scripting capability.<p>- Apachebench: <a href="https:&#x2F;&#x2F;httpd.apache.org&#x2F;docs&#x2F;2.4&#x2F;programs&#x2F;ab.html" rel="nofollow">https:&#x2F;&#x2F;httpd.apache.org&#x2F;docs&#x2F;2.4&#x2F;programs&#x2F;ab.html</a> - Single-threaded but very, very fast so will outperform many tools that can use multiple CPU cores. Best tool around if all you want to do is hit one single, static URL and get results printed on screen. Lacks scripting.<p>- Jmeter: <a href="http:&#x2F;&#x2F;jmeter.apache.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jmeter.apache.org&#x2F;</a> - Very fast, tons of features, but painful UX (especially for an automation workflow). Biggest community with the most plugins&#x2F;extensions&#x2F;whatnot.<p>- Siege: <a href="https:&#x2F;&#x2F;www.joedog.org&#x2F;siege-home&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.joedog.org&#x2F;siege-home&#x2F;</a> - Moderately fast but doesn&#x27;t scale. Buggy and will crash regularly. Large measurement error. Inconsistent UI. Only reason to use is that it is an alternative to Apachebench if you want to hit a list of URLs, rather than just a single URL.<p>- Artillery: <a href="https:&#x2F;&#x2F;artillery.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;artillery.io&#x2F;</a> - Great UX for automation. However, it lacks scripting capabilities, is slow and single-threaded and introduces a large measurement error.<p>- Locust: <a href="https:&#x2F;&#x2F;locust.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;locust.io&#x2F;</a> - Great scripting capabilities (in pure Python), with a very nice API. However, it is the slowest tool I have seen and introduces the most measurement error of any tool also.<p>- Wrk: <a href="https:&#x2F;&#x2F;github.com&#x2F;wg&#x2F;wrk" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wg&#x2F;wrk</a> - Fastest tool in the universe. About 25x faster than Locust. 3x faster than Jmeter. Scriptable in Lua. Drawbacks are limited output options&#x2F;reporting and a scripting API that is callback-based, so painful to use for scripting user scenario flows.<p>- The Grinder: <a href="http:&#x2F;&#x2F;grinder.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;grinder.sourceforge.net&#x2F;</a> - Fast, scriptable in Jython (Python dialect) with a nice API. Main drawback is that it is an almost dead open source project - very few updates in recent years.<p>- k6: <a href="https:&#x2F;&#x2F;k6.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;k6.io&#x2F;</a> (bias warning: I am involved in the k6 project) - The B3ST tool!! ;) Anyway... it is fast, scriptable in Javascript (ES6), has a very nice UX and scripting API and works for both functional and performance testing (and is excellent for automation). Good docs too (<a href="https:&#x2F;&#x2F;docs.k6.io" rel="nofollow">https:&#x2F;&#x2F;docs.k6.io</a>).<p>General advice:<p>- If you&#x27;re a Java-centric shop, take a look at Jmeter or Gatling, or perhaps Siege (all are Java apps) and you&#x27;ll feel at home. You should probably start with Gatling, because it is more modern than Jmeter, with better UX, and Siege is kind of on its way out.<p>- If you want to automate your load tests, want to test an API, and prefer to write test cases in code rather than some limited DSL, then I think k6 is the tool you should look at. Only reason not to, is if you don&#x27;t want to use Javascript.<p>- If you want to run complex, manual load tests of a web site (e.g. record user interactions and then simulate the same behaviour in a load test) you should look at Gatling or Jmeter primarily. Perhaps Tsung.
评论 #15739707 未加载
评论 #15739803 未加载
social_quotientover 7 years ago
For large scale tests we run <a href="https:&#x2F;&#x2F;goad.io" rel="nofollow">https:&#x2F;&#x2F;goad.io</a> on lambdas . We used this a lot and can confirm that most APIs can be well stressed with it.<p>For quick tests we use loadimpact.com
ericbover 7 years ago
If you are interested in reusing your functional test libraries to run load tests, drop me a line at hello@browserup.com. We have a solution and are looking to do pilots.
bipinvkover 7 years ago
For web applications try TruLoad, this is a codeless load testing tool that executes user-like workflows for automated testing <a href="https:&#x2F;&#x2F;cloudqa.io&#x2F;website-load-test&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cloudqa.io&#x2F;website-load-test&#x2F;</a>