har-to-k6
tsung
har-to-k6 | tsung | |
---|---|---|
2 | 2 | |
117 | 2,510 | |
0.9% | 0.3% | |
7.0 | 4.1 | |
about 2 months ago | 19 days ago | |
JavaScript | Erlang | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
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
tsung
-
How to setup long running tasks?
Check out Tsung. It’s what the Phoenix team used to push the limits of Phoenix Channels/Presence.
-
Load testing is hard, and the tools are not great. But why?
Just thought I could add https://github.com/processone/tsung to the discussion.
What are some alternatives?
Vegeta - HTTP load testing tool and library. It's over 9000!
mysql - MySQL/OTP – MySQL and MariaDB client for Erlang/OTP
postman-to-k6 - Converts Postman collections to k6 script code
shadowreader - Serverless load testing for replaying website traffic. Powered by AWS Lambda.
vernemq - A distributed MQTT message broker based on Erlang/OTP. Built for high quality & Industrial use cases. The VerneMQ mission is active & the project maintained. Thank you for your support!
postman-to-k6 - Converts Postman collections to k6 script code
emqtt - Erlang MQTT 5.0 Client
wayback - A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.
Introducing-Regular-Expressions-by-Erlang - The examples implemented here are inspired by the book's source code - https://learning.oreilly.com/library/view/introducing-regular-expressions/9781449338879/
erlang-libp2p - An Erlang implementation of libp2p swarms
epgsql - Erlang PostgreSQL client library.