Sha256: 45b0d566c299df4f651715e37da5ce4a34d2e18770711d14c1dcb1a0b94132d7

Contents?: true

Size: 1.37 KB

Versions: 7

Compression:

Stored size: 1.37 KB

Contents

Feature: Create a basic rest client that can get, put, post, and delete

@extended @get @print
@print.S1
Scenario: client rest Get
  Given I have a web service
  And I have "GET" service for "/test" as follows
    """
    {"Answer": "What did you expect?"}
    """
  And I am a rest client
  When I "GET" from the web service
  Then I receive the expected message

@put @extended @print
@print.S2
Scenario: client rest Put
  Given I have a web service
  And I have "PUT" service for "/test" as follows
    """
    {"Answer": "What did you expect?"}
    """
  And I am a rest client
  When I "PUT" to the web service with the following
    """
    {"Answer": "What did you expect?"}
    """
  Then I receive the expected message

@post @extended @print
@print.S3
Scenario: client rest Post
  Given I have a web service
  And I have "POST" service for "/test" as follows
    """
    {"Answer": "What did you expect?"}
    """
  And I am a rest client
  When I "POST" to the web service with the following
    """
    {"Answer": "What did you expect?"}
    """
  Then I receive the expected message

@delete @extended @print
@print.S4
Scenario: client rest Delete
  Given I have a web service
  And I have "DELETE" service for "/test" as follows
    """
    {"Answer": "What did you expect?"}
    """
  And I am a rest client
  When I "DELETE" from the web service
  Then I receive the expected message

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rest_baby-1.6.0 features/print_response.feature
rest_baby-1.5.1 features/print_response.feature
rest_baby-1.5 features/print_response.feature
rest_baby-1.4 features/print_response.feature
rest_baby-1.3 features/print_response.feature
rest_baby-0.8 features/print_response.feature
rest_baby-0.6 features/print_response.feature