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
https://github.com/qaboxletstest/rest...
Rest API Setup (Sample Rest API developed for practice purpose) - GitHub - https://github.com/qaboxletstest/demo...
Other Useful Links: -
JSONPath Tutorial
• JSONPath Tutorial
JAVASCRIPT
• JavaScript Tutorial for QA and Beginners
FRAMEWORK, ASSERTION, REPORT
• JavaScript Testing Framework Mocha with Ch...
ELEMENT LOCATOR
jQuery -
• jQuery - find UI elements and Events
CSS SELECTOR
• Learn CSS Selectors (in 17 minutes) - CSS ...
XPath
• Master XPath for UI Automation Testing
Nodejs Basics • Nodejs Basics
WEB & API CONCEPTS
Important API Testing Concepts - API TESTING 101
• Important API Testing Concepts - API TESTI...
Learn API Testing using Postman
• Learn API Testing using Postman