Wikipedia

Search results

Friday, January 28, 2022

Show HN: Load Testing with Playwright https://ift.tt/34e1AJq

Show HN: Load Testing with Playwright Hi HN fam! Hassy from Artillery (YC S21) here. Playwright got a lot of love on HN today [1] - rightfully so, it's an incredible project! - so I thought I'd resubmit [2] an open-source project that lets you run load tests with existing Playwright scripts. GitHub link: https://ift.tt/3Dc1HAX The basic motivation for creating the project is that load testing complex web apps is a real pain in the ass. It takes ages to build out test scripts for a non-trivial web app with traditional API-oriented tools. If you've ever had to do it, you know how frustrating it can be. So we thought, why not try load testing with real browsers instead? Especially if we can just reuse existing E2E testing scripts we already have? (based on Playwright of course!) Turns out it can work very well. Is load testing with real browsers expensive? Yes, sort of - relative to more traditional load testing. This project lets you max out developer productivity points at the cost of... well, cost. But! developer time is expensive! And cloud compute is cheap - running 1,000 4 vCPU/12GB RAM containers on AWS Fargate for an entire hour is going to cost ~$220 in Fargate fees for example. The project is still in its early days, would love any feedback! <3 1. https://news.ycombinator.com/item?id=30083042 2. https://news.ycombinator.com/item?id=29402399 January 28, 2022 at 01:25PM

No comments:

Post a Comment