- Notifications
You must be signed in to change notification settings - Fork35
Testing tool for HTTP-based-API clients
License
robohydra/robohydra
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
RoboHydra is a testing tool for HTTP-based clients (ie. software thatmakes HTTP requests). The idea is, instead of connecting yourclients-under-test to the real server, you connect them to RoboHydraand make RoboHydra respond with whatever you need for each request.You can test many different kinds of clients, like Javascript-heavyweb application front-ends, desktop GUI applications that connect toHTTP-based APIs (eg. the Flickr API), mobile applications that contacta server to login, etc. It helps answer questions like "how would theclient behave when it receives a certain response from the server?","does the client send the correct request to the server when certainaction is performed?", "what would happen if this request takes morethan normal to process", or "what would happen if this request getsits response before this other request?". See examples ofuse-cases on the website.
A RoboHydra is composed of "heads", pieces of code that listen in agiven path and trigger a certain behaviour when a request for thatpath is received. The behaviour can be: checking the incoming request,returning a static response, serving a file from the file system,proxy the request to another server, store certain data and return acanned response, etc. All these different behaviours can be combinedin powerful ways to achieve the results you need.
RoboHydra is written in Javascript, runs under Node and is distributedunder the Apache 2.0 license. See LICENSE for the full text.
Copyright 2012-2015 Esteban Manchado Velázquez
Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
About
Testing tool for HTTP-based-API clients
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors9
Uh oh!
There was an error while loading.Please reload this page.