Status code
Background:
- Given you expect HTTP status code "
200"
Scenario: Different real response status
- When real status code is "
500" - Then Gavel will set some error for "
status code" - And Request or Response is NOT valid
Scenario: Response status code match
- When real status code is "
200" - Then Gavel will NOT set any errors for "
status code" - And Request or Response is valid
Source: features/expectations/status_code.feature at v1.2.3, Gavel (MIT license).