Vegeta
har-to-k6
Vegeta | har-to-k6 | |
---|---|---|
41 | 2 | |
22,745 | 117 | |
- | 0.9% | |
6.6 | 7.0 | |
5 days ago | about 1 month ago | |
Go | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Vegeta
-
Netlify just sent me a $104K bill for a simple static site
Vegeta worth a look if you want something a bit more sophisticated: https://github.com/tsenart/vegeta
-
Under Pressure: Benchmarking Node.js on a Single-Core EC2
There are tons of tools to do this, I'll use Vegeta
-
Deep-dive into Vegeta - HTTP load testing tool and library
To install vegeta, grab the right download url from https://github.com/tsenart/vegeta/releases/tag/v12.11.1 and download using the below command.
-
Set Up Tracing for a Node.js Application on AppSignal
One of the easiest ways to send lots of fabricated requests at the same time is to use the Vegeta load testing tool. Being a load testing tool, it can send lots of requests consistently, every second, to the given target URL. You can read more about Vegeta on GitHub. The binary can be downloaded and used without installation.
-
What tools you use for http load testing?
Good morning what tool do you use to test your infra in terms of http load ? A tool that works, I tested : - https://github.com/tsenart/vegeta but it returns 0 errors or a http_net error from Golang - LOIC (Low Orbit Ion Canon) https://github.com/NewEraCracker/LOIC but the requests do not appear in my nginx logs and I feel no slowdown - Apache Jmeter https://jmeter.apache.org/ but I can't drop my infra and I have Java socket closed errors - K6 https://k6.io/ but I can't bring down my infra with - wrk https://github.com/wg/wrk no matter what parameter I put it doesn't make enough requests per second, I put the same parameters as on a tutorial and I don't get the same result...
-
How does one answer performance related questions such as these for a web API?
I use tools like vegeta and wrk2 to answer those questions.
-
Why use internal package and main package in the same module?
A module can be an executable and a library at the same time. For example, https://github.com/tsenart/vegeta
-
Where to learn more as I scale up?
Some tools to investigate: * https://prometheus.io/ * https://github.com/tsenart/vegeta
-
How to learn system performance as a beginner?
No, not at all. You just need a tool like Vegeta.
-
How to Deploy and Scale Strapi on a Kubernetes Cluster 1/2
vegeta v12.8.4
har-to-k6
-
Using mitmproxy with k6
The next step is already the target conversion of the HAR format file to k6 script. For this we use script provided in Grafana's repository.
-
Load testing is hard, and the tools are not great. But why?
I agree that the popular load testing tools leave plenty to be desired, but have you given k6[1] a try? (Full disclosure: I'm one of the maintainers.)
Tests are written in JavaScript and there's support for HTTP, WebSockets and (unary) gRPC. You can easily script a combination of these protocols to mimic real world traffic.
Furthermore you can record a user flow with a browser extension[2] and convert the generated HAR file to a k6 script[3], which would give you an even closer real world scenario. The conversion is not perfect and depending on the service you might need to manually modify the script, but it would get you 90% of the way there.
[1]: https://github.com/loadimpact/k6
[2]: https://k6.io/docs/test-authoring/recording-a-session/browse...
[3]: https://github.com/loadimpact/har-to-k6
What are some alternatives?
k6 - A modern load testing tool, using Go and JavaScript - https://k6.io
tsung - Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.
Hey - HTTP load generator, ApacheBench (ab) replacement
postman-to-k6 - Converts Postman collections to k6 script code
Gatling - Modern Load Testing as Code
shadowreader - Serverless load testing for replaying website traffic. Powered by AWS Lambda.
kubernetes - Production-Grade Container Scheduling and Management
postman-to-k6 - Converts Postman collections to k6 script code
bombardier - Fast cross-platform HTTP benchmarking tool written in Go
wayback - A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.
Apache JMeter - Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
anteon - Anteon (formerly Ddosify) - Effortless Kubernetes Monitoring and Performance Testing. Available on CLI, Self-Hosted, and Cloud