Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

2025 - API testing with RestSharp along with framework Dev

via Udemy

Overview

Learn API testing in .NET world using RestSharp in .NET 7, XUnit, Specflow and GitHub Actions - June 2024 Updated

What you'll learn:
  • Understanding complete basics of API Testing
  • Understand RestSharp from ground up from Basics to Advanced
  • Understand running Restsharp tests with XUnit
  • Understand running Restsharp tests with XUnit and Dependency Injections for running application
  • Integrating RestSharp with Specflow for BDD
  • Parallel Test executing with Specflow
  • Extent Reporting of RestSharp Tests
  • CI/CD of Restsharp tests with GitHub Actions
  • Understand testing GraphQL applications, contract testing and snapshooter for complex JSON responses

This course API testing with RestSharp along with framework developmentis designed in such a way that anyone who has basic knowledge in C# will perform complete API testing along with Business logic without any difficulty.


Languages and Libraries used.

  • Visual Studio 2022/Rider with C# 10 and .NET 7

  • RestSharp

  • XUnit

  • Fluent Assertion

  • Specflow

  • Xunit.DependencyInjection

  • WebApplicationFactory

  • Extent Reports

  • GitHub Actions for CI/CD

  • GraphQL.Client

This course is the only course on the internet that covers so many different real-world scenarios which are not covered elsewhere. With that said, here is a high-level overview of the course topics


  • Complete basics of API testing with RestSharp

    • Full understanding of different libraries in RestSharp

    • Execute with Async and Non-Async methods

  • Advanced operation in APITesting

    • File Upload

    • JWTAuthentication

    • Modifying AUTbased on Testing requirement and vice versa

  • Framework development

    • Simple refactoring of code

    • Understanding Dependency Injection

    • Creating a framework based on Design patterns in C#

    • Building with Builder patterns

    • Writing code with Fluent codes

  • GraphQLTesting

    • Understanding GraphQL and testing them

    • Working with GraphQL.Client

    • Writing DIcode with GraphQL Client

  • Integration Testing of Application with RestSharp

  • Specflow integration for BDD support

  • Contract APItesting

  • Test Reporting with Extent Reporting

  • CI/CD with GitHub Actions to run Application Under Test and RestSharp test together

  • Service virtualization testing with Mountebank

  • Understanding how to perform testing with snapshooter.


With all the above, you will also learn the complete best coding practice done in the industry for performing API testing in .NET and you can right away take the code and implement the same at your work .


Syllabus

  • Introduction to course
  • About Application Under Test (AUT)
  • Basics of API and Testng with RestSharp
  • Advanced API Test operation with RestSharp
  • Refactoring and Framework Development with RestSharp
  • Integration Testing of API with RestSharp and In-Memory Application
  • Specflow Integration with RestSharp
  • Upgraded to .NET 7 and RestSharp v110
  • Working with Complex JSON Response and complex assertions
  • Extent Reporting support
  • CI/CD with GitHub Actions along with Application Under Test
  • Testing GraphQL in C# .NET
  • Contract Testing
  • Microservice testing using Service Virtualization using MounteBank
  • Snapshot Testing with Snapshooter - For Complex Response Object Testing
  • [Crash Course] - XUnit with Selenium, AutoFixture and Fluent Assertions
  • [Crash Course] - Specflow Basics

Taught by

Karthik KK

Reviews

4.2 rating at Udemy based on 706 ratings

Start your review of 2025 - API testing with RestSharp along with framework Dev

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.