Introduction
Last updated
Last updated
Frisby makes REST API testing easy, fast, and fun. Frisby.js comes loaded with many built-in tools for the most common things you need to test for to ensure your REST API is working as it should, and returning the correct properties, values, and types.
When you need something custom, Frisby.js also provides an easy way to customize and extend assertions to make your job easier, with less repetitive and tedious code.
The most basic check of ensuring a URL returns a specific status code:
A more useful and thorough test might make several assertions on the actual JSON response. Frisby.js makes this easy:
Check out the Getting Started page to setup Frisby.js in your project.
Happy testing!