REST API Testing using C#, RestSharp, Postman and Specflow
(A complete course of API automation, Basics, Postman, Framework, RestSharp, Data-Driven, Refactoring, Reporting, SpecFlow)
This hands-on course is designed to teach software testers, QA engineers, and developers how to effectively perform REST API testing using C#, RestSharp, and SpecFlow. By integrating the power of RestSharp for API interaction with SpecFlow’s BDD (Behavior Driven Development) capabilities, this course provides a comprehensive approach to automate API testing in a maintainable and readable format.
You’ll start by understanding the fundamentals of RESTful web services and HTTP protocols, then move into setting up a .NET test automation framework. Through practical examples and real-world scenarios, you’ll learn how to create and execute API tests, validate responses, implement assertions, handle authentication, and integrate BDD features using Gherkin syntax in SpecFlow.
By the end of the course, you will be able to build robust, readable, and reusable REST API test suites and integrate them into your CI/CD pipelines for efficient automated testing.
About the Instructor:
| With 10 years of extensive industry experience, Ruksana brings a wealth of knowledge and expertise to her training sessions.
As a QA Lead Engineer, she has successfully trained hundreds of QA professionals in Rest API testing using C#, helping them excel as Automation Engineers. Her passion for teaching goes hand-in-hand with her professional expertise. “Teaching is my passion. And it’s my profession. The only business I know is spreading knowledge.” She understands the unique challenges faced by QA professionals and designs her courses strategically to address these challenges. With her guidance, many students have successfully transitioned into cutting-edge automation roles. Her comprehensive and career-focused training programs not only cover the latest tools and techniques but also provide lifelong mentorship. Syeda’s teaching approach ensures her students gain practical skills, confidence, and the ability to lead automation projects with excellence |
Live Sessions Price:
For LIVE sessions – Offer price after discount is 300 USD 259 89 USD Or USD13000 INR 12900 INR 6900 Rupees
OR
Free Demo Session:
18th August @ 9:00 PM – 10:00 PM (IST) (Indian Timings)
18th August @ 11:30 AM – 12:30 PM (EST) (U.S Timings)
18th August @ 4:30 PM – 5:30 PM (BST) (UK Timings)
Class Schedule:
For Participants in India: Monday to Friday @ 9:00 PM – 10:00 PM (IST)
For Participants in the US: Sunday to Thursday @ 111:30 AM – 12:30 PM (EST)
For Participants in the UK: Monday to Friday @ 4:30 PM – 5:30 PM (BST)
What student’s have to say about Trainer :
|
👨 Mayur Raskar 👩 Priya 👩 Aliza 👨 Rahul 👨 Daniel 👩Amina Siddiqui |
What will I learn by the end of this course?
-
Understand REST API concepts, HTTP methods, and real-world API usage.
-
Test APIs manually using Postman and automate them using C#, RestSharp, and SpecFlow.
-
Design a scalable and maintainable API test automation framework in .NET.
-
Implement BDD with Gherkin and SpecFlow for readable, behavior-driven tests.
-
Perform data-driven testing, handle complex payloads, generate test reports, and manage framework updates
Salient Features
- 35 Hours of On-Demand Live Sessions and Recorded Videos: Gain lifetime access to extensive training materials.
- Course Completion Certificate: Receive a certificate upon successful completion of the course.
- Hands-On Projects: Engage in real-world projects and live applications to apply the skills learned, ensuring practical, hands-on experience
Who can enroll for this course?
- Manual testers looking to transition into API automation.
- Automation testers who want to enhance their skills using C# and RestSharp.
- QA engineers interested in BDD and SpecFlow-based testing frameworks.
- Developers who want to integrate API tests into .NET projects or CI/CD pipelines.
- Anyone with basic knowledge of C# and an interest in learning REST API testing.
Course syllabus:
📘 Module 1: REST API Basics and Terminology
-
Introduction to REST API and its usage in project architecture
-
Real-time usage of APIs in the industry with examples
-
Understanding HTTP methods: GET, POST, PUT, DELETE (CRUD operations)
-
Path parameters, Query parameters, and Headers in REST APIs
📘 Module 2: Getting Started with API Testing using Postman
-
Introduction to Postman and Google Maps APIs
-
Executing Add Place API using POST method
-
Testing Get & Delete Place APIs using GET and DELETE methods
-
Updating Place API using PUT method
-
Downloading and using the Google Maps Postman collection
📘 Module 3: Designing the Automation Framework
-
Understanding Data Transfer Objects (DTOs)
-
Creating a new API test project in .NET
-
Separating responsibilities by creating custom libraries
-
Utilizing custom libraries for code reuse
-
Handling and testing POST requests
📘 Module 4: Data-Driven Testing
-
Creating models and CSV files for input data
-
Using MSTest
TestContextfor parameterized testing -
Writing and executing data-driven API tests
📘 Module 5: Code Refactoring
-
Refactoring the custom library for cleaner code
-
Updating the framework to accommodate changes
-
Handling HTTP response codes effectively
-
Managing large JSON payloads in tests
-
Externalizing Base URLs from test logic
-
Automating PUT and DELETE API requests
📘 Module 6: Reporting
-
Creating a custom report utility for test results
-
Integrating the report utility into automated tests
📘 Module 7: BDD with SpecFlow and RestSharp
-
Integrating SpecFlow with RestSharp for BDD
-
Writing test scenarios using Gherkin syntax
-
Implementing step definitions and linking them to API actions
📘 Module 8: RestSharp Version Updates
-
Overview of changes in RestSharp v107+
-
Updating the framework to support the latest RestSharp version
