Home

Awesome

REST testing library for Robot Framework

Introduction

Robot Framework's library to test REST interfaces.

Library is mostly following structure of Requests-library.

Usage

If you are using the robotframework-maven-plugin you can use this library by adding the following dependency to your pom.xml:

<dependency>
    <groupId>com.github.marketsquare</groupId>
    <artifactId>robotframework-httprequestlibrary</artifactId>
    <version>0.0.19</version>
</dependency>

With Gradle, library can be use by importing it as a dependency in build.gradle:

runtime('com.github.marketsquare:robotframework-httprequestlibrary:0.0.19')

If you are not using any dependency management too, you can use the jar-with-dependencies, which contains all required libraries. Running tests with that is done with command:

java -jar robotframework-httprequestlibrary-0.0.19-jar-with-dependencies.jar <test directory> 

Library import in Robot tests can be done with:

*** Settings ***
LibraryHttpRequestLibrary

Example

Usage examples can be found at Tests-folder.