Create Test Data

Challenge Description

Application

The application for this challenge is the Restful Booker Platform. More about the application is available here. You can also ask questions related to the application there.

The Challenges:

Complete these challenges using any tooling of your choice.

  1. Create a JSON file that could be used to mimic the response of the Report API. That JSON file should contain 1000 valid entries.
  2. Create a library/package etc that can return random valid data for all the models in Restful Booker Platform. For example, if my automated checks I want to abstract all my data into the library so I can do things like user.username, user.password, user.telephone.

Tip. Random valid data is what we are after for challenge 2.

What you’ll learn
  • Create JSON data

Community Solutions

Experience Report: Data Testing - Gwen Diagram

Gwen Diagram

0h 20m 16s

Go Pro
Explore MoT
Leading with AI - The London Edition image
Fri, 19 Jun
A half-day educational experience to navigate the world of AI
MoT Advanced Certificate in Test Automation image
Ascend to leadership roles by mastering strategic skills in automation strategy creation, planning and execution
Into The Motaverse image
Into the MoTaverse is a podcast by Ministry of Testing, hosted by Rosie Sherry, exploring the people, insights, and systems shaping quality in modern software teams.
Subscribe to our newsletter