fbpx

How to quickly create random test users in Bubble

Follow me:

One of the challenges of testing your Bubble application is that when you’re working in setting it up, there’s no data in it to really test anything at scale.

Today’s tip let’s you quickly create as many random users as you want using a simple plugin, complete with fake names, email address, date of birth and even A.I. generated profile photos.

Installing the plugin

The plugin you’ll need for this is the Random User Generator made by the always awesome Gaby and Kristen over at Coaching No Code Apps. It uses the open-source RandomUser.me API.

Follow the link above and click Install to install the plugin to your app:

Bubble's plugin installer showing the Random User Generator.

Setting up the element and workflows:

Then, on the page where you want to create the Users, draw a button. There’s no need to place any plugin element on the page:

Button set up to create random users.

Select the button and click the Start/edit workflow button:

A generate random user button next to the Start/edit workflow panel.

And then finally use the Create an account for someone else feature to set up the new User. To set the email, click it and then navigate to Get data from an external API.

generate random bubble user

That’s it! You can click the button as many times as you want to create more Users, and of course play around with the fields that you want to add to them.

Support the site and keep it free ❤️

I love tech startups and the Bubble community, and have made it my mission to try and create content that’s valuable, easy to follow and entertaining.

Creating content next to full-time consulting work is time-consuming; if you’d like to support it and keep the site free for everyone, please consider buying me a coffee or becoming a supporting member.

Buy Me A Coffee

Follow me:
Bubble.io books

Learn Bubble the right way

Our professional Bubble books teach you how to plan, structure and build your applications right from the start.

5-star review stars

More Posts

2 Comments


Leo
June 24, 2022 at 11:55
Reply

Hi thanks a lot for this,
In addition would you have a method to make the new user logged in automatically ? I do not manage to log this new user in the same WF just after creating it.

Thanks a lot for your help !
Leo


    Petter Amlie
    June 27, 2022 at 14:40
    Reply

    You could probably generate a password for the user right after it’s created and then use that password to log in.

Leave A Reply

Your email address will not be published. Required fields are marked *

*

Email icon

Useful articles and tips

Join the mailing list to get guides, opinions and articles on Bubble, no-code, automation and the tech industry.

We don't share your email address with anyone, and you can unsubscribe at any time.

You have successfully subscribed