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
Requirements
-
Basic understanding of JAVA language and OOPS concept such as Class, Object, Interface etc.
-
Basic understanding of Eclipse IDE
-
Basic understanding of Post Man Client
-
Basic understanding of Windows OS
-
Basic understanding of Java Script will be an additional advantage
Description
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
Who this course is for:
- This course is designed for both Developers and testers
- Manual/Automation test engineers who want to learn API automation
- Best for developers and testers who are planning to build automation framework
- Test Engineer who wants to implement the Karate framework for API automation
Course content
- Introduction
- Environment Setup
- RestAPI Introduction
- Introduction – Apache Maven
- Behavior-driven development
- Get Request
- Assertions | Matchers | Fuzzy Matchers
- Variables | External files
- Post Request
- Schema Validation | Embedded Expression
- Multipart/form-data
- Data Driven Request
- PUT Request
- Call Keyword | Accessing & Passing variables
- Parallel Runner
- Request with Query Parameter
- Patch Request
- Delete Request
- Scenario Tagging
- Report Generation
- Authentication
- Token Base Authentication
- Advanced configuration | Karate
- SCM – Git
- CI/CD – Jenkins
Direct Download Available
Download link
