Random User Generator

Demo to preview the settings

Introduction

Generate random user data for testing. Two calls for retrieving a single random user or a list of random users. Data includes name, email, location, gender, D.O.B., phone numbers, photos, and more.

Getting Started

There are two main ways to use this plugin. Either to generate a single random user or to generate a list of random users. We'll look at each call individually and show some examples of each so you'll know exactly which to use for your use case.

Generate a Random User

Generates a single random user for your application.

Set up the datasource

Since you're wanting to generate a single random user, we'll use a single group to act as the data source and pass the information to it.
Select Generate a User result (Random User Generator) as the type of content for this group
Select Generate a User result (Random User Generator) as the type of content for this group
Use this group as the datasource for whatever information you want to display about your new random user.

Set up the API call

Now that we've defined the datasource, let's pick out the correct API to use. For our example, use the Display data in group, and choose Get data from an external api from the list of options.
Image without caption
From this list pick Random User Generator - Generate a User
Because we're trying to display the result of this API call, you'll have to continue formatting the expression to get only a single item from the API call (even though we're only generating one random user). The final expression will look like this:
Image without caption
You'll notice you can change the number of results to return, the gender of users generated, as well as their nationality.
That's it! You can now display any of the information from this API call in your group.

Generate a List of Random Users

Generates a list of random users for your application.

Set up the datasource

Since you're wanting to generate a list of random users, we'll use a repeating group to act as the data source and pass the information to it.
Select Generate List of Users result (Random User Generator) as the type of content for this repeating group
Select Generate List of Users result (Random User Generator) as the type of content for this repeating group

Set up the API call

Now that we've defined the datasource, let's pick out the correct API to use. For our example, use the Display List action and choose Get data from an external api from the list of options.
Image without caption
From this list pick Random User Generator - Generate List of Users
The final expression should look like this:
Image without caption
You'll notice you can change the number of results to return, the gender of users generated, as well as their nationality.
That's it! You can now display any of the information from this API call in your repeating group.

Changelogs

Update 26.06.23 - Version 1.3.0

  • Updated description

Update 04.10.22 - Version 1.2.0

  • Updated documentation

Update 13.01.19 - Version 1.1.0

  • DOB and Registered Date values updated

Update 29.01.17 - Version 1.0.0

  • first release