Load testing with x number of Users

Does anyone have recommendations for load testing an application? e.g. acting as a logged in User, clicking elements on pages, basic workflows etc?

I just use Claude or Codex. They can run automated tests like that for me. :blush:

How do you set them up to do that on your bubble apps? That would be a cool tutorial to make.

@J805 , thanks very much for the input.

Can they run 25 concurrent Users? 100?

I’m not sure how many they can do at once. I’ve never tested it to that extent.

You should be able to do some of the testing through the browser so it doesn’t matter if it’s on Bubble or somewhere else.

I just wonder how many it can handle at one time. :man_shrugging:

I also heard Playwright is pretty good too.

I think something like this could work.

Artillery and Playwright together

For Bubble, I would set it up like this:

  1. Create a set of Bubble test User accounts. Using Claude if you set up Bubbble so you can create users with their API.
  2. Have each virtual user open the Bubble app and log in normally.
  3. Click buttons, enter data, navigate pages, trigger workflows, etc.
  4. Ramp from perhaps 5 → 20 → 50 → 100 concurrent users.
  5. Watch Bubble → Logs → App Metrics while the test runs to see which searches/workflows are consuming WU.

One important Bubble-specific thing: enable Settings → General → Expose the option to add an ID attribute to HTML elements, then give important buttons/inputs IDs such as login-button, email-input, etc.

Thanks for the tips @J805 !