REST API Testing with Karate Framework




REST API Testing with Karate Framework

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


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

Url: View Details

What you will 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

Rating: 4.44762

Level: All Levels

Duration: 8.5 hours

Instructor: Rahul Singh Rathore


Courses By:   0-9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

About US

The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of hugecourses.com.


© 2021 hugecourses.com. All rights reserved.
View Sitemap