a simple wrapper of curl for RESTful API testing
Ruby HTML Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
turbo.gemspec
turbo.png

README.md

turbo

turbo

Turbo is a easy to use tool for make the HTTP based API testing much more easier. It can be used for testing any HTTP based service, like RESTFul API, or old school SOAP web service.

To get started, first install the gem turbogenerator

gem install turbogenerator

Have turbo installed, you can generate a workflow like this:

turbo generate myapi

then

turbo start myapi
$ turbo start myrca
Scenario: posts, test cases: 2

Case: ['list posts'] passed
GET http://localhost:8080//api/feeds

Case: ['create posts'] failed
Expected: 200 OK
Got: HTTP/1.1 405 Method Not Allowed
Server: Apache-Coyote/1.1
Allow: GET, HEAD
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 10 Jul 2015 13:13:16 GMT


POST http://localhost:8080//api/fav-feeds