We’ve been building out a new load-testing capability for Vaadin TestBench.
It would be valuable to have the tool early tested on many different applications to get insights into problems and complications real projects may require solutions for.
The load testing tool is a plugin that takes an existing end-to-end test (TestBench, Playwright) and generates a recorded browser session (HAR) and converts that to a k6 (https://k6.io/) script you can run against your application.
It understands Vaadin/Hilla specifics that off-the-shelf recorders typically get wrong, including:
- Dynamic Vaadin node IDs resolved at runtime instead of being baked into the script
- Hilla CSRF header handling
- Form-encoded POST bodies rebuilt from postData.params
- Optional warmup run before the measured scenario
- Configurable allowed failure rate per check
- Automatic proxy setup hook for environments that need it
What to do
- Use the documentation at Load Testing Vaadin Applications with k6 and TestBench to add Testbench load testing to an actual project (Flow, Hilla, or a mix).
- Use Testbench version 10.2.0-alpha5 (latest pre-release at the moment)
- Select a Testbench (or Playwright) test of a normal user flow through the application — login, a Grid with filtering, a form submit, anything non-trivial.
- Run the generated k6 script
- Did the conversion succeed, or did you have to hand-edit?
- Did the warmup behave the way you expected?
- Are the metrics and the summary readable for your team?
- Anything Vaadin-specific the generator missed or failed during the execution?
Where to report
Please file issues (or +1 existing ones) at Issues · vaadin/testbench · GitHub with the load testing label, and include the HAR (sanitized) plus the generated script when possible — that makes reproduction trivial on our side.
Thank you in advance!