RestAssured

person in white shirt using computer

How to write automation scripts for POST Method using REST ASSURED

Reading Time: 2 minutes POST Method: POST method is used to send data to a server to create/update a resource. The data sent to the server with this method is stored in the request body of the HTTP request. REST ASSURED: Rest Assured enables you to test REST APIs using java libraries and integrates well with Maven. It has very efficient matching techniques, so asserting your expected results is pretty Continue Reading

Concluding deal with coding company

How to handle Dynamic JSON Payload in RestAssured

Reading Time: 3 minutes Hello Readers! As popularly considered, an API (Application Program Interface) is an engine of the software application. It is crucial to test the APIs as these are expected to work fine and without any deviations. In this blog, we will have an insight into RestAssured and how we can handle dynamic JSON payload with it. What is RestAssured? RestAssured is a testing tool that enables Continue Reading

Rest Assured and Concourse – How to integrate?

Reading Time: 3 minutes In this short blog, we will see how to integrate rest assured with the concourse CI pipeline. As we all know, CI/CD is now a major part of the software industry and we as QA engineers must tussle with CI/CD to have our automated test integrated with the pipeline. This blog is all about that tussle only. So, let’s begin. What is Concourse? Before moving Continue Reading

A peek into REST Assured.

Reading Time: 3 minutes Hi folks, In this blog, we will take a peek into the REST Assured and will try to understand the basic architecture of it. Moreover, we will try to have a brief understanding of writing a basic test script as well. So, let’s get going. What is Rest Assured? It won’t be an overstatement if we say that APIs are playing a very important role Continue Reading

Rest Assured with Apache POI

Reading Time: 3 minutes Hi folks, In this blog, we will try to integrate Apache POI with our Rest Assured Project. Moreover, we will explore how to read data from an external excel file. So, let’s get going. Why should we do it? The main aim to use Apache POI is to enhance our Data-Driven Framework. Data-Driven Framework is an automation testing framework in which input values are read from Continue Reading

Integrating Rest Assured with Jenkins and Allure reports.

Reading Time: 4 minutes Hi folks, In this blog, we will be exploring how to integrate Jenkins with our Rest Assured test project. And as an add on we will try to publish the Allure reports through Allure Jenkins plugin as well. So let’s get started. Why are we doing this? The main aim here is to integrate Rest Assured with CI/CD through Jenkins and to publish the test Continue Reading

BDD framework with Rest -assured + cucumber using scala and sbt

Reading Time: 4 minutes Hi all , here we are going to develop a BDD framework for automating our Rest API’s with the help of rest assured and cucumber using scala and sbt build tool. REST assured DSL already provides a BDD style writing of tests in the Given , When and Then format , but still if you want to know what scenarios are covered , you still Continue Reading

Integrate TestNG and Json-Server with Rest-Assured

Reading Time: 6 minutes Here, we’ll discuss about how can we automate our testing of RESTful webservices using REST ASSURED and Integrate it with one of the trending framework, “TestNG“ Rest-Assured REST Assured is a Java DSL for simplifying testing of REST based services built on top of HTTP Builder. It supports POST, GET, PUT, DELETE, OPTIONS, PATCH and HEAD requests and can be used to validate and verify the response of Continue Reading

Automate your API Test Cases Using REST-ASSURED

Reading Time: 5 minutes Here, we’ll discuss about how can we automate our testing of RESTful webservices using REST ASSURED Never used Rest-Assured before? That’s not a problem because today I’ll explain right from the scratch. As a result, that beginners can also start their journey of testing APIs using Rest-Assured Today we’ll cover following topics: What is Rest Assured? How does it works? How to create or setup Continue Reading

DDT with Excel in Rest Assured

Reading Time: 3 minutes We have already discussed Rest assured in some of our previous blog posts. The scope of this blog will be DDT only. DDT stands for data driven testing. It is a practice of creation of test script where test data is read from data files instead of old school hard coded values each time scripts run. This way, testers can test how the application handles Continue Reading

Test report for Rest Assured

Reading Time: 3 minutes Test report is generally a communication bridge between test manager and stakeholder. The stakeholder can understand the project situation with test report only. One of the use case will be evaluating the quality using test report. It is because you want to make decisions based on those reports for example if there are number of defects remaining the project, we simply not release the project. Continue Reading