stubby
14 sites
Security covered
JSON Stubs for testing API responses.
What is a stub?
In testing land, a stub replaces real behavior with a fixed version. In the case of HTTP requests, instead of making the actual call, a stub fakes the call and provides a canned response that can be used to test against.
Stubby features:
- Creating API routes on the fly
- Custom Response Code/Message responses
- JSON Upload or Paste
- Pluggable Parameters with custom error code and message validation (see below)
- Default "Required" and "Regex" parameteres.
Pluggable Parameters
Currently Stubby comes with a default set of parameters to test against; however, they are just plugins so can be extended to support a wide array of test data when sending a request