API Testing Using Rest Sharp (with C#) Test Automation Tool

4.1
stars
11 ratings
Offered By
Coursera Project Network
In this Guided Project, you will:

Understanding API and API Testing using Rest Sharp tool

Sending HTTP requests - GET, POST, PUT, and DELETE

Adding assertions to HTTP response

Clock2 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

API stands for Application Programming Interface which helps two independent software to communicate with each other. When an application is built, the functionalities are built first as APIs and then integrated with the frontend layer (UI). Waiting for integration to find bugs in the application will add a lot of costs. The later the bugs are found in the system, the more cost it adds to the application.API Testing helps reduce the cost as it will be performed before integration with frontend (or UI). RestSharp is one of the best test automation tools to test APIs with C# programming language. It's an open-source tool and is very easy to code using Rest Sharp. This project will provide you step by step instructions to write scripts to automate API testing using Rest Sharp, how to automate and test CRUD (Create, Read, Update and Delete) operations with HTTP methods like GET, POST, PUT and DELETE, and adding assertions to the API response.

Skills you will develop

  • Application Programming Interfaces (API)
  • C Sharp (C#) (Programming Language)

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction to API Testing and sending a GET request

  2. Sending a GET request using Rest Sharp

  3. Sending a POST request with request payload as string

  4. Sending a PUT request

  5. Sending a DELETE request

  6. Serializing and De-Serializing JSon Request and Response

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.