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
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