
Install Eclipse by downloading the proper Eclipse package for Java developers, selecting the right version for your operating system, and setting the workspace location for Java programs.
This lecture contains "pom.xml" file which contains latest dependencies. Once the maven project is created, use the content from this xml file.
Explore how rest APIs, as representational state transfer, enable consuming applications to exchange data via guidelines and a gateway between services, databases, and third‑party sources.
Learn how XML and JSON formats convey meaningful data in REST APIs, with tags and attributes providing meaning, and how testers extract values and write assertions from these responses.
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 the most common http status codes in rest api testing, including 200, 201, 400, 401, 404, 415, and 500, and how post requests create resources and handle content types.
Learn to extract header and cookie data from responses. Retrieve body data and process responses using a json path and groovy to extract complex data structures.
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.
Master complex xml handling in rest api testing by using gpath and xmlpath to extract customer data, filter by state la, and print first and last names from xml responses.
learn to test rest api endpoints with basic authentication using rest assured, including pre emptive credentials and positive and negative test scenarios.
Learn to call a REST API with an authorization token in the header, using basic authentication where the header carries an encrypted username and password.
Demonstrate using request specifications as reusable templates in Rest Assured, applying basic authentication, and encapsulating them in a utility class to streamline multiple employee API tests.
Create a reusable response specification template in Rest Assured to validate status code 200 and json content type. Streamline tests with the response specification template to reduce boilerplate.
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.
Write your first TestNG case by creating a calculator test class with add, multiply, and subtract methods, annotated with @Test, and validate results with assertions using Maven.
Learn how to call Rest APIs from TestNG test cases using Maven, decorate methods with @Test, and validate responses for country codes like India and US, enabling end-to-end API testing.
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.