API Automation with RestSharp


Details
This workshop will comprise of :
i) How to create a basic API test using POSTMAN.
ii) Automate using Specflow and C#.netcore + RestSharp.
iii) During the course of creating a test create a basic API Test Automation Framework.
iv) Run the above tests as part of the Azure DevOps Pipeline.
Required knowledge
- Basic Programming ( no stress, the workshop will be easy to follow)
- What is Specflow or Cucumber.
- POSTMAN basic usage.
Pre-requisites:
-
Install Visual Studio 2019 Community Edition from the link: https://visualstudio.microsoft.com/downloads/
-
Note: If your system is not able to install Visual Studio 2019, then try to install a lower version of Visual Studio 2017 from the link: https://visualstudio.microsoft.com/vs/older-downloads/
-
Setup Specflow : https://www.testautomationtribe.com/specflow-tutorial-c-project-setup
-
Created a new azure DevOps account: https://azure.microsoft.com/en-us/services/devops/
-
Create a free account on https://rapidapi.com/community/api/open-weather-map.
As we will use one of their APIs to perform test automation.
Note: I will also add some instructions to setup Specflow beforehand.
I am thinking from my past experience that I will start the event 15 mins early and can screen share with folks that have issues with installation.
Before the actual session starts.

API Automation with RestSharp