Posts

Automate Testing of Rest Services using Rest Assured

Image
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.

Setup Rest Assured with Eclipse

Image
Rest Assured is a java library for testing of REST services. Rest-Assured is an open-source  Java Domain-Specific Language (DSL) . It omits the requirement of using boiler-plate code to test complex API responses and supports both  XML  and  JSON .   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 bo

Popular posts from this blog

Extracting an XML Response with Rest-Assured