
Set up Visual Studio 2019 Community Edition by downloading the free edition, running the executable, and following prompts for installation and restart.
Set up Visual Studio community edition by using the installer to add tools and features, select .NET, modify the installation, and restart the system to finalize rest api automation readiness.
Learn to set up the http client by installing the rest framework via a NuGet package, explore the package documentation, and use its classes to interact with a REST endpoint.
Capture the response content by using the read as string method of the response content, which returns a task<string>, then print the data.
Learn to sign a POST request with XML data, set the content type, and verify results via a GET endpoint using RestSharp and the HTTP client.
Validate a post request with XML data, fetch the specific record using an ID via a get request, deserialize the response, and assert success in REST API automation.
Use the framework method to disclose response data in the test class for get and post endpoints, converting responses to a list<object> and accessing items by index.
Learn how basic authentication secures endpoints by requiring a username and password, with the client sending credentials and the server granting access to protected resources.
Learn how to encode and decode basic authentication using base64 for the authorization header by combining a username and password, then converting to a base64 string with UTF-8 encoding.
Configure secure get and post endpoints, implement a test method for post, perform a get request, add authorization header, and verify and display data.
**The course has been updated with the latest version of the RestSharp framework**
Currently, the IT industry is moving towards Micro Service based architecture. And it is very important to understand what are RESTful API and Web services. This course is all about that.
The Course is divided into 3 sections
In the 1st section, I will have a detailed discussion about the RESTful API and Webservices
In the 2nd section, I will discuss the HTTP Client library and how to use them for testing RESTful API
In the 3rd section, I will discuss the RestSharp framework and how to use it for API testing
I will also discuss synchronous and asynchronous execution. And how to run the test in parallel
In this course, I will also discuss some real-time APIs of the application. Such a Drop Box and JIRA
While going through this course, I will also develop a framework for testing. The source code of the framework will be provided for download
Unit Testing Framework MSTest
MSTest Framework
HTTP Client for API Testing
GET Request
Assertion and Validation
POST Request
PUT Request
DELETE Request
Authentication
Synchronous and Asynchronous Execution
Synchronous and Asynchronous Execution - Introduction
Synchronous Execution's of Test
Asynchronous Execution of Test
Asynchronous Execution of Test - Failed Scenario
Redefining HelperClass with Async & Await Implementation
Asynchronous Execution with Task Factory
Fetch the returned value from asynchronous task
Parallel execution with RunSettings File
RestSharp Framework
GET Request
Framework Design & Implementation
POST Request
PUT Request
Delete Request
Authentication
Token Based Authentication - DropBox API
Session Based Authentication - JIRA API