Request Spec and Response Spec

Rahul
1 min readFeb 8, 2020

--

Sometimes you need to pass the same parameters for multiple API request and also similarly you also validate tbe same things for these API responses eg status code = 200 etc

So what we can do is in a TestNG setup method and inside that method specify all request parameters and also response parameters ie the common request and response paramteres for all requests.

--

--

No responses yet