Skip to content

marcusblackhall/karate-rest-api-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Karate rest api testing demo

Overview

With karate there is no need to use code your own calls to the rest url as you can use a syntax in the feature file to execute and assert the results of the rest request.

The feature files follow the common Gherkin syntax.

Example

See feature file users.feature

Running a feature file

See UsersTest class. This is a Karate Junit 5 test class.

To run the test using maven ...

mvn test

About

Uses the karate framework to test a rest api (created with springboot)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published