Sha256: a78f56b5ac59bd0d4c5adb848f2bd6d7de7516869f6c610059733bea944d9be4

Contents?: true

Size: 946 Bytes

Versions: 3

Compression:

Stored size: 946 Bytes

Contents

Feature: As a rest client I need to use URL parameters in order to send those parameters to a restful service.

@parameter
@parameter.S1
Scenario: Send parameter to a service.
  Given I have a web service
  And I have "GET" service for "/test?first=1&second=2&third=3"
  And I am a rest client
  When I "GET" from the web service with the parameters
  	| first  | 1 |
  	| second | 2 |
  	| third  | 3 |
  Then I receive a message with "first=1&second=2&third=3"

@extended @post @authentication @parameter
@parameter.S2
Scenario: Send parameter to a service.
  Given I have a web service
  And I have "GET" service for "/test?first=1&second=2&third=3" for user "test" and password "rest"
  And I am a rest client
  And I have basic auth for user "test" and password "rest"
  When I "GET" from the web service with the parameters
    | first  | 1 |
    | second | 2 |
    | third  | 3 |
  Then I receive a message with "first=1&second=2&third=3"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rest_baby-1.6.0 features/url_parameter.feature
rest_baby-1.5.1 features/url_parameter.feature
rest_baby-1.5 features/url_parameter.feature