Awesome
REST testing library for Robot Framework
Introduction
Robot Framework's library to test REST interfaces.
Library is mostly following structure of Requests-library.
- More information about this library can be found in the Keyword Documentation.
- For keyword completion in RIDE you can download this Library Specs and place it in your PYTHONPATH.
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 *** | |
Library | HttpRequestLibrary |
Example
Usage examples can be found at Tests-folder.