All Projects → rest-driver → Rest Driver

rest-driver / Rest Driver

Licence: other
Test Driver to test your RESTful services and clients

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rest Driver

Titiler
A dynamic Web Map tile server
Stars: ✭ 153 (-6.13%)
Mutual labels:  rest
Brick
An intuitive way to work with persistent data in Dart
Stars: ✭ 159 (-2.45%)
Mutual labels:  rest
Pysnow
Python library for the ServiceNow REST API
Stars: ✭ 162 (-0.61%)
Mutual labels:  rest
Hikaku
A library that tests if the implementation of a REST-API meets its specification.
Stars: ✭ 154 (-5.52%)
Mutual labels:  rest
Restcountries
Get information about countries via a RESTful API
Stars: ✭ 2,054 (+1160.12%)
Mutual labels:  rest
Webtau
Webtau (short for web test automation) is a testing API, command line tool and a framework to write unit, integration and end-to-end tests. Test across REST-API, Graph QL, Browser, Database, CLI and Business Logic with consistent set of matchers and concepts. REPL mode speeds-up tests development. Rich reporting cuts down investigation time.
Stars: ✭ 156 (-4.29%)
Mutual labels:  rest
Appkernel
API development made easy: a smart Python 3 API framework
Stars: ✭ 152 (-6.75%)
Mutual labels:  rest
Examples
Examples of Mock Service Worker usage with various frameworks and libraries.
Stars: ✭ 163 (+0%)
Mutual labels:  rest
Kotlin Openapi Spring Functional Template
🍃 Kotlin Spring 5 Webflux functional application with api request validation and interactive api doc
Stars: ✭ 159 (-2.45%)
Mutual labels:  rest
Goat
[DEPRECATED] 🐐 A minimalistic JSON API server in Go
Stars: ✭ 161 (-1.23%)
Mutual labels:  rest
Middleware Acl
middleware-acl Access Control Library RBAC casbin
Stars: ✭ 155 (-4.91%)
Mutual labels:  rest
Validator Badge
Validate your Swagger JSON/YAML today!
Stars: ✭ 158 (-3.07%)
Mutual labels:  rest
Restrequest4delphi
API to consume REST services written in any programming language with support to Lazarus and Delphi
Stars: ✭ 162 (-0.61%)
Mutual labels:  rest
Cete
Cete is a distributed key value store server written in Go built on top of BadgerDB.
Stars: ✭ 153 (-6.13%)
Mutual labels:  rest
Jda
Java wrapper for the popular chat & VOIP service: Discord https://discord.com
Stars: ✭ 2,598 (+1493.87%)
Mutual labels:  rest
Angular2 Crud Rest
Sample Angular (2.x and 4.x) app: CRUD example + routing
Stars: ✭ 152 (-6.75%)
Mutual labels:  rest
Vue Chimera
VueJS reactive RESTful API
Stars: ✭ 160 (-1.84%)
Mutual labels:  rest
Mono
Minimalist Framework on top of Express.js
Stars: ✭ 163 (+0%)
Mutual labels:  rest
Fastapi Crudrouter
A dynamic FastAPI router that automatically creates CRUD routes for your models
Stars: ✭ 159 (-2.45%)
Mutual labels:  rest
Flama
🔥 Fire up your API with this flamethrower
Stars: ✭ 161 (-1.23%)
Mutual labels:  rest

REST-driver

Build Status Maven Central

Test Driver to test your RESTful services and clients.

There are two libraries here:

  • REST server driver - for testing your RESTful service
  • REST client driver - for testing your RESTful client & mocking remote services

Please note: version 2.0.0 onwards will require Java 8.

Downloads - Server Driver - Client Driver

Goals

Everyone knows that testing is good for your health and REST is good for your sanity. Now it is easy to keep both in check by allowing you to write quick, readable, fluid tests which are easy to refactor and give excellent error handling/reporting. So we provide these libraries to test from both ends of the pipe.

REST server driver

In order to do thorough testing of your RESTful service, you'll have to make actual HTTP requests and check the actual HTTP responses from your service. REST driver makes this as easy as:

Response response = get( "http://www.example.com" );

assertThat(response, hasStatusCode(200));
assertThat(response.asJson(), hasJsonPath("$.name", equalTo("jeff")));

More info: Server Driver

REST client driver

If you have a client for a RESTful service, it's not ideal to have an actual service running somewhere to test against. This is difficult to keep on top of, makes for brittle/flickering tests, and tightly couples your tests to someone else's code.

We provide a mock-like interface which launches a real HTTP server and allows setup like this:

clientDriver.addExpectation(onRequestTo("/").withMethod(Method.GET), 
                            giveResponse("some wonderful content", "text/plain"));

The server will listen for a requests and respond with the replies you set. Any unexpected action or unmet expectation will fail your tests.

You can also use the client-driver to mock out any remote services which your RESTful service uses.

More info: Client Driver

Other languages

  • rest-cljer, a convenient Clojure wrapper for REST client driver.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].