Sha256: 2807f98a971f2290e8338ce92e8442e21559cb6636e6c9e8e04012388da51aad
Contents?: true
Size: 1.66 KB
Versions: 3
Compression:
Stored size: 1.66 KB
Contents
Feature: Create a basic rest client that can get, put, post, and delete @extended @get @headers @wip Scenario: client uses an Accept header for a GET Given I have a web service And I have "GET" service for "/test" with the following headers | Accept | application/json | And I am a rest client When I have the following header | Accept | application/json | And I "GET" from the web service Then I receive the expected message @extended @post @headers @wip Scenario: client uses an Accept and a Content-Type header for a POST Given I have a web service And I have "POST" service for "/test" with the following headers | Content-Type | application/json | | Accept | application/json | And I am a rest client When I have the following header | Content-Type | application/json | | Accept | application/json | And I "POST" to the web service with the following """ {"Question": "What is the meaning of life?"} """ Then I receive the expected message @extended @post @authentication @wip Scenario: client uses basic authentication Given I have a web service And I have "GET" service for "/test" for user "test" and password "rest" And I am a rest client And I have basic auth for user "test" and password "rest" And I "GET" from the web service Then I receive the expected message @extended @post @authentication @wip Scenario: client uses a secure web server Given I have a secure web service And I have "GET" service for "/test" for user "test" and password "rest" And I am a rest client And I have basic auth for user "test" and password "rest" And I "GET" from the web service Then I receive the expected message
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rest_baby-0.5 | features/headers/header_options.feature |
rest_baby-0.4 | features/headers/header_options.feature |
rest_baby-0.3 | features/headers/header_options.feature |