Part 21 - Rest Assured - Avoid Duplicate code via RequestSpecification & ResponseSpecification

preview_player
Показать описание
In this video I've shown how to avoid duplicate code in Rest Assured using RequestSpecification and ResponseSpecification.

We can create RequestSpecification Reference using

1. RequestSpecification Interface
2. RequestSpecBuilder Class

We can create ResponseSpecification Reference using ResponseSpecBuilder

All this code is posted at Github

Other Useful Links: -

JSONPath Tutorial

JAVASCRIPT

FRAMEWORK, ASSERTION, REPORT

ELEMENT LOCATOR
jQuery -

CSS SELECTOR
XPath

WEB & API CONCEPTS

Important API Testing Concepts - API TESTING 101

Learn API Testing using Postman
Рекомендации по теме
Комментарии
Автор

Thank You..Very Good Session

what does it mean in expected header ---> ("Access-Control-Allow-Origin", "*")

AyyAppA_
Автор

hi actually i wanted to know the syntax to avoid duplicate code in Rest Assured using ResponseSpecbuilder and ResponseSpecification. so please can you help me with this
for eg im wirting the code syntax let me know the corrections

ResponseSpecBuilder responsebuilder=new
ResponseSpecBuilder();




ResponseSpecification

Please help with the correction in thiss if theree

takshgulati