Karate Framework - API Automation

Karate DSL API Automation , REST API Testing with Karate Framework,End to End API Automation with Karate Framework.

Ratings: 5.00 / 5.00




Description

Course updated on 14-Feb-2024:

Compare Multiple Emails from Database


API Automation Made Simple using Karate framework


Karate Framework for beginners


API Automation with Karate Framework.


API Automation using Karate Framework


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.

  • Karate configuration

  • Overview on API with examples

  • Overview on JSON with examples

  • Live example of API calls

  • Karate Framework

  • GET/POST Request

  • Data-Driven with Scenario Outline

  • Creating Parallel runner

  • Assertions

  • Using match

  • JSON Array matching

  • Schema validation

  • Fussy matcher: #string, #number

  • calling another feature

  • Tags and Run with tags

  • karate runner configuration and karate options

  • Report Generation

  • Cucumber Report Generation

  • Karate Report Generation

  • Karate framework HOOKs

  • How to Handle SSL Handshake error

  • How to resolve initialization error in karate framework after configuration

  • Jenkins Integration - Execute karate scripts from Jenkins CI/CD

  • Validate response using match each

  • overview on auth authentication

  • Execute karate scripts from the command line

  • Jenkins Integration - Execute karate scripts from Jenkins CI/CD

  • Reading data from karate config file and using it scenario

  • update runner class with environment specific variables

  • Integration of cucumber reporting

  • Parallel execution

  • overview on karate-config file

  • create karate-config file and add some data into it

  • use variables defined in config file inside the scenario

  • update runner class to recognise karate config file

  • Overview on reports generated by karate framework with example

  • JIRA POST with basic auth and accessing data from csv file

  • JIRA Trail account creation

  • Overview on JIRA user API, capturing JIRA account id , generating access token & converting curl command into a postman

  • Basic Auth on JIRA for retrieving user information using GET

  • Example on POST using JIRA Basic Auth

  • Examples on Scenario Outline- data to post request using scenario outline examples

  • Reading data from csv file and use it in post request


At the end of this training you will be in a position to work on your project using this framework. This course is designed for beginners who wants to start their career in api automation testing

See you in the session, thank you guys



What You Will Learn!

  • API Automation using Karate framework
  • Overview on JSON with examples
  • How to handle GET, PUT, POST, Delete Request
  • Various HTTP status codes

Who Should Attend!

  • API testers, API Automation testers, Manual testers