• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    Java
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A SaaS platform used for various test automation training

restful-booker-platform

A platform of web services that forms a Bed and Breakfast booking system. The platforms primary purpose is for training others on how to explore and test web service platforms as well as strategise and implement automation in testing strategies.

Requirements

RBP is currently known to work with the following requirements:

  • JDK 15.0.2 or higher (Tested with JDK 18)
  • Maven 3.6.3
  • Node 16.15.1
  • NPM 8.11.0

Building locally

Assuming you have the above requirements in place, to get started open a terminal/command line window and follow these instructions:

  1. Clone/Download the repository
  2. Navigate into the restful-booker-platform root folder
  3. Run either bash build_locally.sh for Linux or Mac or build_locally.cmd on Windows to build RBP and get it running (It may take a while on the first run as it downloads dependencies)
  4. Navigate to http://localhost:8080 to access the site

Running locally

Assuming you have successfully built the application at least once, you can now run the app without having to rebuild the whole application.

Mac / Linux

  1. To run without end-to-end checks run: run_locally.sh
  2. To run with end-to-end checks run: run_locally.sh -e true

Windows

  1. To run without end-to-end checks run: run_locally.cmd
  2. To run with end-to-end checks run: run_locally.cmd true

Login

The user login details are:

  • Username: admin
  • Password: password

Development

API details

The details on running checks, building APIs and additional details on documentation for development can be found in READMEs inside each of the API folders.

Setting up your own CI/CD for this project

The build process for this project is managed by CircleCI which is all managed by the config.yml file in the .circleci folder. To get setup you will need to:

Running CI tests

Follow these steps to get a CI setup running the tests

  1. Fork this repository so that you have your own copy
  2. If you haven't already, create a CircleCI login using your GitHub details. This will connect CircleCI to your GitHub profile.
  3. Head to the Projects page in CircleCI, locate the RBP repository and click setup project.
  4. Go through the steps to for setting up the project, ensuring that it loads in the config.yml from the project (Click use existing config)

If you would like to setup CircleCI to run a full deployment, please drop an issue into the repository.

More Repositories

1

restful-booker

A free to use Web API for practising API testing on
JavaScript
144
star
2

api-framework

A group of templated API test frameworks based upon this series: http://www.mwtestconsultancy.co.uk/category/api-web-service-testing/
Java
134
star
3

wiremock-chrome-extension

A simple chrome extension for Wiremock
JavaScript
21
star
4

selenium-to-restassured

Easily share Selenium WebDriver cookies with Rest Assured back and forth with this Java library
Java
20
star
5

api-strategy-book-resources

This repository provides supporting examples for the book API Testing strategies
Java
17
star
6

llm-prompts-for-testing

A collection of LLM prompts to be used to help testing activities
11
star
7

generative-ai-and-testing

Repository containing additional material for the book AI Assisted Testing In Action
Java
8
star
8

api-webdriver-harmony

Supporting code for REST APIs and WebDriver: In Perfect Harmony by Mark Winteringham
Java
7
star
9

approval-testing-koans

Exercises to practise approval testing techniques
Java
4
star
10

rest-assured-example

A companion repository to the Rest-Assured course on http://automationintesting.com/restassured/course/
Java
4
star
11

state-talk

Repository of example code for my managing state talk
Java
3
star
12

approval-testing-app

Simple API for practising approval testing against
Java
2
star
13

k-cards-online

An online version of the facilitation tool K-Cards
Java
1
star
14

pairing-exercise-shicky

JavaScript
1
star
15

monitor-tutorial

Runable app for monitoring tutorial
JavaScript
1
star
16

WebDriverBeyondChecks

The source code for our tutorial.
Java
1
star
17

simple-api-monitor

Code to build an incredibly basic API monitor for Testers
JavaScript
1
star