Karate Configuration : Working with Karate Config.js || Karate API Testing Tutorial

preview_player
Показать описание

✅ What is Karate Configuration?
This function is expected to return the JSON object, and that all keys and values for that JSON object will be available as script variables. Below function calls a feature file Authenticate

In this video, We are going to learn How to Test GraphQL Query using Karate API, This is part of Karate API Testing tutorial series.

✅ What is Karate API?
Karate is an open-source API test automation tool. API tests are written using Behavior Driven Development (BDD) Gherkin syntax

✅ We will learn difference between Karate vs Rest-assured.

✅ What is Karate Framework?
In this Karate Framework Tutorial, We are going to create the Own Karate API Testing Automation Framework, We will use the Person APIs(with JSON Server).

After that We will automate APIs of GitHub Repo V3.

There are multiple Karate API testing examples we are going to show you in this series.

✅ Why we Need Karate API Testing?
- Open source
- API Testing, Mocking,
- Performance Testing,
- UI Automation, Reporting
- Parallel Execution
- BDD Style, Native JSON/XML support.
- Readable syntax.
- Mix API and UI test-automation
Рекомендации по теме
Комментарии
Автор

why the function fn() said unused function ? i set up exactly like you show in the video but showing unused fn function, unsolved variable var, unsolved variable karate...ect error ?

bireylenbirsi
Автор

i am trying to add variable baseurl in config. js and using same in feature step still it didnt recognize it... how to solve issue?

mahesh
Автор

Hi I have a question I have set the environment at terminal but still I am seeing
INFO com.intuit.karate - karate.env system property was: null being mapped
Command : mvn clean test "-Dkarate.options=--tags @Test" -DargLine="-Dkarate.env=uat"
Could you tell me what could be the reason?

Pinguofficial