Chapter 9: Request Specification Builder and Response Specification Builder

preview_player
Показать описание
In this video will see how we can use ResponseSpecBuilder and RequestSpecBuilder to optimize our code and to increase reusability

ResponseSpecification, ResponseSpecBuilder
RequestSpecification, RequestSpecBuilder

# SDET Series 1: All about Rest Assured
1. Covered complete Rest Assured from basic to advanced with examples
2. Ready to use Automation Framework

# SDET Series 2: Important SDET Automation Testing Topics
1. Cucumber Framework with Dependency Injection
2. Cucumber Parallel Running
3. Using feature files from separate projects using dependencies
4. CICD
5. Sonar Qube setup
6. GraphWalker - Automation of Model Based Testing
7. Lombok
8. Reading property via Owner library - very useful

# SDET Series 3: API Automation Testing Advanced Concepts
1. Reading JSON, Serialization, De serialization
2. Reading Dynamic JSON
3. CSV to JSON, GSON, Jackson Libraries
4. XML

#SDET All about YAML

#SDET WinAppDriver
Рекомендации по теме
Комментарии
Автор

Thank you sheetal for the valuable content 🙏

bhaskarsaha
Автор

Any idea how to pass Basic Auth using specbuilder request?
given().auth().basic(apikey, app_Secret).header("Content-Type", "application/json")
Above is the code which is repetative in my every test case so want to build in requestspecbuilder.Appreciate your help.

ashishkumarmishra
Автор

Hi Sheetal, I am getting null pointer exception at "spec(responseSpec)" method.

gazalbhullar
Автор

Thanks you for such a good content, Having one dought How we can use Responsespecification if we are using POJO classes means deserialization to get response.

aryal
Автор

Where can i find this theme on eclipse?

shashank
Автор

I appreciate your effort you making great video its helping us lot because this content are not available any where in internet their are very less tutorial on API testing . if possible please make video on frame work of api testing which is followed in ur company like folder structure etc

investmentgeek
Автор

What is theme you are using in eclipse?

SunnyDsouza
Автор

Awesome videos, i have one question that why i am getting error on " lessThan" method in eclipse where i imported all the packages. and when i move on that its says that create new method which is not expected.
import static

import org.testng.annotations.Test;

import groovy.util.logging.Log;
import
import io.restassured.http.Cookie;
import io.restassured.http.Header;
import io.restassured.http.Headers;
import

import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.Matcher.*;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import

import static
import
import org.hamcrest.xml.HasXPath;


kirangaikwad