Status Step
Status is a statement which lets test authors assert that a request returns a specific HTTP status code code in its response.
Syntax
- Status steps are valid where response is the context.
Usage
Check the result of a request
The example below combines Expect Status
statement with Hydra
subgrammar.
With Operation <http://example.com/vocab#CreateIssueOperation> {
Invoke {
Expect Status 201
}
}