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

Udemy

REST API Testing with Karate Framework

via Udemy

Overview

End to End API Automation with Karate Framework. API Automation Made Simple.

What you'll learn:
  • How to design Automation Framework for API automation
  • Different type of Authentication Mechanism used with API
  • Karate framework and its usage for API Testing
  • Continuous Integration and Continuous Deployment
  • Source Code Management via GitHub

Karate is an open-source general-purpose test-automation framework that can script calls to HTTP end-points and assert that the JSON or XML responses are as expected. Karate is implemented in Java but test-scripts are written in Gherkin since Karate was originally an extension of the Cucumber framework.

Karate is built on top of Cucumber, another BDD testing framework, and shares some of the same concepts. One of these is the use of a Gherkin file, which describes the tested feature. However, unlike Cucumber, tests aren't written in Java and are fully described in the Gherkin file.

From this course, you will learn the following concepts.

Web Service Introduction

  • What is the REST service?

  • What are Requests and Responses?

  • CRUD operations

  • Request and Response format

  • Live example of API calls


Karate Framework

  • GET/POST/PUT/PATCH/DELETE Request

  • Data-Driven with Scenario Outline

  • Dynamic Scenario Outline

  • Creating Parallel runner


Assertions

  • Using match

  • JSON Array matching

  • Schema validation

  • Fussy matcher

  • JSON Path


Tagging

  • Tags and Run with tags

  • How to ignore a scenario

  • Getting a tag and feature file from the system property


Report Generation

  • Cucumber Report Generation

  • Karate Report Generation


Authentication

  • Hard-Coded credentials &Token based

  • Using the Java Script file


CI/CD – Jenkins

  • Jenkins Pipeline Concept

  • Jenkins Multibranch pipeline


Taught by

Rahul Singh Rathore

Reviews

4.6 rating at Udemy based on 680 ratings

Start your review of REST API Testing with Karate Framework

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.