Specifying the expected response codes
Response Code verification points report an error if the returned response code differs from the expected response code.To specify the expected response code:
- In the Test Navigator, browse to the test, and double-click it.
- Right-click a Receive response action, and click Add > Response Code Verification Point.
- In the Test Element Details area, specify the verification point details:
- Enable this verification point
- Enable the verification point.
- Exact Expected Code code value
- Require that the response matches the code value. If selected, the Low Bound and High Bound fields are disabled. If cleared, the response code must be greater than or equal to the value in Low Bound and less than or equal to the value in High Bound.
- Low Bound
- Type the lowest valid value for the response.
- High Bound
- Type the highest valid value for the response.
Related tasks
Specifying the expected request methods Specifying the expected header contents Specifying the expected message contents