sukanya
7 years agoContributor
Script Assertion
Hi,
We have two REST requests, Request1 and Request2
We need to write script assertion to check the amount value is 100.
We are writing assertion under Request1 and in the response1 we dont have amount value = 100. Now script i need is First I need to check the amount value in Response1 and write a if condition and call the request2 and get the response and match with my expected amount value.
Thanks