Index (r)
»
requirements
»
features
»
rest_client
(
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/rest_client.feature
-
Scenario:
client rest GET
link
features/rest_client.feature:5
@core
@get
@rest.S1
Given
I have a web service
And
I have "
GET
" service for "
/test
"
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/rest_client.feature:14
@core
@put
@rest.S2
Given
I have a web service
And
I have "
PUT
" service for "
/test
"
And
I am a rest client
When
I "
PUT
" to the web service with the following
{"Question": "What is the meaning of life?"}
Then
I receive the expected message
-
Scenario:
client rest POST
link
features/rest_client.feature:26
@core
@post
@rest.S3
Given
I have a web service
And
I have "
POST
" service for "
/test
"
And
I am a rest client
When
I "
POST
" to the web service with the following
{"Question": "What is the meaning of life?"}
Then
I receive the expected message
-
Scenario:
client rest DELETE
link
features/rest_client.feature:38
@core
@delete
@rest.S4
Given
I have a web service
And
I have "
DELETE
" service for "
/test
"
And
I am a rest client
When
I "
DELETE
" from the web service
Then
I receive the expected message