Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hassy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
hassy
3y ago
This is a great blog post! just taking the opportunity here to comment on this: > Finally for full scale high fidelity load tests there are relatively few tools out there for browser based load testing. It exists as of a few months ago a
2.
▲
by
hassy
3y ago
> I'm very biased
3.
▲
by
hassy
3y ago
Don't write your own load testing tool other than as a fun little exercise. At least not without understanding coordinated omission and thinking about workload modeling (open? closed? hybrid? all of the above?) [1]. Get this wrong and
4.
▲
by
hassy
3y ago
curl is fantastic. There's also HTTPStat which provides a waterfall visualization on top of curl timings: https://github.com/reorx/httpstat There's also Skytrace (made by yours truly), which provides timing i
5.
▲
by
hassy
3y ago
The main thing about the advice comes immediately before the bit you’re zooming in on. Want to talk to people who have seen hundreds of companies deal with what you’re dealing? YC is great for that.
6.
▲
by
hassy
3y ago
Did YC S21 which was an all remote batch. my 2c. YC is 100% what you make of it. It's not a lean back experience. I did not meet most of the companies in my batch but I've gotten to know many founders through YC that I would not h
7.
▲
by
hassy
4y ago
Clickable links: Blog post with demo: https://www.artillery.io/blog/this-load-test-cost-us-how-muc... Project on GitHub: https://github.com/artilleryio/artillery
8.
▲
Show HN: Open-source load testing on AWS Lambda. With built-in cost reporting
12 points
by
hassy
4y ago
|
2 comments
9.
▲
by
hassy
4y ago
This lets you load test with Playwright (very similar to Puppeteer): https://github.com/artilleryio/artillery-engine-playwright
10.
▲
by
hassy
4y ago
Yes indeed but wrk2 or Vegeta is still better for this particular use case (unless k6 has support for setting a constant RPS rate, afaik it does not), as otherwise the overhead of establishing a new TCP connection for a single HTTP request
11.
▲
by
hassy
4y ago
Yep, k6 suffers from coordinated omission [1] with its default settings. A tool that can send a request at a constant rate i.e. wrk2 or Vegeta [2] is a much better fit for this type of a performance test. 1. https://www.scylladb.
12.
▲
Blitz it with Lambda. Open-source distributed load testing with AWS Lambda
(docs-nine-inky.vercel.app)
1 points
by
hassy
4y ago
|
0 comments
13.
▲
by
hassy
4y ago
Bombardier is cool, but serves a very different use case. I mentioned elsewhere in the comments that we have a Docker image, and are working on other methods of installing the CLI to alleviate some of these dependency-related concerns. Gett
14.
▲
by
hassy
4y ago
I haven’t come across Hurl before. It looks cool!
15.
▲
by
hassy
4y ago
Yes, those dependency trees can be large. Yes, supply chain attacks are a real threat. But Node isn’t that different than Python or Ruby in that regard. How far down the stack do you personally choose to go? I trust you’re familiar with tha
16.
▲
by
hassy
4y ago
thanks for trying it out! adding “make timeouts configurable” to the todo list. you’re right on that YAML-as-JSON thing. If everything is quoted as JSON, those type conversions shouldn’t kick in. Otherwise there’s room for surprises - perh
17.
▲
by
hassy
4y ago
“mini” in the sense that it doesn’t do everything that curl does. curl does a whole lot. this tool focuses on more common use cases and makes them friendlier. plus with request waterfalls and assertions it does things curl can’t do. the num
18.
▲
by
hassy
4y ago
sure, that’s a valid concern in some environments. fwiw we use Snyk.io for dependency scanning
19.
▲
by
hassy
4y ago
Yeah so the JSON quoting part is something I’m pretty pleased with. We use a YAML parser (JSON is a subset of YAML) to parse those values, which is what allows for double quotes to be omitted. Good point on iterating on the query! We alread
20.
▲
by
hassy
4y ago
A few things :) Syntax highlighting Request performance waterfalls Built-in JMESPath queries for JSON (same syntax as in AWS CLI). XML and HTML can be queried too. Ability to set checks on the response. This one is super handy for quick acc
21.
▲
by
hassy
4y ago
curl is amazing! I love curl. This is not meant to replace it completely. Probe just makes those most common use-cases friendlier, like looking at headers, or inspecting JSON retuned by an API with syntax highlighting, or querying without n
22.
▲
by
hassy
4y ago
thank you! we just grab the timings info for the request from the underlying HTTP library, and sprinkle some ASCII art on top. That part was inspired by httpstat [1] We want to extend those with support for Server-Timing next, and also Core
23.
▲
by
hassy
4y ago
if you’re on a Mac, Artillery has a Homebrew formula too. We have an official Docker image too. Other ways of installing are on the roadmap too (self contained tarballs and binaries). As to what it does better than curl/wget. Probe is
24.
▲
by
hassy
4y ago
clickable url: https://www.artillery.io/blog/swiss-army-knife-for-http-test...
25.
▲
Show HN: A Swiss army knife for testing HTTP from the terminal
110 points
by
hassy
4y ago
|
42 comments
26.
▲
by
hassy
5y ago
Playwright's built-in codegen tool creates scripts that can be run as load tests with this project :) https://playwright.dev/docs/cli#generate-code
27.
▲
by
hassy
5y ago
Yes! that's how we ourselves run it. The project includes a ready-to-go Dockerfile: https://github.com/artilleryio/artillery-engine-playwright#u...
28.
▲
by
hassy
5y ago
clickable link: https://github.com/artilleryio/artillery-engine-playwright
29.
▲
Show HN: Load Testing with Playwright
13 points
by
hassy
5y ago
|
7 comments
30.
▲
Launching thousands of browsers for fun and profit
(artillery.io)
1 points
by
hassy
5y ago
|
0 comments
More ›