TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Locust – Open-source Load Testing Tool

107 点作者 dedalus超过 4 年前

11 条评论

quacker超过 4 年前
Yep, I like Locust but been a while since I’ve needed it again.<p>It’s main advantage over simpler tools like ab or httperf is being able to simulate most any kind of user interaction. Whereas other tools tend to just spam static predefined HTTP requests at a server (which is great when that’s all you need), Locust is great at simulating complex user behavior, such as users clicking through different pages of your site, or clients that make common sequences of API requests, perhaps to a variety of servers at different urls.<p>In my case, I was load testing a RESTful DNS management api over http and, as part of the same performance test, simulating DNS traffic to nameservers managed by that API. Locust is horizontally scalable and incredibly flexible since you can write arbitrary Python code to make it do whatever you want.
评论 #25655680 未加载
madmaze超过 4 年前
We&#x27;ve been successfully using locust for automated performance and load tests for a couple of years now. Locust is very flexible, the community is great and python-based test implementations are big win for engaging our quality engineers in test design and implementation.<p>Since our platform (Appian[0]) has a pretty heavy&#x2F;complex client, we built a thin abstraction library [1] to empower both our quality engineers as well as some of our more advanced customers to write simple automated performance tests.<p>[0] <a href="https:&#x2F;&#x2F;www.appian.com" rel="nofollow">https:&#x2F;&#x2F;www.appian.com</a> [1] <a href="https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;appian-locust" rel="nofollow">https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;appian-locust</a>
Dowwie超过 4 年前
Tag1 Consulting has been working on a locust-inspired implementation in Rust for some time now, called Goose [1]. They blog about their work regularly.[2] Has anyone given it a try? I&#x27;m not affiliated with them but appreciate the open source effort.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;tag1consulting&#x2F;goose" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tag1consulting&#x2F;goose</a><p>[2] <a href="https:&#x2F;&#x2F;www.tag1consulting.com&#x2F;blog&#x2F;real-life-goose-load-testing" rel="nofollow">https:&#x2F;&#x2F;www.tag1consulting.com&#x2F;blog&#x2F;real-life-goose-load-tes...</a>
lstamour超过 4 年前
FYI - the screenshot on the homepage is outdated, and &quot;Slaves&quot; has been renamed to &quot;Workers&quot; according to the changelog.
dmytton超过 4 年前
Another open source tool that does something similar is <a href="https:&#x2F;&#x2F;k6.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;k6.io&#x2F;</a> which I have been using recently. Tests are written in JS and you can define thresholds such as % errors, P95 and P99 response time for specific request components e.g. blocking, receiving, waiting, etc. There is also a SaaS product connected to it for doing tests from locations around the world.
评论 #25657266 未加载
faeyanpiraat超过 4 年前
There was a “load testing is hard” kind of discussion about 3 days ago.<p>It might be worth linking here.
评论 #25655351 未加载
dang超过 4 年前
If curious see also<p>2015 <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9810274" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9810274</a><p>also 2015 <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9038968" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9038968</a>
评论 #25654444 未加载
LordHeini超过 4 年前
I have used gatling in the past which seems to be quite similar. Gatling is written in Scala so the Scripts are statically typed and compiled but other than that those 2 seem to do the same thing.<p>Does someone have a comparison between the two?
7357超过 4 年前
This has been my workhorse when I needed to load test: <a href="https:&#x2F;&#x2F;github.com&#x2F;processone&#x2F;tsung" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;processone&#x2F;tsung</a>, it is still maintained.
评论 #25657282 未加载
aprdm超过 4 年前
Been using it for a while ! Really easy to get going and does everything I need.
bigcohoneypot超过 4 年前
I didn’t like it. We had to do to much work to reconfigure between runs. We went back to ab
评论 #25656220 未加载