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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Multiple – Load test any API with JavaScript and NPM packages

38 点作者 yevyevyev超过 1 年前
Hey HN,<p>I wanted a better load testing solution – so I built one with my team at Multiple. We just opened early access and would love to get your feedback.<p>We created Multiple to solve three challenges with existing tools:<p>1. Limited scripting capabilities. XML or GUI-based scripting can only test basic scenarios. Existing code-based tools struggle with auth, generating synthetic data, and testing anything other than HTTP requests. We went with JavaScript for ease of use, versatility, and integration with existing developer workflows.<p>2. Cannot use existing libraries or code. Instead of forcing you to learn a new system and rewrite code, Multiple leverages the JavaScript and NPM ecosystem so you can use packages you&#x27;re already familiar with. By supporting NPM packages, Multiple can test nearly any API, service, or protocol.<p>3. Tedious infrastructure management. There&#x27;s no reason to spend time spinning up and configuring machines, and then destroying them after a test. Multiple abstracts that away. You just enter the test size and duration, and press start.<p>My favorite feature we&#x27;ve built so far is the Debug Run. You can use Debug Run as you write your tests to execute a single run-through. It&#x27;s helpful to verify correct behavior and capture logs, and it allows you to iterate quickly, without spinning up a full load test each time.<p>We have so much in store for developers: pass&#x2F;fail conditions, CLI, and repo integration, to name a few. Thanks for reading, and let us know what you think.

9 条评论

chatmasta超过 1 年前
One problem with products like this is that the same marketing materials are used by DDoS vendors. In their case of course &quot;load testing&quot; is coded language for &quot;DDoSing a target.&quot; But nonetheless, you run the risk of people abusing your service to &quot;load test&quot; services they don&#x27;t control, which could lead to high bills on your side that might never even get paid (people who DDoS others tend to have a lot of overlap with people who pay with stolen credit cards).<p>Do you have a plan to avoid this? I think it can be solved with simple domain verification. Generate a unique key for the customer and ask them to insert it into a DNS TXT record to prove they control the domain you&#x27;re about to spam with requests on the behalf.<p>However, given the flexibility of your platform, that might not be sufficient. If a user can write arbitrary scripts, then can they change the target mid-test? You might also need some kind of firewalling solution in place.
评论 #38449468 未加载
_acco超过 1 年前
Looks neat! What&#x27;s the warm-up time on tests? Any maximums on concurrent users this can simulate? (does warm-up time increase with # concurrent users?)
评论 #38446416 未加载
评论 #38446395 未加载
toddashley超过 1 年前
Congrats! Excited to play with this. For anyone else looking for the docs I found them through the landing page (the top level post direct links to the app): <a href="https:&#x2F;&#x2F;docs.multiple.dev&#x2F;quick-start-guide" rel="nofollow noreferrer">https:&#x2F;&#x2F;docs.multiple.dev&#x2F;quick-start-guide</a>
评论 #38447339 未加载
nrau超过 1 年前
I tried Multiple&#x27;s service out in an early beta preview, and was impressed with the flexibility of the initial product. Customer service and support was very good as well. The current product roadmap will be adding a lot of compelling features in the coming months.<p>I&#x27;d absolutely recommend anyone who needs load testing tooling and infrastructure to evaluate this service, and I am excited to see where they go.
baristaGeek超过 1 年前
Great product! I really liked the UI&#x2F;UX, and the fact that you provide an example is awesome. I played around with it for about 10 minutes, but one thing wasn&#x27;t entirely clear to me: How do I import my API if it&#x27;s not an NPM package?
评论 #38446480 未加载
vira28超过 1 年前
Haven&#x27;t played with the product itself, but I have known Yev for some time now. Sure he and the team will do something meaningful in this space. All the best.
ashiban超过 1 年前
Big fan of Multiple! You should give your designer an extra Hi5
rfarley04超过 1 年前
You mentioned CLI. When is that coming and what will it do?
评论 #38449539 未加载
jahilliard超过 1 年前
Awesome! Love how JS forward it is.