Create a Gatling test from a Playwright browser session, with your coding agent

Hey everyone,

You can now go from a live browser session to a working Gatling test, without leaving your coding agent.

Here’s how it works:

  • Start a session in your coding agent (Claude Code, Cursor, Codex, Windsurf, Antigravity) with playwright-cli and the Gatling AI plugin installed

  • A headed Playwright browser opens on your site. Before each action, post a step name in the chat, like starting: add to cart

  • The agent saves the requests of each step to disk, then builds the test from those files once the browser is closed

  • It keeps only the calls to your API, extracts the values that change between runs (IDs, tokens) instead of hardcoding them, and writes a parameterized Gatling Java/Maven project with one block per step

  • It compiles the test and runs it once with a single user to check that it replays. From there, change the injection profile and run it at scale on Gatling Enterprise Edition

The docs include a ready-to-paste prompt and the Gatling e-commerce demo site, so you can try the full workflow before using it on your own application.

Try it and let us know what you think: which journeys you recorded, where attribution or correlation went wrong, which coding agent you used, anything that doesn’t behave as expected.

Want to see it live? Heather Thacker runs a live demo on December 10, 6 PM CET / 12 PM EST, with Q&A.

Get started:

1 Like