Having examined how a Groovy policy works, how to isolate any issues and so on, it is best to put this into practice by developing a couple of Groovy policies. As Chapter 7, Testing APIs with API Fortress introduced many of the standard API policies we won't go down into every little detail.
In the next couple of sections of this chapter, we will go through the process of building an API with a Groovy policy as shown in the following screenshot:
It is often useful, when developing API policy configurations, to have a stub back end that either simply reflects back to the caller ...