Bard allows you to assert that the correct headers are present in your API Response.
The response can be checked to ensure the correct error message or error code is returned by the API.
When your API returns an HTTP 400 Bard give you the ability to interrogate the API response in more detail.
Bard provides the ability to assert that the API responses are returned within a specified timeframe. This can be asserted at a test level or globally for an entire Scenario.
The test below show an individual assertion for a specific end point.
The scenario configuration below demonstrates how to set a global benchmark for all API calls so that they do not exceed 2000 milliseconds.