How to set-up Karate in Windows machine for API testing?

Please follow the below mentioned steps: –

1. Open the below mentioned link: –README file for karate

2. Go to the index section and check the Quickstart link as shown below.

3. Copy the below mentioned code. Windows machine must have java and maven installed. From command prompt go to the project location and paste the command as shown below.

mvn archetype:generate -DarchetypeGroupId=com.intuit.karate -DarchetypeArtifactId=karate-archetype -DarchetypeVersion=1.4.0 -DgroupId=com.mycompany -DartifactId=sampleProjectName

4. After successful completion of the run the build status will be success as shown below: –

5. Now open your project in any IDE. Please click on the below mentioned git link to check the entire project.

Git-Hub link for the project: – Git-HUB-LINK