This API automation script was written with Karate (BDD testing framework which build on top of cucumber. The script written based on Gherkin language (.feature extension). The script (scriptAPI.feature) contain 2 scenario for GET and POST with each assertion. The script has been succesfully running and passed.
Clone project and open it with your IDE (Eclipse)
To run the test:
- Clone this repo and go to directory KarateTestAPI
- Type in cmd "mvn test" and it will run the test
To view the script or API scenario of this task : Go to file scriptAPI.feature under src/test/java