Skip to content

Releases: vaadin/testbench

25.2.0

23 Jun 08:19
aa94754

Choose a tag to compare

What's Changed

Full Changelog: 10.1.0...25.2.0

25.2.0-rc1

17 Jun 12:37
95ba88f

Choose a tag to compare

25.2.0-rc1 Pre-release
Pre-release

What's Changed

  • chore: bump project version to 25.2-SNAPSHOT by @ZheSun88 in #2260
  • refactor: deprecate $ and $view in favor of find and findInView by @mcollovati in #2261
  • chore: upgrade selenium version to 4.45.0 by @ZheSun88 in #2262

Full Changelog: 25.2.0-beta1...25.2.0-rc1

25.2.0-beta1

27 May 06:56

Choose a tag to compare

25.2.0-beta1 Pre-release
Pre-release

TestBench pre-release for Vaadin 25.2.

Note: Since Vaadin 25.2, we have aligned Testbench project version with Vaadin version. The APIs stay as compatible as they are in Testbench 10.2.

Full changelog: 10.1...25.2.0-beta1


🆕 Load testing for Vaadin apps

TestBench 25.2 introduces a brand-new load testing tool that turns your existing TestBench (or Playwright) E2E tests into realistic k6 load tests.
Drive your app at scale using the same user-journey code you already maintain — no separate scripting required.

How it works: the toolchain starts your app, runs your E2E test through a recording proxy, captures the browser ↔ server traffic as HAR, and converts it into a k6 script that handles Vaadin specifics (JSESSIONID, CSRF/Hilla CSRF tokens, dynamic UI/Push IDs, dynamic node IDs).

Highlights of the feature:

  • Maven plugin (testbench-converter-plugin) with k6:record, k6:convert, k6:run, plus start-server / stop-server mojos.
  • Recording from TestBench and Playwright E2E tests.
  • Realistic user simulation — automatic, HAR-timing-aware think-time injection between page loads and interactions.
  • Declarative load profiles (ramp-up / steady / ramp-down) instead of fixed virtual users counts.
  • Custom thresholds (p95 / p99 / abortOnFail) and custom response checks with per-check allowed failure rate.
  • Optional warm-up run before the measured load test to prime caches and JIT.
  • HTML report and structured JSON results for CI dashboards.
  • CSV-backed value collections for parameterized inputs (random users, IDs, etc.).
  • Auto-resolution of the Java executable and the k6 binary; commercial license check.

📖 Documentation: https://vaadin.com/docs/next/flow/testing/load-testing

⏯️ Example project setup: https://github.com/vaadin/bookstore-example/tree/v25-loadtest


Other improvements since 10.1

Fixes (UI Unit testing)

  • Gradle + Quarkus + multi-module: use the scan classloader to load application route classes, fixing ClassCastException when running the standard test task #2174
  • Signals: stabilize TestSignalEnvironment so effect dispatch and result notifications run synchronously on the test thread with proper session-lock handling, eliminating flakiness in signal-driven UI tests #2178

Dependency upgrades

  • Selenium 4.44.0 (#2245)
  • Spring Boot 4.1.0-RC1 (#2225) — aligns with the Vaadin 25.2 platform.

9.5.6

22 May 07:27
3b7835b

Choose a tag to compare

What's Changed

Full Changelog: 9.5.5...9.5.6

10.1.2

22 May 08:16
303401d

Choose a tag to compare

What's Changed

Full Changelog: 10.1.1...10.1.2

10.0.6

22 May 08:16
3f1b3a3

Choose a tag to compare

What's Changed

Full Changelog: 10.0.5...10.0.6

9.6.1

22 May 07:27
f22a303

Choose a tag to compare

What's Changed

Full Changelog: 9.6.0...9.6.1

10.2.0-alpha5

11 May 09:14
372fb22

Choose a tag to compare

10.2.0-alpha5 Pre-release
Pre-release

What's Changed

Load Testing Maven Plugin changes:

  • feat: Add warmup run by @caalador in #2228
  • fix: rebuild form-encoded POST bodies from postData.params by @tltv in #2229
  • fix: guard response.body in generated k6 by @tltv in #2231
  • fix: correct utf characters in k6-summary.js by @tltv in #2235
  • fix: Use same default for mojos by @caalador in #2240
  • fix: anchor gridKeys regex to grid item rows in generated k6 by @tltv in #2242

Full Changelog: 10.2.0-alpha4...10.2.0-alpha5

10.2.0-alpha4

30 Apr 10:01
dab4b14

Choose a tag to compare

10.2.0-alpha4 Pre-release
Pre-release

What's Changed

  • fix: use scan classloader to load application classes in #2174

Load Testing Maven Plugin changes:

  • feat: collect results into json in #2197
  • feat: Report as html in #2201
  • fix: add universal status check in #2207
  • fix: ignore browser paths in #2212
  • fix: handle hilla csrf header in #2213
  • feat: add new playwrightHelper with context in #2214
  • fix: resolve node IDs at runtime in k6 scripts in #2216
  • feat: Enable giving checks allowed failure rate in #2217
  • fix: Update playwright exception message in #2220
  • feat: add setupProxy method by in #2224

Full Changelog: 10.2.0-alpha3...10.2.0-alpha4

10.0.5

04 May 08:57
ad14757

Choose a tag to compare

What's Changed

Full Changelog: 10.0.4...10.0.5