Rest-Assured : Rest API Testing using Java + TestNG
RestAssured with BDD Options
Created by Testing World
14 hours on-demand video
3 Articles
Full lifetime access
Access on mobile and TV
Certificate of Completion
Description
REST stands for REpresentational State Transfer. REST is web standards based architecture and uses HTTP Protocol for data communication.
In REST architecture, a REST Server simply provides access to resources and REST client accesses and presents the resources. Here each resource is identified by URIs/ global IDs. REST uses various representations to represent a resource like text, JSON and XML. Now a days JSON is the most popular format being used in web services.
Following well known HTTP methods are commonly used in REST based architecture.
- GET - Provides a read only access to a resource.
- PUT - Used to create a new resource.
- DELETE - Used to remove a resource.
- POST - Used to update a existing resource or create a new resource.
- OPTIONS - Used to get the supported operations on a resource. With the increase popularity of RESTful services, there is a need for fast and lightweight tool for REST webservices testing automation. One of the most popular choice is Rest-Assured framework from Jayway. It introduces simplicity of testing web services from dynamic languages like groovy or ruby to java. In this post we will get our hands dirty and write automatic test in Rest-Assured framework.
Who is the target audience?
- Testers looking to Test REST Api without any automation tool
- Developers looking to consume REST API in Java
Preview This Course - GET COUPON CODE
Post a Comment for "Rest-Assured : Rest API Testing using Java + TestNG"