Sample repository for Playwright framework to do load testing
-
Dependencies are hash-pinned.
requirements.txtis a lock with a hash for every package, so pip refuses anything that doesn't match. Edit the direct dependencies inrequirements.in, then regenerate the lock:uv pip compile requirements.in --universal --python-version 3.10 --generate-hashes -o requirements.txt
-
Set thresholds for your own SLA.
browserstack-load.ymlships an error-rate and a p95 response-time threshold. Without thresholds every run reports as passed, however the application behaves. -
Every VU logs in as the same demo user. That's fine against bstackdemo.com. Against your own application, give each VU its own test account. Concurrent sessions sharing one account race on the same cart and orders, and that can hide real failures.