How to work with variables with fake data variables

How do you define variables and initialise with fake data?

HttpRider provides an easy way to add Fake generated data in your API requests. It uses the excellent Faker library to generate fake data. Fake data can be inserted in the request header, query params, form params or body as part of JSON request.

You can either press $ and then type data which should open up the Fake data dialog.

Fake Data Dialog Keyboard Shortcut

Another way is to right click and select Fake Data from the list.

Fake Data Dialog Context Menu

Currently, you can generate fake data for some common elements with support for more options is in the roadmap. When selected, it’ll insert a function in-place to generate the dynamic value on each request.

Using Fake Data Generator