Forum Discussion
JoostDG
2 years agoFrequent Contributor
Hi apmorales ,
You can define 1 time a Test Case with for instance test steps "Airshop" & "OfferPrice" since I see those you need to run each time. In your actual subsequent tests you can use then "Run Test Case Test Step" to call this test case. You can create test case properties to dynamically provide the properties you need (in case those are different). More info: https://support.smartbear.com/readyapi/docs/functional/steps/run-test-case.html
This also is more easy to maintain. Imagine the request payload for "OfferPrice" suddenly has a new mandatory field you will need to adapt all your test steps in all your test cases. With above approach you'll have it in just one place.