by hassy on 1/28/22, 1:25 PM with 7 comments
GitHub link: https://github.com/artilleryio/artillery-engine-playwright
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
by BlackPlot on 1/31/22, 11:30 AM
by cush on 1/28/22, 6:38 PM
by Ramiro on 1/28/22, 6:54 PM
by hassy on 1/28/22, 1:26 PM