Bugfix
HTTP status codes 2xx announce "success" in principle. Nevertheless, a query that returns e.g. 204 "No content" crashes.
There is no way to explicitly respond to HTTP status codes. You can only either expect a JSON object, or configure a built-in request check.
Enhancement
It is possible to configure a special post-processing for a set of status codes, or the status code ranges 1XX, 2XX ,3XX ,4XX and 5XX. If the response has none of these status codes, the default handler is used:
Test
- Configure an OpenAPI server as a target that returns responses with different status codes.
- Configure different handlers for them.
- Expectation: The handler configured for the status code of the response will be executed.