filmov
tv
How to Perform Request & Response Specification in Rest Assured | API Testing Tutorial | Day 16
Показать описание
Hey BugHunters, In this video we are going to discuss Request & Response Specification in Rest Assured and Static import in Java.
This is part of the video serious REST Assured API testing Beginner Tutorial
P.S:
This is Day 16 of the 30 days of API Testing challenge Series. Where will learn the Basics before jumping to API Automation.
✅ Time Jump
✅ What is Static members in Java?
We can use static with a variable, method , inner class and blocks.
They are associated with the class not with the object.
You can use them without instantiating the class.
A static variable of a class is shared by every instance of that class.
✅ What is Specification?
If you are using a multiple tests and want to avoid duplicate request parameters and response, You can use the specification object.
There are two types of specification builder Java classes as mentioned below:
- RequestSpecBuilder
- ResponseSpecBuilder
✅ What is Static members in Java?
We can use static with a variable, method , inner class and blocks.
They are associated with the class not with the object.
You can use them without instantiating the class.
A static variable of a class is shared by every instance of that class.
✅ What is RequestSpecification?
It used when a few common parameters are needed for multiple and/or different tests while creating a request.
✅ What is Response Specification?
This is used to validate a common response or a response needed for multiple tests from the body. We can also merge additional body expectations must all be fulfilled for the test to pass.
✅ What is Rest Assured?
REST Assured is a Java library that provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful APIs. I'll be using real-world code examples you can copy, run, and reuse directly in your own test automation efforts
#restassured #restassuredtutorial #apitesting #api #automationtesting #manualtesting #testautomation #thetestingacademy #scrolltest
🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌
🐦 Learn Jenkins for QA -
📸 Programming Java -
🌍 Test Automation -
💌 API Testing -
🎙 Cypress Tutorial with LIVE Projects -
📝 REST API testing with Python -
PS: Some of the links in this description are affiliate links that I get a kickback from 😜
This is part of the video serious REST Assured API testing Beginner Tutorial
P.S:
This is Day 16 of the 30 days of API Testing challenge Series. Where will learn the Basics before jumping to API Automation.
✅ Time Jump
✅ What is Static members in Java?
We can use static with a variable, method , inner class and blocks.
They are associated with the class not with the object.
You can use them without instantiating the class.
A static variable of a class is shared by every instance of that class.
✅ What is Specification?
If you are using a multiple tests and want to avoid duplicate request parameters and response, You can use the specification object.
There are two types of specification builder Java classes as mentioned below:
- RequestSpecBuilder
- ResponseSpecBuilder
✅ What is Static members in Java?
We can use static with a variable, method , inner class and blocks.
They are associated with the class not with the object.
You can use them without instantiating the class.
A static variable of a class is shared by every instance of that class.
✅ What is RequestSpecification?
It used when a few common parameters are needed for multiple and/or different tests while creating a request.
✅ What is Response Specification?
This is used to validate a common response or a response needed for multiple tests from the body. We can also merge additional body expectations must all be fulfilled for the test to pass.
✅ What is Rest Assured?
REST Assured is a Java library that provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful APIs. I'll be using real-world code examples you can copy, run, and reuse directly in your own test automation efforts
#restassured #restassuredtutorial #apitesting #api #automationtesting #manualtesting #testautomation #thetestingacademy #scrolltest
🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌
🐦 Learn Jenkins for QA -
📸 Programming Java -
🌍 Test Automation -
💌 API Testing -
🎙 Cypress Tutorial with LIVE Projects -
📝 REST API testing with Python -
PS: Some of the links in this description are affiliate links that I get a kickback from 😜
Комментарии