Skip to content

API tests created using robot framework and RESTinstance library

Notifications You must be signed in to change notification settings

ralucaoanapopa/api-tests-robotframework

Repository files navigation

Setup

  1. Download and install Python 3.x
  • If it is already installed, check in terminal:
python --version
  1. Make sure to have the latest pip version installed
python.exe -m pip install --upgrade pip
  1. Install robot framework
pip install robotframework
  1. Install RESTinstance external library for RESTful JSON APIs
pip install --upgrade RESTinstance

Run tests

robot -A robotargs.txt -i <tag from test(s)> tests

Results

BookCart API

BookCartAPI-test-results

Library API

LibraryAPI-test-results

APIs used

REST

Obtain token (which is available for 1h):

  • register user on web app
  • login with user and check response (it contains the token)

Tools

See latest user guide

See BuiltIn standard library

About

API tests created using robot framework and RESTinstance library

Topics

Resources

Stars

Watchers

Forks