yazidisme / karate-api-testing

Template project of Karate for API testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Karate for API Testing

Requirement

  • Java Development Kit
  • Maven

Running Tests

  • Clone the repository from your fork to this directory
  • Open the project using any text editor or Java IDE
  • Run the tests with the script below
$ mvn clean test

Test Report

  • Test report automatically generated on target folder after finished the test execution
  • See test report from target/karate-reports/karate-summary.html for the Karate default report
  • Also, See the test result that used cucumber report from target/cucumber-html-reports/overview-features.html on your browser

Performance Tests

  • Run the user simulation with the script below
$ mvn clean test-compile gatling:test
  • See test report in the target/gatling/usersimulation/, then open index.html file

About

Template project of Karate for API testing

License:MIT License


Languages

Language:Gherkin 77.9%Language:Java 15.8%Language:JavaScript 4.2%Language:Scala 2.2%