Automate Testing of Rest Services using Rest Assured
Rest Assured is a java library for testing of REST services. An official guide of Rest Assured can be found here: Rest Assured Official Guide Introduction: REST Services are used for communication between two platforms which may be are developed using different languages or technologies. The reason behind automation rest services is that it takes less time as well as it helps to find defects earlier as it can be tested before UI is developed. What are Rest API's: REST is the underlying architectural principle of the web. The amazing thing about the web is the fact that clients (browsers) and servers can interact in complex ways without the client knowing anything beforehand about the server and the resources it hosts. The key constraint is that the server and client must both agree on the media used, which in the case of the web is HTML . Rest API's are stateless and cacheless. They don't store information. REST is implemented in XML as well as JSON.