REST Assured Java Framework and API tests
Testing and validating REST services with REST Assured
What do I need to run these samples?
A Java 8 or greater (In this case I'm using Java 17) JDK and Maven. That's it.
What API is used for the samples?
The code samples invoke the Zippopotam.us API.
In those cases where the actual API could not be used (it doesn't support HTTP operations other than GET, plus it doesn't have an option to return XML response bodies), calls have been mocked using WireMock.