
This lecture contains "pom.xml" file which contains latest dependencies. Once the maven project is created, use the content from this xml file.
Call a rest API using the get method with Rest Assured, validate status code, and configure accept and content-type headers to verify fields like first name and last name.
Learn to extract header data and cookies from a REST response using Rest Assured, with Postman examples and reading header fields and cookie values from the response object.
Extract values from json responses to validate end-to-end tests, such as creating a product and using its id for a call, pretty print and loop through books to read authors.
Learn how to extract values from an XML response using Rest Assured, including author, title, and id attributes within a catalog of books.
Install the eclipse plugin for TestNG and add the Maven dependency for TestNG, verify the plugin is installed, and prepare to write the first test case in Eclipse.
Learn how to use a data provider to call rest APIs for multiple countries with one generic test method, feeding two country datasets and invoking twice.
By end of this course you will be familiar in testing REST APIs using Rest Assured scripts.The course has been prepared in such a way that you can learn this course starting from basics to advanced topics in a progressive way. Course has assignments/quizzes for you to practice and strengthen your knowledge.
By end of this course you will be familiar in:
Different method types used by Rest APIs - GET, POST, PUT and DELETE.
Write assertions for the REST API responses.
Specifications
- Understand RequestSpecification and re-use them for multiple requests
- Understand ResponseSpecification to simplify and re-use response assertions
Authorization
- Call Protected Rest APIs with Basic Authentication
- Generate OAuth2 Token using Java program
- Call APIs with OAuth2 tokens
Framework Integration
- Write test cases using JUnit and TestNG Frameworks
- Log messages using Log4J Framework
Data Driven Testing
- Learn how to read data from CSV files
- Learn how to read data from Excel sheets
- Writing data to excel sheet
- Implement Data Driven Framework with complete end-to-end scenarios.
Course Highlights:
"We respect your time"- all the videos are short and straight to point without wasting your valuable time.
Assignments - Given assignments along with required resources, which will help to do enough practice.
Short and precise videos
Checkpoint questions
Local Rest API :Provided a REST APIs which you can run on your local machine. You no need to depend on internet.
Support:
I offer full support, answering any questions you have.
This means you’ll never find yourself stuck on one lesson with out progress. With my hand-holding guidance, you’ll learn smoothly through this course without any major issues.