Dredd Archived HTTP API description-to-implementation tester with hooks and example-based validation.
Overview Dredd is a command-line HTTP API testing tool that checks an implementation against an API description. The original Apiary project is archived; its documented capabilities remain relevant to maintaining or migrating existing API Blueprint and OpenAPI test suites.[2] [3]
Contents Description-to-request workflow Dredd reads an API description, compiles HTTP transactions, sends requests to the target implementation and validates the replies. Hooks run around execution and validation to provide setup, teardown or custom checks. This is an active test of a running service rather than a static document linter, so its usefulness depends on the target environment and the examples supplied in the description.[4]
What the default checks mean For JSON bodies, Dredd checks structure rather than requiring every value to equal the example; plain-text bodies are compared exactly. Its documentation describes schema precedence and additional checks available through hooks. Where a response has no body example or schema, it does not infer body assertions. A passing report must therefore be interpreted in light of what the description actually constrains.[4]
License and maintenance status Apiary's repository is MIT-licensed and was archived on November 8, 2024. This article concerns that original project, not an independently maintained fork carrying the same name. Archived source remains inspectable, but the record should not be read as a promise of ongoing upstream fixes or support for contemporary API-specification features. Existing installations need a deliberate maintenance decision.[1] [3]
Substitution scope Dredd can still serve as a limited substitute for Schemathesis in an existing suite whose goal is example-based OpenAPI 2 response conformance and whose archived dependencies are deliberately retained. It does not establish equivalent fuzzing, adaptive learning or linked-operation exploration. For migration in the other direction, Schemathesis offers current schema-generated tests, but API Blueprint definitions and Dredd-specific hooks must be reworked rather than assumed to transfer.[2] [3] [4] [5]
Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.