qxf2 / cars-api

A sample REST application to help testers learn to write API automation
MIT License
6 stars 20 forks source link

Drishya get cars by name #25

Open drishyatm opened 1 year ago

drishyatm commented 1 year ago

Get cars by name

Passing cars name as prerequisite script variable Added test to validate that name is present in response or not . How to test:

--Import the ~/cars-api/tests/postman/CarsAPI.postman_collection.json --Run the postman app for Get cars by name request -- Prerequisiste script variable name has to be provided postive - car-name as "Swift" negative - car-name as "Thar" -- Run the test