Index (p)
»
requirements
»
features
»
print_response
(
no frames
)
Features
Tags
Steps
Step Defs
Class List
Method List
File List
[More Detail]
[Collapse All]
Feature:
Create a basic rest client that can get, put, post, and delete
features/print_response.feature
-
Scenario:
client rest Get
link
features/print_response.feature:5
@extended
@get
@print
@print.S1
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
-
Scenario:
client rest Put
link
features/print_response.feature:17
@put
@extended
@print
@print.S2
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
-
Scenario:
client rest Post
link
features/print_response.feature:32
@post
@extended
@print
@print.S3
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
-
Scenario:
client rest Delete
link
features/print_response.feature:47
@delete
@extended
@print
@print.S4
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